Beispiel #1
0
 public void SendPacket <T>(T packet) where T : class, new()
 {
     PlayerManager.SendPacketToAllPlayers(packet);
 }
Beispiel #2
0
 public void SendPacket <T>(T packet, DeliveryMethod deliveryMethod = DeliveryMethod.ReliableOrdered) where T : class, new()
 {
     PlayerManager.SendPacketToAllPlayers(packet, deliveryMethod);
 }