TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Guild.h File Reference
#include "AchievementMgr.h"
#include "World.h"
#include "Item.h"
#include "WorldPacket.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "DBCStore.h"
+ Include dependency graph for Guild.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GuildReward
 
class  EmblemInfo
 
class  GuildBankRightsAndSlots
 
class  Guild
 
class  Guild::Member
 
class  Guild::LogEntry
 
class  Guild::EventLogEntry
 
class  Guild::BankEventLogEntry
 
class  Guild::NewsLogEntry
 
class  Guild::LogHolder
 
class  Guild::RankInfo
 
class  Guild::BankTab
 
class  Guild::MoveItemData
 
class  Guild::PlayerMoveItemData
 
class  Guild::BankMoveItemData
 

Namespaces

 WorldPackets
 
 WorldPackets::Guild
 

Macros

#define GUILD_CHALLENGES_TYPES   6
 

Typedefs

typedef std::vector
< GuildBankRightsAndSlots
GuildBankRightsAndSlotsVec
 
typedef std::set< uint8SlotIds
 

Enumerations

enum  GuildMisc {
  GUILD_BANK_MAX_TABS = 8, GUILD_BANK_MAX_SLOTS = 98, GUILD_BANK_MONEY_LOGS_TAB = 100, GUILD_RANKS_MIN_COUNT = 2,
  GUILD_RANKS_MAX_COUNT = 10, GUILD_RANK_NONE = 0xFF, GUILD_WITHDRAW_MONEY_UNLIMITED = 0xFFFFFFFF, GUILD_WITHDRAW_SLOT_UNLIMITED = 0xFFFFFFFF,
  GUILD_EVENT_LOG_GUID_UNDEFINED = 0xFFFFFFFF, TAB_UNDEFINED = 0xFF
}
 
enum  GuildMemberData { GUILD_MEMBER_DATA_ZONEID, GUILD_MEMBER_DATA_ACHIEVEMENT_POINTS, GUILD_MEMBER_DATA_LEVEL }
 
enum  GuildDefaultRanks {
  GR_GUILDMASTER = 0, GR_OFFICER = 1, GR_VETERAN = 2, GR_MEMBER = 3,
  GR_INITIATE = 4
}
 
enum  GuildRankRights {
  GR_RIGHT_NONE = 0x00000000, GR_RIGHT_GCHATLISTEN = 0x00000001, GR_RIGHT_GCHATSPEAK = 0x00000002, GR_RIGHT_OFFCHATLISTEN = 0x00000004,
  GR_RIGHT_OFFCHATSPEAK = 0x00000008, GR_RIGHT_INVITE = 0x00000010, GR_RIGHT_REMOVE = 0x00000020, GR_RIGHT_ROSTER = 0x00000040,
  GR_RIGHT_PROMOTE = 0x00000080, GR_RIGHT_DEMOTE = 0x00000100, GR_RIGHT_UNK_200 = 0x00000200, GR_RIGHT_UNK_400 = 0x00000400,
  GR_RIGHT_UNK_800 = 0x00000800, GR_RIGHT_SETMOTD = 0x00001000, GR_RIGHT_EDIT_PUBLIC_NOTE = 0x00002000, GR_RIGHT_VIEWOFFNOTE = 0x00004000,
  GR_RIGHT_EOFFNOTE = 0x00008000, GR_RIGHT_MODIFY_GUILD_INFO = 0x00010000, GR_RIGHT_WITHDRAW_GOLD_LOCK = 0x00020000, GR_RIGHT_WITHDRAW_REPAIR = 0x00040000,
  GR_RIGHT_WITHDRAW_GOLD = 0x00080000, GR_RIGHT_CREATE_GUILD_EVENT = 0x00100000, GR_RIGHT_ALL = 0x00DDFFBF
}
 
