Show / Hide Table of Contents

Class SyncSquare<T>

Inheritance
object
InternalBaseClass
SyncableField
SyncSquare<T>
Inherited Members
SyncableField.IsClient
SyncableField.IsServer
SyncableField.IsRollbackSupported
SyncableField.ParentEntity
SyncableField.ParentEntityLogic
SyncableField.BeforeReadRPC()
SyncableField.AfterReadRPC()
SyncableField.OnRollback()
SyncableField.ExecuteRPC(in RemoteCall)
SyncableField.ExecuteRPC<T>(in RemoteCall<T>, T)
SyncableField.ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
SyncableField.ExecuteRPC<T>(in RemoteCallSerializable<T>, T)
Namespace: LiteEntitySystem.Extensions
Assembly: LiteEntitySystem.dll
Syntax
public class SyncSquare<T> : SyncableField where T : unmanaged
Type Parameters
Name Description
T

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
Type Description
T

Length

Declaration
public int Length { get; }
Property Value
Type Description
int

Size

Declaration
public int Size { get; }
Property Value
Type Description
int

Value

Changes to this array will NOT sync, so it should be used as readonly!

Declaration
public T[] Value { get; }
Property Value
Type Description
T[]

Methods

Clear()

Declaration
public void Clear()

OnSyncRequested()

Declaration
protected override void OnSyncRequested()
Overrides
InternalBaseClass.OnSyncRequested()

RegisterRPC(ref SyncableRPCRegistrator)

Declaration
protected override void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters
Type Name Description
SyncableRPCRegistrator r
Overrides
SyncableField.RegisterRPC(ref SyncableRPCRegistrator)

Resize(int)

Declaration
public void Resize(int newSize)
Parameters
Type Name Description
int newSize
In this article
Back to top Generated by DocFX