Class OutConnection
public class OutConnection
- Inheritance
-
OutConnection
Methods
CanSendUpdates(Entity)
public bool CanSendUpdates(Entity id)
Parameters
idEntity
Returns
ClearAllChangesForEntity(Entity)
public void ClearAllChangesForEntity(Entity id)
Parameters
idEntity
CreateEntity(Entity, ICoherenceComponentData[])
public void CreateEntity(Entity id, ICoherenceComponentData[] data)
Parameters
idEntitydataICoherenceComponentData[]
DestroyEntity(Entity)
public void DestroyEntity(Entity id)
Parameters
idEntity
HoldChangesForEntity(Entity)
When changing state authority, we hold on to the command and cancel all other updates until all existing updates are sent. This prevents losing the complete state of the entity at the time of transfer.
public void HoldChangesForEntity(Entity id)
Parameters
idEntity
IsEntityInAuthTransfer(Entity)
public bool IsEntityInAuthTransfer(Entity id)
Parameters
idEntity
Returns
OnDeliveryInfo(DeliveryInfo)
public void OnDeliveryInfo(DeliveryInfo info)
Parameters
infoDeliveryInfo
PushCommand(IEntityCommand, MessageTarget, Entity, Logger)
public void PushCommand(IEntityCommand message, MessageTarget target, Entity id, Logger logger)
Parameters
messageIEntityCommandtargetMessageTargetidEntityloggerLogger
PushInput(IEntityInput, Logger)
public void PushInput(IEntityInput message, Logger logger)
Parameters
messageIEntityInputloggerLogger
RemoveComponent(Entity, uint[])
public void RemoveComponent(Entity id, uint[] componentTypes)
Parameters
Reset()
public void Reset()
Update(AbsoluteSimulationFrame)
public void Update(AbsoluteSimulationFrame clientSimulationFrame)
Parameters
clientSimulationFrameAbsoluteSimulationFrame
UpdateEntity(Entity, ICoherenceComponentData[])
public void UpdateEntity(Entity id, ICoherenceComponentData[] data)
Parameters
idEntitydataICoherenceComponentData[]