enum  GuildCommandType {
  GUILD_COMMAND_CREATE_GUILD = 0, GUILD_COMMAND_INVITE_PLAYER = 1, GUILD_COMMAND_LEAVE_GUILD = 3, GUILD_COMMAND_GET_ROSTER = 5,
  GUILD_COMMAND_PROMOTE_PLAYER = 6, GUILD_COMMAND_DEMOTE_PLAYER = 7, GUILD_COMMAND_REMOVE_PLAYER = 8, GUILD_COMMAND_CHANGE_LEADER = 10,
  GUILD_COMMAND_EDIT_MOTD = 11, GUILD_COMMAND_GUILD_CHAT = 13, GUILD_COMMAND_FOUNDER = 14, GUILD_COMMAND_CHANGE_RANK = 16,
  GUILD_COMMAND_EDIT_PUBLIC_NOTE = 19, GUILD_COMMAND_VIEW_TAB = 21, GUILD_COMMAND_MOVE_ITEM = 22, GUILD_COMMAND_REPAIR = 25
}
 
enum  GuildCommandError {
  ERR_GUILD_COMMAND_SUCCESS = 0, ERR_GUILD_INTERNAL = 1, ERR_ALREADY_IN_GUILD = 2, ERR_ALREADY_IN_GUILD_S = 3,
  ERR_INVITED_TO_GUILD = 4, ERR_ALREADY_INVITED_TO_GUILD_S = 5, ERR_GUILD_NAME_INVALID = 6, ERR_GUILD_NAME_EXISTS_S = 7,
  ERR_GUILD_LEADER_LEAVE = 8, ERR_GUILD_PERMISSIONS = 8, ERR_GUILD_PLAYER_NOT_IN_GUILD = 9, ERR_GUILD_PLAYER_NOT_IN_GUILD_S = 10,
  ERR_GUILD_PLAYER_NOT_FOUND_S = 11, ERR_GUILD_NOT_ALLIED = 12, ERR_GUILD_RANK_TOO_HIGH_S = 13, ERR_GUILD_RANK_TOO_LOW_S = 14,
  ERR_GUILD_RANKS_LOCKED = 17, ERR_GUILD_RANK_IN_USE = 18, ERR_GUILD_IGNORING_YOU_S = 19, ERR_GUILD_UNK1 = 20,
  ERR_GUILD_WITHDRAW_LIMIT = 25, ERR_GUILD_NOT_ENOUGH_MONEY = 26, ERR_GUILD_BANK_FULL = 28, ERR_GUILD_ITEM_NOT_FOUND = 29,
  ERR_GUILD_TOO_MUCH_MONEY = 31, ERR_GUILD_BANK_WRONG_TAB = 32, ERR_RANK_REQUIRES_AUTHENTICATOR = 34, ERR_GUILD_BANK_VOUCHER_FAILED = 35,
  ERR_GUILD_TRIAL_ACCOUNT = 36, ERR_GUILD_UNDELETABLE_DUE_TO_LEVEL = 37, ERR_GUILD_MOVE_STARTING = 38, ERR_GUILD_REP_TOO_LOW = 39
}
 
enum  PetitionTurns {
  PETITION_TURN_OK = 0, PETITION_TURN_ALREADY_IN_GUILD = 2, PETITION_TURN_NEED_MORE_SIGNATURES = 4, PETITION_TURN_GUILD_PERMISSIONS = 11,
  PETITION_TURN_GUILD_NAME_INVALID = 12
}
 
enum  PetitionSigns {
  PETITION_SIGN_OK = 0, PETITION_SIGN_ALREADY_SIGNED = 1, PETITION_SIGN_ALREADY_IN_GUILD = 2, PETITION_SIGN_CANT_SIGN_OWN = 3,
  PETITION_SIGN_NOT_SERVER = 4, PETITION_SIGN_FULL = 5, PETITION_SIGN_ALREADY_SIGNED_OTHER = 6, PETITION_SIGN_RESTRICTED_ACCOUNT = 7
}
 
enum  GuildBankRights {
  GUILD_BANK_RIGHT_VIEW_TAB = 0x01, GUILD_BANK_RIGHT_PUT_ITEM = 0x02, GUILD_BANK_RIGHT_UPDATE_TEXT = 0x04, GUILD_BANK_RIGHT_DEPOSIT_ITEM = GUILD_BANK_RIGHT_VIEW_TAB | GUILD_BANK_RIGHT_PUT_ITEM,
  GUILD_BANK_RIGHT_FULL = -1
}
 
