public void SendPacket(Packet packet) { SendData(packet.Serialize()); if (PacketSent != null) { PacketSent(packet); } }
public void SendPacket(Packet packet) { SendData(packet.Serialize()); if (PacketSent != null) PacketSent(packet); }