Class SyncNetSerializable<T>
Inheritance
SyncNetSerializable<T>
Assembly: LiteEntitySystem.dll
Syntax
public class SyncNetSerializable<T> : SyncableField 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
Operators
implicit operator T(SyncNetSerializable<T>)
Declaration
public static implicit operator T(SyncNetSerializable<T> field)
Parameters
Returns