enum  GuildBankEventLogTypes {
  GUILD_BANK_LOG_DEPOSIT_ITEM = 1, GUILD_BANK_LOG_WITHDRAW_ITEM = 2, GUILD_BANK_LOG_MOVE_ITEM = 3, GUILD_BANK_LOG_DEPOSIT_MONEY = 4,
  GUILD_BANK_LOG_WITHDRAW_MONEY = 5, GUILD_BANK_LOG_REPAIR_MONEY = 6, GUILD_BANK_LOG_MOVE_ITEM2 = 7, GUILD_BANK_LOG_UNK1 = 8,
  GUILD_BANK_LOG_BUY_SLOT = 9, GUILD_BANK_LOG_CASH_FLOW_DEPOSIT = 10
}
 
enum  GuildEventLogTypes {
  GUILD_EVENT_LOG_INVITE_PLAYER = 1, GUILD_EVENT_LOG_JOIN_GUILD = 2, GUILD_EVENT_LOG_PROMOTE_PLAYER = 3, GUILD_EVENT_LOG_DEMOTE_PLAYER = 4,
  GUILD_EVENT_LOG_UNINVITE_PLAYER = 5, GUILD_EVENT_LOG_LEAVE_GUILD = 6
}
 
enum  GuildEmblemError {
  ERR_GUILDEMBLEM_SUCCESS = 0, ERR_GUILDEMBLEM_INVALID_TABARD_COLORS = 1, ERR_GUILDEMBLEM_NOGUILD = 2, ERR_GUILDEMBLEM_NOTGUILDMASTER = 3,
  ERR_GUILDEMBLEM_NOTENOUGHMONEY = 4, ERR_GUILDEMBLEM_INVALIDVENDOR = 5
}
 
enum  GuildMemberFlags {
  GUILDMEMBER_STATUS_NONE = 0x0000, GUILDMEMBER_STATUS_ONLINE = 0x0001, GUILDMEMBER_STATUS_AFK = 0x0002, GUILDMEMBER_STATUS_DND = 0x0004,
  GUILDMEMBER_STATUS_MOBILE = 0x0008
}
 
enum  GuildNews {
  GUILD_NEWS_GUILD_ACHIEVEMENT = 0, GUILD_NEWS_PLAYER_ACHIEVEMENT = 1, GUILD_NEWS_DUNGEON_ENCOUNTER = 2, GUILD_NEWS_ITEM_LOOTED = 3,
  GUILD_NEWS_ITEM_CRAFTED = 4, GUILD_NEWS_ITEM_PURCHASED = 5, GUILD_NEWS_LEVEL_UP = 6, GUILD_NEWS_CREATE = 7,
  GUILD_NEWS_EVENT = 8
}
 

Variables

uint32 const MinNewsItemLevel = 353
 
const uint32 GuildChallengeGoldReward [GUILD_CHALLENGES_TYPES] = { 0, 250, 1000, 500, 250, 500 }
 
const uint32 GuildChallengeMaxLevelGoldReward [GUILD_CHALLENGES_TYPES] = { 0, 125, 500, 250, 125, 250 }
 
const uint32 GuildChallengesMaxCount [GUILD_CHALLENGES_TYPES] = { 0, 7, 1, 3, 0, 3 }
 

Macro Definition Documentation

#define GUILD_CHALLENGES_TYPES   6

Typedef Documentation

typedef std::set<uint8> SlotIds

Enumeration Type Documentation

