Skip to content

Commit

Permalink
[9678] Some comments for realmd data.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Apr 6, 2010
1 parent bf390a0 commit f3ab410
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/game/World.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ enum BillingPlanFlags
SESSION_ENABLE_CAIS = 0x80,
};

/// Type of server, this is values from second column of Cfg_Configs.dbc
/// Type of server, this is values from second column of Cfg_Configs.dbc (1.12.1 have another numeration)
enum RealmType
{
REALM_TYPE_NORMAL = 0,
Expand All @@ -331,7 +331,7 @@ enum RealmType
// replaced by REALM_PVP in realm list
};

/// This is values from first column of Cfg_Categories.dbc
/// This is values from first column of Cfg_Categories.dbc (1.12.1 have another numeration)
enum RealmZone
{
REALM_ZONE_UNKNOWN = 0, // any language
Expand Down Expand Up @@ -365,6 +365,7 @@ enum RealmZone
REALM_ZONE_QA_SERVER = 28, // any language
REALM_ZONE_CN9 = 29, // basic-Latin at create, any at login
REALM_ZONE_TEST_SERVER_2 = 30, // any language
// in 3.x
REALM_ZONE_CN10 = 31, // basic-Latin at create, any at login
REALM_ZONE_CTC = 32,
REALM_ZONE_CNC = 33,
Expand Down
8 changes: 4 additions & 4 deletions src/realmd/AuthSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,10 +1020,10 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)

/*if(realmFlags & REALM_FLAG_SPECIFYBUILD)
{
pkt << uint8(3); // major
pkt << uint8(3); // minor
pkt << uint8(3); // revision
pkt << uint16(11723); // build
pkt << uint8(0); // major
pkt << uint8(0); // minor
pkt << uint8(0); // revision
pkt << uint16(0); // build
}*/
}

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9677"
#define REVISION_NR "9678"
#endif // __REVISION_NR_H__

0 comments on commit f3ab410

Please sign in to comment.