private void RegisterListener <T>() where T : INetworkMessage
 {
     _networkManager.AddMessageHandler <T>((p, h, m) =>
     {
         lock (MESSAGE_LOCK)
         {
             _incomingMessages.Enqueue((INetworkMessage)m);
         }
     });
 }