Class InConnection
public class InConnection
- Inheritance
-
InConnection
Constructors
InConnection(ISchemaSpecificComponentDeserialize, IComponentInfo, IEntityRegistry, Logger, Stats)
public InConnection(ISchemaSpecificComponentDeserialize cds, IComponentInfo definition, IEntityRegistry entityRegistry, Logger logger, Stats stats)
Parameters
cdsISchemaSpecificComponentDeserializedefinitionIComponentInfoentityRegistryIEntityRegistryloggerLoggerstatsStats
Methods
ProcessIncomingPacket(IInOctetStream, AbsoluteSimulationFrame)
public void ProcessIncomingPacket(IInOctetStream octetStream, AbsoluteSimulationFrame serverSimulationFrame)
Parameters
octetStreamIInOctetStreamserverSimulationFrameAbsoluteSimulationFrame
Events
OnCommand
public event Action<IEntityCommand, MessageTarget, Entity> OnCommand
Event Type
OnEntityUpdate
public event Action<List<EntityUpdate>> OnEntityUpdate
Event Type
OnInput
public event Action<IEntityInput, long, Entity> OnInput
Event Type
OnServerSimulationFrameReceived
public event Action<AbsoluteSimulationFrame> OnServerSimulationFrameReceived