Enumerator
GUILD_BANK_LOG_DEPOSIT_ITEM 
GUILD_BANK_LOG_WITHDRAW_ITEM 
GUILD_BANK_LOG_MOVE_ITEM 
GUILD_BANK_LOG_DEPOSIT_MONEY 
GUILD_BANK_LOG_WITHDRAW_MONEY 
GUILD_BANK_LOG_REPAIR_MONEY 
GUILD_BANK_LOG_MOVE_ITEM2 
GUILD_BANK_LOG_UNK1 
GUILD_BANK_LOG_BUY_SLOT 
GUILD_BANK_LOG_CASH_FLOW_DEPOSIT 
190 {
201 };
Definition: Guild.h:192
Definition: Guild.h:199
Definition: Guild.h:193
Definition: Guild.h:196
Definition: Guild.h:200
Definition: Guild.h:191
Definition: Guild.h:195
Definition: Guild.h:197
Definition: Guild.h:198
Definition: Guild.h:194
Enumerator
GUILD_BANK_RIGHT_VIEW_TAB 
GUILD_BANK_RIGHT_PUT_ITEM 
GUILD_BANK_RIGHT_UPDATE_TEXT 
GUILD_BANK_RIGHT_DEPOSIT_ITEM 
GUILD_BANK_RIGHT_FULL 
180 {
184 
187 };
Definition: Guild.h:186
Definition: Guild.h:182
Definition: Guild.h:185
Definition: Guild.h:181
Definition: Guild.h:183
Enumerator
ERR_GUILD_COMMAND_SUCCESS 
ERR_GUILD_INTERNAL 
ERR_ALREADY_IN_GUILD 
ERR_ALREADY_IN_GUILD_S 
ERR_INVITED_TO_GUILD 
ERR_ALREADY_INVITED_TO_GUILD_S 
ERR_GUILD_NAME_INVALID 
ERR_GUILD_NAME_EXISTS_S 
ERR_GUILD_LEADER_LEAVE 
ERR_GUILD_PERMISSIONS 
ERR_GUILD_PLAYER_NOT_IN_GUILD 
ERR_GUILD_PLAYER_NOT_IN_GUILD_S 
ERR_GUILD_PLAYER_NOT_FOUND_S 
ERR_GUILD_NOT_ALLIED 
ERR_GUILD_RANK_TOO_HIGH_S 
ERR_GUILD_RANK_TOO_LOW_S 
ERR_GUILD_RANKS_LOCKED 
ERR_GUILD_RANK_IN_USE 
ERR_GUILD_IGNORING_YOU_S 
ERR_GUILD_UNK1 
ERR_GUILD_WITHDRAW_LIMIT 
ERR_GUILD_NOT_ENOUGH_MONEY 
ERR_GUILD_BANK_FULL 
ERR_GUILD_ITEM_NOT_FOUND 
ERR_GUILD_TOO_MUCH_MONEY 
ERR_GUILD_BANK_WRONG_TAB 
ERR_RANK_REQUIRES_AUTHENTICATOR 
ERR_GUILD_BANK_VOUCHER_FAILED 
ERR_GUILD_TRIAL_ACCOUNT 
ERR_GUILD_UNDELETABLE_DUE_TO_LEVEL 
ERR_GUILD_MOVE_STARTING 
ERR_GUILD_REP_TOO_LOW 
123 {
125  ERR_GUILD_INTERNAL = 1,
143  ERR_GUILD_UNK1 = 20, // Forces roster update
146  ERR_GUILD_BANK_FULL = 28,
156 };
Definition: Guild.h:151
Definition: Guild.h:154
Definition: Guild.h:131
Definition: Guild.h:127
Definition: Guild.h:148
Definition: Guild.h:132
Definition: Guild.h:155
Definition: Guild.h:129
Definition: Guild.h:141
Definition: Guild.h:149
Definition: Guild.h:143
Definition: Guild.h:137
Definition: Guild.h:145
Definition: Guild.h:133
Definition: Guild.h:138
Definition: Guild.h:136
Definition: Guild.h:153
Definition: Guild.h:130
Definition: Guild.h:128
Definition: Guild.h:144
Definition: Guild.h:152
Definition: Guild.h:139
Definition: Guild.h:142
Definition: Guild.h:134
Definition: Guild.h:150
Definition: Guild.h:140
Definition: Guild.h:126
Definition: Guild.h:146
Definition: Guild.h:124
Definition: Guild.h:135
Definition: Guild.h:125
Definition: Guild.h:147
Enumerator
GUILD_COMMAND_CREATE_GUILD 
GUILD_COMMAND_INVITE_PLAYER 
GUILD_COMMAND_LEAVE_GUILD 
GUILD_COMMAND_GET_ROSTER 
GUILD_COMMAND_PROMOTE_PLAYER 
GUILD_COMMAND_DEMOTE_PLAYER 
GUILD_COMMAND_REMOVE_PLAYER 
GUILD_COMMAND_CHANGE_LEADER 
GUILD_COMMAND_EDIT_MOTD 
GUILD_COMMAND_GUILD_CHAT 
GUILD_COMMAND_FOUNDER 
GUILD_COMMAND_CHANGE_RANK 
GUILD_COMMAND_EDIT_PUBLIC_NOTE 
GUILD_COMMAND_VIEW_TAB 
GUILD_COMMAND_MOVE_ITEM 
GUILD_COMMAND_REPAIR 
103 {
120 };
Definition: Guild.h:116
Definition: Guild.h:112
Definition: Guild.h:107
Definition: Guild.h:113
Definition: Guild.h:105
Definition: Guild.h:115
Definition: Guild.h:110
Definition: Guild.h:109
Definition: Guild.h:108
Definition: Guild.h:117
Definition: Guild.h:104
Definition: Guild.h:114
Definition: Guild.h:111
Definition: Guild.h:106
Definition: Guild.h:119
Definition: Guild.h:118
Enumerator
GR_GUILDMASTER 
GR_OFFICER 
GR_VETERAN 
GR_MEMBER 
GR_INITIATE 
64 {
65  // These ranks can be modified, but they cannot be deleted
66  GR_GUILDMASTER = 0,
67  GR_OFFICER = 1,
68  GR_VETERAN = 2,
69  GR_MEMBER = 3,
70  GR_INITIATE = 4
71  // When promoting member server does: rank--
72  // When demoting member server does: rank++
73 };
Definition: Guild.h:66
Definition: Guild.h:67
Definition: Guild.h:69
Definition: Guild.h:70
Definition: Guild.h:68
Enumerator
ERR_GUILDEMBLEM_SUCCESS 
ERR_GUILDEMBLEM_INVALID_TABARD_COLORS 
ERR_GUILDEMBLEM_NOGUILD 
ERR_GUILDEMBLEM_NOTGUILDMASTER 
ERR_GUILDEMBLEM_NOTENOUGHMONEY 
ERR_GUILDEMBLEM_INVALIDVENDOR 
214 {
221 };
Definition: Guild.h:219
Definition: Guild.h:218
Definition: Guild.h:215
Definition: Guild.h:217
Definition: Guild.h:220
Enumerator
GUILD_EVENT_LOG_INVITE_PLAYER 
GUILD_EVENT_LOG_JOIN_GUILD 
GUILD_EVENT_LOG_PROMOTE_PLAYER 
GUILD_EVENT_LOG_DEMOTE_PLAYER 
GUILD_EVENT_LOG_UNINVITE_PLAYER 
GUILD_EVENT_LOG_LEAVE_GUILD 
204 {
211 };
Definition: Guild.h:206
Definition: Guild.h:208
Definition: Guild.h:207
Definition: Guild.h:205
Definition: Guild.h:209
Definition: Guild.h:210
Enumerator
GUILD_MEMBER_DATA_ZONEID 
GUILD_MEMBER_DATA_ACHIEVEMENT_POINTS 
GUILD_MEMBER_DATA_LEVEL 
Enumerator
GUILDMEMBER_STATUS_NONE 
GUILDMEMBER_STATUS_ONLINE 
GUILDMEMBER_STATUS_AFK 
GUILDMEMBER_STATUS_DND 
GUILDMEMBER_STATUS_MOBILE 
224 {
225  GUILDMEMBER_STATUS_NONE = 0x0000,
226  GUILDMEMBER_STATUS_ONLINE = 0x0001,
227  GUILDMEMBER_STATUS_AFK = 0x0002,
228  GUILDMEMBER_STATUS_DND = 0x0004,
229  GUILDMEMBER_STATUS_MOBILE = 0x0008, // remote chat from mobile app
230 };
Definition: Guild.h:229
Definition: Guild.h:228
Definition: Guild.h:225
Definition: Guild.h:227
Definition: Guild.h:226
enum GuildMisc
Enumerator
GUILD_BANK_MAX_TABS 
GUILD_BANK_MAX_SLOTS 
GUILD_BANK_MONEY_LOGS_TAB 
GUILD_RANKS_MIN_COUNT 
GUILD_RANKS_MAX_COUNT 
GUILD_RANK_NONE 
GUILD_WITHDRAW_MONEY_UNLIMITED 
GUILD_WITHDRAW_SLOT_UNLIMITED 
GUILD_EVENT_LOG_GUID_UNDEFINED 
TAB_UNDEFINED 
43 {
44  GUILD_BANK_MAX_TABS = 8, // send by client for money log also
46  GUILD_BANK_MONEY_LOGS_TAB = 100, // used for money log in DB
49  GUILD_RANK_NONE = 0xFF,
50  GUILD_WITHDRAW_MONEY_UNLIMITED = 0xFFFFFFFF,
51  GUILD_WITHDRAW_SLOT_UNLIMITED = 0xFFFFFFFF,
52  GUILD_EVENT_LOG_GUID_UNDEFINED = 0xFFFFFFFF,
53  TAB_UNDEFINED = 0xFF,
54 };
Definition: Guild.h:46
Definition: Guild.h:53
Definition: Guild.h:52
Definition: Guild.h:44
Definition: Guild.h:47
Definition: Guild.h:49
Definition: Guild.h:51
Definition: Guild.h:50
Definition: Guild.h:48
Definition: Guild.h:45
enum GuildNews
Enumerator
GUILD_NEWS_GUILD_ACHIEVEMENT 
GUILD_NEWS_PLAYER_ACHIEVEMENT 
GUILD_NEWS_DUNGEON_ENCOUNTER 
GUILD_NEWS_ITEM_LOOTED 
GUILD_NEWS_ITEM_CRAFTED 
GUILD_NEWS_ITEM_PURCHASED 
GUILD_NEWS_LEVEL_UP 
GUILD_NEWS_CREATE 
GUILD_NEWS_EVENT 
233 {
236  GUILD_NEWS_DUNGEON_ENCOUNTER = 2, // @todo Implement
241  GUILD_NEWS_CREATE = 7, // @todo Implement
242  GUILD_NEWS_EVENT = 8 // @todo Implement
243 };
Definition: Guild.h:241
Definition: Guild.h:236
Definition: Guild.h:234
Definition: Guild.h:240
Definition: Guild.h:235
Definition: Guild.h:237
Definition: Guild.h:238
Definition: Guild.h:239
Definition: Guild.h:242
Enumerator
GR_RIGHT_NONE 
GR_RIGHT_GCHATLISTEN 
GR_RIGHT_GCHATSPEAK 
GR_RIGHT_OFFCHATLISTEN 
GR_RIGHT_OFFCHATSPEAK 
GR_RIGHT_INVITE 
GR_RIGHT_REMOVE 
GR_RIGHT_ROSTER 
GR_RIGHT_PROMOTE 
GR_RIGHT_DEMOTE 
GR_RIGHT_UNK_200 
GR_RIGHT_UNK_400 
GR_RIGHT_UNK_800 
GR_RIGHT_SETMOTD 
GR_RIGHT_EDIT_PUBLIC_NOTE 
GR_RIGHT_VIEWOFFNOTE 
GR_RIGHT_EOFFNOTE 
GR_RIGHT_MODIFY_GUILD_INFO 
GR_RIGHT_WITHDRAW_GOLD_LOCK 
GR_RIGHT_WITHDRAW_REPAIR 
GR_RIGHT_WITHDRAW_GOLD 
GR_RIGHT_CREATE_GUILD_EVENT 
GR_RIGHT_ALL 
76 {
77  GR_RIGHT_NONE = 0x00000000,
78  GR_RIGHT_GCHATLISTEN = 0x00000001,
79  GR_RIGHT_GCHATSPEAK = 0x00000002,
80  GR_RIGHT_OFFCHATLISTEN = 0x00000004,
81  GR_RIGHT_OFFCHATSPEAK = 0x00000008,
82  GR_RIGHT_INVITE = 0x00000010,
83  GR_RIGHT_REMOVE = 0x00000020,
84  GR_RIGHT_ROSTER = 0x00000040,
85  GR_RIGHT_PROMOTE = 0x00000080,
86  GR_RIGHT_DEMOTE = 0x00000100,
87  GR_RIGHT_UNK_200 = 0x00000200,
88  GR_RIGHT_UNK_400 = 0x00000400,
89  GR_RIGHT_UNK_800 = 0x00000800,
90  GR_RIGHT_SETMOTD = 0x00001000,
91  GR_RIGHT_EDIT_PUBLIC_NOTE = 0x00002000,
92  GR_RIGHT_VIEWOFFNOTE = 0x00004000,
93  GR_RIGHT_EOFFNOTE = 0x00008000,
94  GR_RIGHT_MODIFY_GUILD_INFO = 0x00010000,
95  GR_RIGHT_WITHDRAW_GOLD_LOCK = 0x00020000, // remove money withdraw capacity
96  GR_RIGHT_WITHDRAW_REPAIR = 0x00040000, // withdraw for repair
97  GR_RIGHT_WITHDRAW_GOLD = 0x00080000, // withdraw gold
98  GR_RIGHT_CREATE_GUILD_EVENT = 0x00100000, // wotlk
99  GR_RIGHT_ALL = 0x00DDFFBF
100 };
Definition: Guild.h:99
Definition: Guild.h:81
Definition: Guild.h:82
Definition: Guild.h:96
Definition: Guild.h:85
Definition: Guild.h:98
Definition: Guild.h:80
Definition: Guild.h:95
Definition: Guild.h:94
Definition: Guild.h:86
Definition: Guild.h:88
Definition: Guild.h:90
Definition: Guild.h:78
Definition: Guild.h:92
Definition: Guild.h:93
Definition: Guild.h:89
Definition: Guild.h:91
Definition: Guild.h:97
Definition: Guild.h:77
Definition: Guild.h:84
Definition: Guild.h:79
Definition: Guild.h:87
Definition: Guild.h:83
Enumerator
PETITION_SIGN_OK 
PETITION_SIGN_ALREADY_SIGNED 
PETITION_SIGN_ALREADY_IN_GUILD 
PETITION_SIGN_CANT_SIGN_OWN 
PETITION_SIGN_NOT_SERVER 
PETITION_SIGN_FULL 
PETITION_SIGN_ALREADY_SIGNED_OTHER 
PETITION_SIGN_RESTRICTED_ACCOUNT 
168 {
169  PETITION_SIGN_OK = 0,
174  PETITION_SIGN_FULL = 5,
177 };
Definition: Guild.h:175
Definition: Guild.h:174
Definition: Guild.h:170
Definition: Guild.h:176
Definition: Guild.h:169
Definition: Guild.h:171
Definition: Guild.h:173
Definition: Guild.h:172
Enumerator
PETITION_TURN_OK 
PETITION_TURN_ALREADY_IN_GUILD 
PETITION_TURN_NEED_MORE_SIGNATURES 
PETITION_TURN_GUILD_PERMISSIONS 
PETITION_TURN_GUILD_NAME_INVALID 
159 {
160  PETITION_TURN_OK = 0,
165 };
Definition: Guild.h:161
Definition: Guild.h:164
Definition: Guild.h:162
Definition: Guild.h:163
Definition: Guild.h:160

Variable Documentation

const uint32 GuildChallengeGoldReward[GUILD_CHALLENGES_TYPES] = { 0, 250, 1000, 500, 250, 500 }
const uint32 GuildChallengeMaxLevelGoldReward[GUILD_CHALLENGES_TYPES] = { 0, 125, 500, 250, 125, 250 }
const uint32 GuildChallengesMaxCount[GUILD_CHALLENGES_TYPES] = { 0, 7, 1, 3, 0, 3 }
uint32 const MinNewsItemLevel = 353