Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
// Send net attack message immediatly. public void SendAttackPacket(Player player) { // Create packet var attackPacket = Packets.CreateAttackPacket(player); // Write packet var outMsg = _client.CreateMessage(); Packets.WritePacket(ref outMsg, attackPacket); // Send packet SendPacket(outMsg, _client.ServerConnection, NetDeliveryMethod.ReliableUnordered); }