Class PredictableEntityLogic
- Namespace
- LiteEntitySystem
- Assembly
- LiteEntitySystem.dll
Entity that can be spawned on client prediction
public abstract class PredictableEntityLogic : EntityLogic, IComparable<InternalEntity>
- Inheritance
-
objectPredictableEntityLogic
- Implements
- Inherited Members
Constructors
PredictableEntityLogic(EntityParams)
protected PredictableEntityLogic(EntityParams entityParams)
Parameters
entityParams
EntityParams
Fields
CreatedAtTick
public readonly ushort CreatedAtTick
Field Value
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 RPCRegistrator)
Method for registering RPCs and OnChange notifications
protected override void RegisterRPC(ref RPCRegistrator r)