mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11052] Some comments for some unused CMD_REALM_LIST values...
This commit is contained in:
parent
2223393527
commit
241712305d
2 changed files with 5 additions and 6 deletions
|
|
@ -888,7 +888,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
|
|||
case 5875: // 1.12.1
|
||||
case 6005: // 1.12.2
|
||||
{
|
||||
pkt << uint32(0);
|
||||
pkt << uint32(0); // unused value
|
||||
pkt << uint8(sRealmList.size());
|
||||
|
||||
for(RealmList::RealmMap::const_iterator i = sRealmList.begin(); i != sRealmList.end(); ++i)
|
||||
|
|
@ -937,8 +937,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
|
|||
pkt << uint8(0x00); // unk, may be realm number/id?
|
||||
}
|
||||
|
||||
pkt << uint8(0x00);
|
||||
pkt << uint8(0x02);
|
||||
pkt << uint16(0x0002); // unused value (why 2?)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -950,7 +949,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
|
|||
case 12340: // 3.3.5a
|
||||
default: // and later
|
||||
{
|
||||
pkt << uint32(0);
|
||||
pkt << uint32(0); // unused value
|
||||
pkt << uint16(sRealmList.size());
|
||||
|
||||
for(RealmList::RealmMap::const_iterator i = sRealmList.begin(); i != sRealmList.end(); ++i)
|
||||
|
|
@ -1004,7 +1003,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
|
|||
}
|
||||
}
|
||||
|
||||
pkt << uint16(0x0010);
|
||||
pkt << uint16(0x0010); // unused value (why 10?)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11051"
|
||||
#define REVISION_NR "11052"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue