Пример #1
0
 private void SendReplicableReady(IPacketData data)
 {
     TransportLayer.SendMessage(MyMessageId.REPLICATION_READY, data, true, new EndpointId(Sync.ServerId), this.m_clientState.EndpointId.Index);
 }
Пример #2
0
 private void SendEvent(IPacketData data, bool reliable)
 {
     TransportLayer.SendMessage(MyMessageId.RPC, data, reliable, new EndpointId(Sync.ServerId), this.m_clientState.EndpointId.Index);
 }
Пример #3
0
 private void SendClientUpdate(IPacketData data)
 {
     TransportLayer.SendMessage(MyMessageId.CLIENT_UPDATE, data, false, new EndpointId(Sync.ServerId), this.m_clientState.EndpointId.Index);
 }
Пример #4
0
 private void SendConnectRequest(IPacketData data)
 {
     TransportLayer.SendMessage(MyMessageId.CLIENT_CONNNECTED, data, true, new EndpointId(Sync.ServerId), this.m_clientState.EndpointId.Index);
 }
Пример #5
0
 private void SendClientAcks(IPacketData data)
 {
     TransportLayer.SendMessage(MyMessageId.CLIENT_ACKS, data, true, new EndpointId(Sync.ServerId), this.m_clientState.EndpointId.Index);
 }