Пример #1
0
 private void ReceiveMessageHandler(byte[] data, PerChannelID id)
 {
     Logger.Log("Received packet!");
     PacketSubscribers?.Invoke(_serializer.DeserializeObject(data), GetConnection(id, false));
 }
Пример #2
0
 private void ReceiveMessageHandler(byte[] data)
 {
     Logger.Log("Received packet!");
     PacketSubscribers?.Invoke(_serializer.DeserializeObject(data));
 }