Class SyncFixedArray<T>
- Namespace
- LiteEntitySystem.Extensions
- Assembly
- LiteEntitySystem.dll
public class SyncFixedArray<T> : SyncableField where T : unmanaged, IEquatable<T>
Type Parameters
T
- Inheritance
-
objectSyncFixedArray<T>
- Inherited Members
Constructors
SyncFixedArray(int)
public SyncFixedArray(int size)
Parameters
size
int
Fields
Length
public readonly int Length
Field Value
Properties
this[int]
public T this[int index] { get; set; }
Parameters
index
int
Property Value
- T
Methods
OnSyncRequested()
Method for executing RPCs containing initial sync data that need to be sent after entity creation to existing players or when new player connected
protected override void OnSyncRequested()
RegisterRPC(ref SyncableRPCRegistrator)
protected override void RegisterRPC(ref SyncableRPCRegistrator r)