Beispiel #1
0
 public void SendNetSerializable <T>(EZMultiplayer manager, T packet, DeliveryMethod options) where T : INetSerializable
 {
     _netDataWriter.Reset();
     WriteNetSerializable(_netDataWriter, packet);
     manager.SendToAll(_netDataWriter, options);
 }
Beispiel #2
0
 public void Send <T>(EZMultiplayer manager, T packet, DeliveryMethod options) where T : class, new()
 {
     _netDataWriter.Reset();
     Write(_netDataWriter, packet);
     manager.SendToAll(_netDataWriter, options);
 }