Show / Hide Table of Contents

# Class SyncableField

##### Inheritance

object
InternalBaseClass
SyncableField
SyncArray<T>
SyncDict<TKey, TValue>
SyncFixedArray<T>
SyncHashSet<T>
SyncList<T>
SyncNetSerializable<T>
SyncSpanSerializable<T>
SyncSquare<T>
SyncStateMachine<T>
SyncString
SyncTimer

##### Inherited Members

InternalBaseClass.ExecuteRPC(in RemoteCall)
InternalBaseClass.ExecuteRPC<T>(in RemoteCall<T>, T)
InternalBaseClass.ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
InternalBaseClass.ExecuteRPC<T>(in RemoteCallSerializable<T>, T)
InternalBaseClass.OnSyncRequested()

###### Namespace: LiteEntitySystem

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public abstract class SyncableField : InternalBaseClass

### Properties

#### IsClient

Is syncableField on client

##### Declaration

    protected bool IsClient { get; }

##### Property Value

Type | Description
--- | ---
bool |

#### IsServer

Is syncableField on server

##### Declaration

    protected bool IsServer { get; }

##### Property Value

Type | Description
--- | ---
bool |

### Methods

#### AfterReadRPC()

##### Declaration

    protected virtual void AfterReadRPC()

#### BeforeReadRPC()

##### Declaration

    protected virtual void BeforeReadRPC()

#### OnRollback()

##### Declaration

    protected virtual void OnRollback()

#### RegisterRPC(ref SyncableRPCRegistrator)

##### Declaration

    protected virtual void RegisterRPC(ref SyncableRPCRegistrator r)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncableRPCRegistrator | r |