-
Notifications
You must be signed in to change notification settings - Fork 42
GATEWAY_SHARD_LIST
DummkopfOfHachtenduden edited this page Aug 21, 2016
·
9 revisions
CLIENT_GATEWAY_SHARD_LIST_REQUEST = 0x6101
//Encrypted
//Empty
SERVER_GATEWAY_SHARD_LIST_RESPONSE = 0xA101
//Farm
while(true)
{
1 bool hasEntries
if(!hasEntries)
break;
1 byte farm.ID
2 ushort farm.Name.Length
* string farm.Name
}
//Shards
while(true)
{
1 bool hasEntries
if(!hasEntries)
break;
2 ushort shard.ID
2 ushort shard.Name.Length
* string shard.Name
2 ushort shard.OnlineCount
2 ushort shard.Capacity
1 bool shard.IsOperating
1 byte shard.FarmID
}
CLIENT_GATEWAY_SHARD_LIST_PING_REQUEST = 0x6106
//Encrypted
//Empty
CLIENT_GATEWAY_SHARD_LIST_PING_RESPONSE = 0xA106
1 byte result
if(result == 0x01)
{
1 byte Farm.ID
4 uint IPAddress //IPv4
}
else
{
1 byte errorCode
}