Class SyncableField
Inheritance
object
SyncableField
Assembly: LiteEntitySystem.dll
Syntax
public abstract class SyncableField : InternalBaseClass
Properties
IsClient
Is syncableField on client
Declaration
protected bool IsClient { get; }
Property Value
IsRollbackSupported
Is supported rollback by this syncable field
Declaration
public virtual bool IsRollbackSupported { get; }
Property Value
IsServer
Is syncableField on server
Declaration
protected bool IsServer { get; }
Property Value
Methods
AfterReadRPC()
Declaration
protected virtual void AfterReadRPC()
BeforeReadRPC()
Declaration
protected virtual void BeforeReadRPC()
ExecuteRPC(in RemoteCall)
Declaration
protected void ExecuteRPC(in RemoteCall rpc)
Parameters
ExecuteRPC<T>(in RemoteCallSerializable<T>, T)
Declaration
protected void ExecuteRPC<T>(in RemoteCallSerializable<T> rpc, T value) where T : struct, ISpanSerializable
Parameters
Type Parameters
ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
Declaration
protected void ExecuteRPC<T>(in RemoteCallSpan<T> rpc, ReadOnlySpan<T> value) where T : unmanaged
Parameters
Type Parameters
ExecuteRPC<T>(in RemoteCall<T>, T)
Declaration
protected void ExecuteRPC<T>(in RemoteCall<T> rpc, T value) where T : unmanaged
Parameters
Type Parameters
OnRollback()
Declaration
protected virtual void OnRollback()
RegisterRPC(ref SyncableRPCRegistrator)
Declaration
protected virtual void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters