Beispiel #1
0
 private async Task OnPacketReceived(byte[] packet)
 {
     try {
         var networkMessage = _messageSerializer.DeserializeNetworkMessage(packet);
         await _messageManager.OnNetworkMessage(networkMessage);
     } catch { }
 }