mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
More build errors fixed
13 errors left at this stage.
This commit is contained in:
parent
924d182855
commit
669502916a
22 changed files with 279 additions and 56 deletions
|
|
@ -788,6 +788,9 @@ enum EnviromentalDamage
|
|||
DAMAGE_FALL_TO_VOID = 6 // custom case for fall without durability loss
|
||||
};
|
||||
|
||||
/*
|
||||
* This is defined in Chat.h (just like Zero, One, and Two)
|
||||
* DELETE THIS IF ALL IS OK
|
||||
enum PlayerChatTag
|
||||
{
|
||||
CHAT_TAG_NONE = 0x00,
|
||||
|
|
@ -798,6 +801,8 @@ enum PlayerChatTag
|
|||
CHAT_TAG_DEV = 0x10, // Developer
|
||||
};
|
||||
|
||||
*/
|
||||
|
||||
enum PlayedTimeIndex
|
||||
{
|
||||
PLAYED_TIME_TOTAL = 0,
|
||||
|
|
@ -1747,7 +1752,11 @@ class Player : public Unit
|
|||
void SetInGuild(uint32 GuildId);
|
||||
void SetGuildLevel(uint32 level) { SetUInt32Value(PLAYER_GUILDLEVEL, level); }
|
||||
void SetRank(uint32 rankId){ SetUInt32Value(PLAYER_GUILDRANK, rankId); }
|
||||
void SetGuildInvited(uint32 GuildId, ObjectGuid inviter = ObjectGuid()) { m_GuildIdInvited = GuildId; m_GuildInviterGuid = inviter; }
|
||||
// void SetGuildInvited(uint32 GuildId, ObjectGuid inviter = ObjectGuid()) { m_GuildIdInvited = GuildId; m_GuildInviterGuid = inviter; } .. PRE Dev21 version (DELETE IT?)
|
||||
void SetGuildIdInvited(uint32 GuildId)
|
||||
{
|
||||
m_GuildIdInvited = GuildId;
|
||||
}
|
||||
uint32 GetGuildId() const { return GetGuildGuid().GetCounter(); }
|
||||
ObjectGuid GetGuildGuid() const { return GetGuidValue(OBJECT_FIELD_DATA); }
|
||||
std::string GetGuildName() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue