Skip to content

Commit

Permalink
[9800] Not need explicit value numbering for internal server side enum
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Apr 28, 2010
1 parent 82e896e commit e34eb24
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
57 changes: 29 additions & 28 deletions src/game/Player.h
Expand Up @@ -884,34 +884,35 @@ enum PlayedTimeIndex
// used at player loading query list preparing, and later result selection
enum PlayerLoginQueryIndex
{
PLAYER_LOGIN_QUERY_LOADFROM = 0,
PLAYER_LOGIN_QUERY_LOADGROUP = 1,
PLAYER_LOGIN_QUERY_LOADBOUNDINSTANCES = 2,
PLAYER_LOGIN_QUERY_LOADAURAS = 3,
PLAYER_LOGIN_QUERY_LOADSPELLS = 4,
PLAYER_LOGIN_QUERY_LOADQUESTSTATUS = 5,
PLAYER_LOGIN_QUERY_LOADDAILYQUESTSTATUS = 6,
PLAYER_LOGIN_QUERY_LOADREPUTATION = 7,
PLAYER_LOGIN_QUERY_LOADINVENTORY = 8,
PLAYER_LOGIN_QUERY_LOADACTIONS = 9,
PLAYER_LOGIN_QUERY_LOADSOCIALLIST = 10,
PLAYER_LOGIN_QUERY_LOADHOMEBIND = 11,
PLAYER_LOGIN_QUERY_LOADSPELLCOOLDOWNS = 12,
PLAYER_LOGIN_QUERY_LOADDECLINEDNAMES = 13,
PLAYER_LOGIN_QUERY_LOADGUILD = 14,
PLAYER_LOGIN_QUERY_LOADARENAINFO = 15,
PLAYER_LOGIN_QUERY_LOADACHIEVEMENTS = 16,
PLAYER_LOGIN_QUERY_LOADCRITERIAPROGRESS = 17,
PLAYER_LOGIN_QUERY_LOADEQUIPMENTSETS = 18,
PLAYER_LOGIN_QUERY_LOADBGDATA = 19,
PLAYER_LOGIN_QUERY_LOADACCOUNTDATA = 20,
PLAYER_LOGIN_QUERY_LOADSKILLS = 21,
PLAYER_LOGIN_QUERY_LOADGLYPHS = 22,
PLAYER_LOGIN_QUERY_LOADMAILS = 23,
PLAYER_LOGIN_QUERY_LOADMAILEDITEMS = 24,
PLAYER_LOGIN_QUERY_LOADTALENTS = 25,
PLAYER_LOGIN_QUERY_LOADWEKLYQUESTSTATUS = 26,
MAX_PLAYER_LOGIN_QUERY = 27
PLAYER_LOGIN_QUERY_LOADFROM,
PLAYER_LOGIN_QUERY_LOADGROUP,
PLAYER_LOGIN_QUERY_LOADBOUNDINSTANCES,
PLAYER_LOGIN_QUERY_LOADAURAS,
PLAYER_LOGIN_QUERY_LOADSPELLS,
PLAYER_LOGIN_QUERY_LOADQUESTSTATUS,
PLAYER_LOGIN_QUERY_LOADDAILYQUESTSTATUS,
PLAYER_LOGIN_QUERY_LOADREPUTATION,
PLAYER_LOGIN_QUERY_LOADINVENTORY,
PLAYER_LOGIN_QUERY_LOADACTIONS,
PLAYER_LOGIN_QUERY_LOADSOCIALLIST,
PLAYER_LOGIN_QUERY_LOADHOMEBIND,
PLAYER_LOGIN_QUERY_LOADSPELLCOOLDOWNS,
PLAYER_LOGIN_QUERY_LOADDECLINEDNAMES,
PLAYER_LOGIN_QUERY_LOADGUILD,
PLAYER_LOGIN_QUERY_LOADARENAINFO,
PLAYER_LOGIN_QUERY_LOADACHIEVEMENTS,
PLAYER_LOGIN_QUERY_LOADCRITERIAPROGRESS,
PLAYER_LOGIN_QUERY_LOADEQUIPMENTSETS,
PLAYER_LOGIN_QUERY_LOADBGDATA,
PLAYER_LOGIN_QUERY_LOADACCOUNTDATA,
PLAYER_LOGIN_QUERY_LOADSKILLS,
PLAYER_LOGIN_QUERY_LOADGLYPHS,
PLAYER_LOGIN_QUERY_LOADMAILS,
PLAYER_LOGIN_QUERY_LOADMAILEDITEMS,
PLAYER_LOGIN_QUERY_LOADTALENTS,
PLAYER_LOGIN_QUERY_LOADWEKLYQUESTSTATUS,

MAX_PLAYER_LOGIN_QUERY
};

enum PlayerDelayedOperations
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9799"
#define REVISION_NR "9800"
#endif // __REVISION_NR_H__

2 comments on commit e34eb24

@Olynn
Copy link

@Olynn Olynn commented on e34eb24 Apr 28, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be weekly and not wekly @ line 913? Just an unimportant typo, but I felt I should point it out. :)

@VladimirMangos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in [9801]. Thank you :)

Please sign in to comment.