Class OutConnection
public class OutConnection
- Inheritance
-
OutConnection
Methods
CanSendUpdates(Entity)
public bool CanSendUpdates(Entity id)
Parameters
id
Entity
Returns
ClearAllChangesForEntity(Entity)
public void ClearAllChangesForEntity(Entity id)
Parameters
id
Entity
CreateEntity(Entity, ICoherenceComponentData[])
public void CreateEntity(Entity id, ICoherenceComponentData[] data)
Parameters
id
Entitydata
ICoherenceComponentData[]
DestroyEntity(Entity)
public void DestroyEntity(Entity id)
Parameters
id
Entity
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
id
Entity
IsEntityInAuthTransfer(Entity)
public bool IsEntityInAuthTransfer(Entity id)
Parameters
id
Entity
Returns
OnDeliveryInfo(DeliveryInfo)
public void OnDeliveryInfo(DeliveryInfo info)
Parameters
info
DeliveryInfo
PushCommand(IEntityCommand, MessageTarget, Entity, Logger)
public void PushCommand(IEntityCommand message, MessageTarget target, Entity id, Logger logger)
Parameters
message
IEntityCommandtarget
MessageTargetid
Entitylogger
Logger
PushInput(IEntityInput, Logger)
public void PushInput(IEntityInput message, Logger logger)
Parameters
message
IEntityInputlogger
Logger
RemoveComponent(Entity, uint[])
public void RemoveComponent(Entity id, uint[] componentTypes)
Parameters
Reset()
public void Reset()
Update(AbsoluteSimulationFrame)
public void Update(AbsoluteSimulationFrame clientSimulationFrame)
Parameters
clientSimulationFrame
AbsoluteSimulationFrame
UpdateEntity(Entity, ICoherenceComponentData[])
public void UpdateEntity(Entity id, ICoherenceComponentData[] data)
Parameters
id
Entitydata
ICoherenceComponentData[]