Class SyncNetSerializable<T>
Inheritance
SyncNetSerializable<T>
Assembly: LiteEntitySystem.dll
Syntax
public class SyncNetSerializable<T> : SyncableField, ISyncFieldChanged where T : INetSerializable
Type Parameters
Constructors
SyncNetSerializable(Func<T>)
Declaration
public SyncNetSerializable(Func<T> constructor)
Parameters
Type |
Name |
Description |
Func<T> |
constructor |
|
Properties
Value
Declaration
public T Value { get; set; }
Property Value
Methods
OnSyncRequested()
Declaration
protected override void OnSyncRequested()
Overrides
RegisterRPC(ref SyncableRPCRegistrator)
Declaration
protected override void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters
Overrides
Events
ValueChanged
Declaration
public event Action ValueChanged
Event Type
Operators
implicit operator T(SyncNetSerializable<T>)
Declaration
public static implicit operator T(SyncNetSerializable<T> field)
Parameters
Returns
Implements