Class SyncSquare<T>
Inheritance
SyncSquare<T>
Assembly: LiteEntitySystem.dll
Syntax
public class SyncSquare<T> : SyncableField where T : unmanaged
Type Parameters
Constructors
SyncSquare(int)
Declaration
public SyncSquare(int size)
Parameters
| Type |
Name |
Description |
| int |
size |
|
Properties
this[int, int]
Declaration
public T this[int i, int j] { get; set; }
Parameters
| Type |
Name |
Description |
| int |
i |
|
| int |
j |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
Size
Declaration
Property Value
Value
Changes to this array will NOT sync,
so it should be used as readonly!
Declaration
public T[] Value { get; }
Property Value
Methods
Clear()
Declaration
OnSyncRequested()
Declaration
protected override void OnSyncRequested()
Overrides
RegisterRPC(ref SyncableRPCRegistrator)
Declaration
protected override void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters
Overrides
Resize(int)
Declaration
public void Resize(int newSize)
Parameters
| Type |
Name |
Description |
| int |
newSize |
|