public static void ChannelInfoRequestR(LoginClient client, ChannelInfo info, long characterId)
{
var packet = new Packet(Op.ChannelInfoRequestR, MabiId.Channel);
packet.PutByte(info != null);
if (info != null)
{
packet.PutString(info.ServerName);
packet.PutString(info.Name);
packet.PutShort(6); // Channel "Id"? (seems to be equal to channel nr)
packet.PutString(info.Host);
packet.PutString(info.Host);
packet.PutShort((short)info.Port);
packet.PutShort((short)(info.Port + 2));
packet.PutInt(1);
packet.PutLong(characterId);
}
client.Send(packet);
}