Exemplo n.º 1
0
 public WebSocketService(PlayerManager playerManager, NetPacketProcessor packetProcessor)
 {
     this.playerManager   = playerManager;
     this.packetProcessor = packetProcessor;
 }
Exemplo n.º 2
0
 public void SendPacket <T>(T packet) where T : class, new()
 {
     PlayerManager.SendPacketToAllPlayers(packet);
 }