using ODMO.Commons.Writers; namespace ODMO.Commons.Packets.CharacterServer { public class ConnectGameServerInfoPacket : PacketWriter { private const int PacketNumber = 1308; /// /// Send game server connection information. /// public ConnectGameServerInfoPacket(string ipAddress, string port, short mapId) { Type(PacketNumber); WriteString(ipAddress); WriteInt(int.Parse(port)); WriteInt(mapId); } } }