[11052] Some comments for some unused CMD_REALM_LIST values...

This commit is contained in:
XTZGZoReX 2011-01-20 14:48:40 +01:00
parent 2223393527
commit 241712305d
2 changed files with 5 additions and 6 deletions

View file

@ -888,7 +888,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
case 5875: // 1.12.1 case 5875: // 1.12.1
case 6005: // 1.12.2 case 6005: // 1.12.2
{ {
pkt << uint32(0); pkt << uint32(0); // unused value
pkt << uint8(sRealmList.size()); pkt << uint8(sRealmList.size());
for(RealmList::RealmMap::const_iterator i = sRealmList.begin(); i != sRealmList.end(); ++i) 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); // unk, may be realm number/id?
} }
pkt << uint8(0x00); pkt << uint16(0x0002); // unused value (why 2?)
pkt << uint8(0x02);
break; break;
} }
@ -950,7 +949,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
case 12340: // 3.3.5a case 12340: // 3.3.5a
default: // and later default: // and later
{ {
pkt << uint32(0); pkt << uint32(0); // unused value
pkt << uint16(sRealmList.size()); pkt << uint16(sRealmList.size());
for(RealmList::RealmMap::const_iterator i = sRealmList.begin(); i != sRealmList.end(); ++i) 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; break;
} }
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11051" #define REVISION_NR "11052"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__