53#define PLAYER_MAX_SKILLS 128
54#define PLAYER_MAX_DAILY_QUESTS 750
55#define PLAYER_EXPLORED_ZONES_SIZE 200
127#define PANDAREN_FACTION_LANGUAGE_COUNT 3
206#define MAX_CUF_PROFILES 5
347#define ACTION_BUTTON_ACTION(X) (uint64(X) & 0x00000000FFFFFFFF)
348#define ACTION_BUTTON_TYPE(X) ((uint64(X) & 0xFFFFFFFF00000000) >> 56)
349#define MAX_ACTION_BUTTON_ACTION_VALUE (0xFFFFFFFF)
384#define MAX_ACTION_BUTTONS 132
571#define KNOWN_TITLES_SIZE 4
572#define MAX_TITLE_INDEX (KNOWN_TITLES_SIZE * 64)
597#define DISABLED_MIRROR_TIMER -1
643#define MAX_QUEST_OFFSET 15
684#define INVENTORY_SLOT_BAG_0 255
766#define MAX_EQUIPMENT_SET_INDEX 10
864#define MAX_PLAYED_TIME_INDEX 2
926#define MAX_PLAYER_SUMMON_DELAY (2*MINUTE)
927#define MAX_MONEY_AMOUNT (UI64LIT(9999999999))
1103 void SetAccepted(
bool state,
bool crosssend =
false);
1115 void Update(
bool for_trader =
true);
1190 for (PlayerTalentMap::const_iterator itr =
SpecInfo[i].Talents->begin(); itr !=
SpecInfo[i].Talents->end(); ++itr)
1225#define RESEARCH_CONTINENT_COUNT 5
1226#define RESEARCH_BRANCH_COUNT 12
1227#define MAX_DIGSITES_PER_CONTINENT 4
1228#define MAX_FINDS_PER_DIGSITE 6
1429 void InnEnter(time_t time,
uint32 mapid,
float x,
float y,
float z,
1430 float radius = 0.0f,
float boxX = 0.0f,
float boxY = 0.0f,
float boxZ = 0.0f,
float boxOrientation = 0.0f);
1500 void Say(std::string
const& text,
const Language language);
1502 void Yell(std::string
const& text,
const Language language);
1504 void TextEmote(std::string
const& text);
1507 void WhisperAddon(std::string
const& text, std::string
const& prefix,
Player* receiver);
1549 return IsValidPos(pos >> 8, pos & 255, explicit_pos);
1915 void SaveToDB(
bool create =
false);
1923 static void DeleteFromDB(
uint64 playerguid,
uint32 accountId,
bool updateRealmChars =
true,
bool deleteFinally =
false);
2050 bool addSpell(
uint32 spellId,
bool active,
bool learning,
bool dependent,
bool disabled,
bool loading =
false);
2052 void removeSpell(
uint32 spell_id,
bool disabled =
false,
bool learn_low_rank =
true);
2084 bool ResetTalents(
bool noCost =
false,
bool resetTalents =
true,
bool resetSpecialization =
true);
2115 return _talentMgr->SpecInfo[spec].Glyphs[slot];
2236 void UpdatePvP(
bool state,
bool override =
false);
2439 bool UpdatePosition(
float x,
float y,
float z,
float orientation,
bool teleport =
false)
override;
2453 void ResurrectPlayer(
float restore_percent,
bool applySickness =
false);
2709 return m_bgData.bgQueuesJoinedTime.find(
uint32(bgTypeId))->second;
3067 return m_runes->runes[index].Cooldown;
3085 m_runes->runes[index].BaseRune = baseRune;
3089 m_runes->runes[index].CurrentRune = currentRune;
3218 if (itr->second == projectId)
3628 float totalmul = 1.0f;
3629 float totalflat = 0;
3647 totalflat += mod->
value;
3651 if (basevalue == T(0))
3663 float diff = (float)basevalue * (totalmul - 1.0f) + (float)totalflat;
3664 basevalue = T((
float)basevalue + diff);
AchievementCriteriaTimedTypes
std::set< uint32 > AllowedLooterSet
UNORDERED_MAP< uint32, PlayerTalent * > PlayerTalentMap
void AddItemsSetItem(Player *player, Item *item)
std::deque< Mail * > PlayerMails
std::vector< ItemPosCount > ItemPosCountVec
const uint32 ResearchContinents[RESEARCH_CONTINENT_COUNT]
@ TRAINER_SPELL_GREEN_DISABLED
@ ERR_REFER_A_FRIEND_TARGET_TOO_HIGH
@ ERR_REFER_A_FRIEND_SUMMON_OFFLINE_S
@ ERR_REFER_A_FRIEND_DIFFERENT_FACTION
@ ERR_REFER_A_FRIEND_NONE
@ ERR_REFER_A_FRIEND_NO_TARGET
@ ERR_REFER_A_FRIEND_NOT_NOW
@ ERR_REFER_A_FRIEND_INSUF_EXPAN_LVL
@ ERR_REFER_A_FRIEND_INSUFFICIENT_GRANTABLE_LEVELS
@ ERR_REFER_A_FRIEND_NOT_REFERRED_BY
@ ERR_REFER_A_FRIEND_TOO_FAR
@ ERR_REFER_A_FRIEND_SUMMON_LEVEL_MAX_I
@ ERR_REFER_A_FRIEND_NOT_IN_GROUP
@ ERR_REFER_A_FRIEND_GRANT_LEVEL_MAX_I
@ ERR_REFER_A_FRIEND_SUMMON_COOLDOWN
@ TELE_TO_NOT_LEAVE_COMBAT
@ TELE_TO_NOT_UNSUMMON_PET
@ TELE_TO_NOT_LEAVE_TRANSPORT
EnviromentalDamage
Type of environmental damages.
std::list< SpellModifier * > SpellModList
uint32 const pandarenLanguageSpellsAlliance[]
UNORDERED_MAP< uint32, PlayerSpell * > PlayerSpellMap
UNORDERED_MAP< uint32, SkillStatusData > SkillStatusMap
@ PLAYERCURRENCY_UNCHANGED
@ PLAYER_FIELD_BYTE2_STEALTH
@ PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW
@ PLAYER_FIELD_BYTE2_NONE
UNORDERED_MAP< uint32, uint32 > ResearchProjectMap
UNORDERED_MAP< uint32, time_t > InstanceTimeMap
@ PLAYER_FIELD_BYTE_NO_RELEASE_WINDOW
@ PLAYER_FIELD_BYTE_TRACK_STEALTHED
@ PLAYER_FIELD_BYTE_RELEASE_TIMER
@ TRANSFER_ABORT_NOT_FOUND
@ TRANSFER_ABORT_ZONE_IN_COMBAT
@ TRANSFER_ABORT_UNIQUE_MESSAGE
@ TRANSFER_ABORT_MAX_PLAYERS
@ TRANSFER_ABORT_ALREADY_COMPLETED_ENCOUNTER
@ TRANSFER_ABORT_DIFFICULTY
@ TRANSFER_ABORT_NOT_FOUND3
@ TRANSFER_ABORT_MAP_NOT_ALLOWED
@ TRANSFER_ABORT_LOCKED_TO_DIFFERENT_INSTANCE
@ TRANSFER_ABORT_REALM_ONLY
@ TRANSFER_ABORT_NEED_GROUP
@ TRANSFER_ABORT_INSUF_EXPAN_LVL
@ TRANSFER_ABORT_TOO_MANY_INSTANCES
@ TRANSFER_ABORT_NOT_FOUND1
@ TRANSFER_ABORT_TOO_MANY_REALM_INSTANCES
@ TRANSFER_ABORT_NOT_FOUND2
@ PLAYER_EXTRA_ACCEPT_WHISPERS
@ PLAYER_EXTRA_GM_INVISIBLE
@ INVENTORY_SLOT_ITEM_START
@ INVENTORY_SLOT_ITEM_END
void RemoveItemsSetItem(Player *player, ItemTemplate const *proto)
@ PLAYER_FLAGS_AUTO_DECLINE_GUILD
@ PLAYER_FLAGS_VOID_UNLOCKED
@ PLAYER_FLAGS_HIDE_CLOAK
@ PLAYER_FLAGS_PLAYED_LONG_TIME
@ PLAYER_FLAGS_CONTESTED_PVP
@ PLAYER_FLAGS_NO_XP_GAIN
@ PLAYER_FLAGS_GUILD_LEVEL_ENABLED
@ PLAYER_FLAGS_GROUP_LEADER
@ PLAYER_FLAGS_IS_OUT_OF_BOUNDS
@ PLAYER_FLAGS_ALLOW_ONLY_ABILITY
@ PLAYER_FLAGS_BATTLE_PET_ENABLED
@ PLAYER_FLAGS_TAXI_BENCHMARK
@ PLAYER_FLAGS_COMMENTATOR2
@ PLAYER_FLAGS_PLAYED_TOO_LONG
uint32 const pandarenLanguageSpellsHorde[]
std::map< uint32, SpellCooldown > SpellCooldowns
std::list< uint32 > PlayerCreateInfoSpells
@ EQUIPMENT_SET_UNCHANGED
std::map< uint32, bool > QuestStatusSaveMap
std::list< PlayerCreateInfoItem > PlayerCreateInfoItems
@ DELAYED_BG_GROUP_RESTORE
Flag to restore group state after teleport from BG.
@ DELAYED_BG_MOUNT_RESTORE
Flag to restore mount state after teleport from BG.
@ DELAYED_BG_TAXI_RESTORE
Flag to restore taxi state after teleport from BG.
@ DELAYED_SPELL_CAST_DESERTER
@ DELAYED_RESURRECT_PLAYER
std::map< uint32, uint32 > QuestObjectiveStatusMap
std::map< uint8, ActionButton > ActionButtonList
#define MAX_DIGSITES_PER_CONTINENT
@ INVENTORY_SLOT_BAG_START
UNORDERED_MAP< uint32, PlayerCurrency > PlayerCurrenciesMap
#define ACTION_BUTTON_TYPE(X)
std::list< PlayerCreateInfoAction > PlayerCreateInfoActions
@ ERR_BANKSLOT_FAILED_TOO_MANY
@ ERR_BANKSLOT_INSUFFICIENT_FUNDS
@ EQUIPMENT_SLOT_SHOULDERS
@ EQUIPMENT_SLOT_MAINHAND
@ EQUIPMENT_SLOT_TRINKET1
@ EQUIPMENT_SLOT_TRINKET2
std::map< uint32, bool > QuestObjectiveStatusSaveMap
#define MAX_PLAYED_TIME_INDEX
@ UNDERWATER_EXIST_TIMERS
@ RAID_INSTANCE_WARNING_MIN
@ RAID_INSTANCE_WARNING_MIN_SOON
@ RAID_INSTANCE_WARNING_HOURS
std::map< uint32, EquipmentSet > EquipmentSets
CUFBoolOptions
Bit index used in the many bool options of CompactUnitFrames.
@ CUF_DISPLAY_NON_BOSS_DEBUFFS
@ CUF_AUTO_ACTIVATE_40_PLAYERS
@ CUF_DISPLAY_HEAL_PREDICTION
@ CUF_AUTO_ACTIVATE_5_PLAYERS
@ CUF_AUTO_ACTIVATE_3_PLAYERS
@ CUF_DISPLAY_HORIZONTAL_GROUPS
@ CUF_AUTO_ACTIVATE_SPEC_1
@ CUF_DISPLAY_MAIN_TANK_AND_ASSIST
@ CUF_DISPLAY_ONLY_DISPELLABLE_DEBUFFS
@ CUF_AUTO_ACTIVATE_SPEC_2
@ CUF_AUTO_ACTIVATE_2_PLAYERS
@ CUF_DISPLAY_AGGRO_HIGHLIGHT
@ CUF_AUTO_ACTIVATE_25_PLAYERS
@ CUF_KEEP_GROUPS_TOGETHER
@ CUF_AUTO_ACTIVATE_10_PLAYERS
@ CUF_AUTO_ACTIVATE_15_PLAYERS
@ AT_LOGIN_RESET_PET_TALENTS
@ AT_LOGIN_CHANGE_FACTION
@ TALENT_TREE_HUNTER_SURVIVAL
@ TALENT_TREE_DEATH_KNIGHT_FROST
@ TALENT_TREE_PRIEST_SHADOW
@ TALENT_TREE_DEATH_KNIGHT_BLOOD
@ TALENT_TREE_DRUID_RESTORATION
@ TALENT_TREE_SHAMAN_ELEMENTAL
@ TALENT_TREE_SHAMAN_RESTORATION
@ TALENT_TREE_PALADIN_PROTECTION
@ TALENT_TREE_HUNTER_BEAST_MASTERY
@ TALENT_TREE_DRUID_FERAL_COMBAT
@ TALENT_TREE_WARLOCK_DEMONOLOGY
@ TALENT_TREE_WARRIOR_FURY
@ TALENT_TREE_WARLOCK_DESTRUCTION
@ TALENT_TREE_ROGUE_ASSASSINATION
@ TALENT_TREE_DEATH_KNIGHT_UNHOLY
@ TALENT_TREE_WARLOCK_AFFLICTION
@ TALENT_TREE_PRIEST_HOLY
@ TALENT_TREE_MONK_WINDWALKER
@ TALENT_TREE_SHAMAN_ENHANCEMENT
@ TALENT_TREE_MAGE_ARCANE
@ TALENT_TREE_PALADIN_HOLY
@ TALENT_TREE_WARRIOR_ARMS
@ TALENT_TREE_DRUID_BALANCE
@ TALENT_TREE_ROGUE_COMBAT
@ TALENT_TREE_HUNTER_MARKSMANSHIP
@ TALENT_TREE_MONK_MISTWEAVER
@ TALENT_TREE_PALADIN_RETRIBUTION
@ TALENT_TREE_MONK_BREWMASTER
@ TALENT_TREE_ROGUE_SUBTLETY
@ TALENT_TREE_WARRIOR_PROTECTION
@ TALENT_TREE_PRIEST_DISCIPLINE
@ REST_STATE_NOT_RAF_LINKED
#define ACTION_BUTTON_ACTION(X)
std::list< EnchantDuration > EnchantDurationList
@ TRADE_SLOT_TRADED_COUNT
@ REPUTATION_SOURCE_SPELL
@ REPUTATION_SOURCE_QUEST
@ REPUTATION_SOURCE_MONTHLY_QUEST
@ REPUTATION_SOURCE_REPEATABLE_QUEST
@ REPUTATION_SOURCE_WEEKLY_QUEST
@ REPUTATION_SOURCE_DAILY_QUEST
std::list< uint64 > WhisperListContainer
std::map< uint32, QuestStatusData > QuestStatusMap
std::set< uint32 > RewardedQuestSet
#define RESEARCH_CONTINENT_COUNT
@ ATTACKSWINGERR_CANT_ATTACK
@ ATTACKSWINGERR_BADFACING
@ ATTACKSWINGERR_DEADTARGET
@ ATTACKSWINGERR_NOTINRANGE
#define MAX_CUF_PROFILES
Maximum number of CompactUnitFrames profiles.
@ PLAYER_LOGIN_QUERY_LOAD_SPELL_COOLDOWNS
@ PLAYER_LOGIN_QUERY_LOAD_CURRENCY
@ PLAYER_LOGIN_QUERY_LOAD_RESEARCH_HISTORY
@ PLAYER_LOGIN_QUERY_LOAD_GLYPHS
@ PLAYER_LOGIN_QUERY_LOAD_DECLINED_NAMES
@ PLAYER_LOGIN_QUERY_LOAD_QUEST_STATUS_REW
@ PLAYER_LOGIN_QUERY_LOAD_DAILY_QUEST_STATUS
@ PLAYER_LOGIN_QUERY_LOAD_INSTANCE_LOCK_TIMES
@ PLAYER_LOGIN_QUERY_LOAD_SEASONAL_QUEST_STATUS
@ PLAYER_LOGIN_QUERY_LOAD_SOCIAL_LIST
@ PLAYER_LOGIN_QUERY_LOAD_ACTIONS
@ PLAYER_LOGIN_QUERY_LOAD_SKILLS
@ PLAYER_LOGIN_QUERY_LOAD_BG_DATA
@ PLAYER_LOGIN_QUERY_LOAD_ACCOUNT_DATA
@ PLAYER_LOGIN_QUERY_LOAD_MAIL_DATE
@ PLAYER_LOGIN_QUERY_LOAD_VOID_STORAGE
@ PLAYER_LOGIN_QUERY_LOAD_INVENTORY
@ PLAYER_LOGIN_QUERY_LOAD_REPUTATION
@ PLAYER_LOGIN_QUERY_LOAD_RESEARCH_PROJECTS
@ PLAYER_LOGIN_QUERY_LOAD_MAIL_COUNT
@ PLAYER_LOGIN_QUERY_LOAD_FROM
@ PLAYER_LOGIN_QUERY_LOAD_QUEST_STATUS
@ PLAYER_LOGIN_QUERY_LOAD_BATTLE_PET_SLOTS
@ PLAYER_LOGIN_QUERY_LOAD_BATTLE_PETS
@ PLAYER_LOGIN_QUERY_LOAD_RESEARCH_DIGSITES
@ PLAYER_LOGIN_QUERY_LOAD_WEEKLY_QUEST_STATUS
@ PLAYER_LOGIN_QUERY_LOAD_MONTHLY_QUEST_STATUS
@ PLAYER_LOGIN_QUERY_LOAD_GUILD
@ PLAYER_LOGIN_QUERY_LOAD_EQUIPMENT_SETS
@ PLAYER_LOGIN_QUERY_LOAD_AURAS
@ PLAYER_LOGIN_QUERY_LOAD_TALENTS
@ PLAYER_LOGIN_QUERY_LOAD_BANNED
@ PLAYER_LOGIN_QUERY_LOAD_QUEST_OBJECTIVE_STATUS
@ PLAYER_LOGIN_QUERY_LOAD_GROUP
@ PLAYER_LOGIN_QUERY_LOAD_CRITERIA_PROGRESS
@ PLAYER_LOGIN_QUERY_LOAD_HOME_BIND
@ PLAYER_LOGIN_QUERY_LOAD_SPELLS
@ PLAYER_LOGIN_QUERY_LOAD_BOUND_INSTANCES
@ PLAYER_LOGIN_QUERY_LOAD_CUF_PROFILES
@ PLAYER_LOGIN_QUERY_LOAD_RANDOM_BG
@ PLAYER_LOGIN_QUERY_LOAD_ACHIEVEMENTS
UNORDERED_MAP< uint32, ResearchProjectHistory > ResearchHistoryMap
std::list< Item * > ItemDurationList
Skyfire::AutoPtr< PreparedResultSet, Skyfire::Mutex > PreparedQueryResult
#define MAX_POWERS_PER_CLASS
@ GROUP_REMOVEMETHOD_DEFAULT
#define VOID_STORAGE_MAX_SLOT
#define MAX_GLYPH_SLOT_INDEX
#define CLASSMASK_ALL_PLAYABLE
#define RACEMASK_ALL_PLAYABLE
#define PLAYER_MAX_BATTLEGROUND_QUEUES
@ SPELL_AURA_ALLOW_TAME_PET_TYPE
Skyfire::AutoPtr< Transaction, Skyfire::Mutex > SQLTransaction
#define MAX_COMBAT_RATING
@ PLAYER_FIELD_CHARACTER_POINTS
@ PLAYER_FIELD_SHIELD_BLOCK
@ PLAYER_FIELD_GLYPH_SLOTS
@ PLAYER_FIELD_PLAYER_FLAGS
@ PLAYER_FIELD_GUILD_RANK_ID
@ PLAYER_FIELD_ARENA_FACTION
@ PLAYER_FIELD_LOOT_SPEC_ID
@ PLAYER_FIELD_GUILD_LEVEL
@ PLAYER_FIELD_REST_STATE
T CalculatePct(T base, U pct)
void AddToUpdateQueueOf(Player *player)
void RemoveFromUpdateQueueOf(Player *player)
void _RewardHonor(Player *player)
void _RewardPlayer(Player *player, bool isDungeon)
void _InitXP(Player *player)
void _RewardReputation(Player *player, float rate)
Player * _maxNotGrayMember
void _RewardXP(Player *player, float rate)
KillRewarder(Player *killer, Unit *victim, bool isBattleGround)
void _RewardKillCredit(Player *player)
uint8 GetByteValue(uint16 index, uint8 offset) const
void SetByteValue(uint16 index, uint8 offset, uint8 value)
uint32 GetUInt32Value(uint16 index) const
void SetFlag(uint16 index, uint32 newFlag)
void RemoveFlag(uint16 index, uint32 oldFlag)
uint64 GetUInt64Value(uint16 index) const
bool HasFlag(uint16 index, uint32 flag) const
void SetUInt32Value(uint16 index, uint32 value)
void SetUInt64Value(uint16 index, uint64 value)
bool BuyCurrencyFromVendorSlot(ObjectGuid VendorGUID, uint32 vendorSlot, uint32 currency, uint32 count)
void SetSemaphoreTeleportNear(bool semphsetting)
void setFactionForRace(uint8 race)
bool StoreNewItemInBestSlots(uint32 item_id, uint32 item_count)
void AddNewMailDeliverTime(time_t deliver_time)
bool IsAtRecruitAFriendDistance(WorldObject const *pOther) const
void SendNotifyLootMoneyRemoved(ObjectGuid guid)
void UpdateParryPercentage()
void ReputationChanged(FactionEntry const *factionEntry)
int8 GetComboPoints() const
void SendMirrorTimer(MirrorTimerType Type, uint32 MaxValue, uint32 CurrentValue, int32 Regen)
InstanceTimeMap _instanceResetTimes
void SendEquipError(InventoryResult msg, Item *pItem, Item *pItem2=NULL, uint32 itemid=0)
static uint32 GetGuildIdFromDB(uint64 guid)
void UpdateAllSpellCritChances()
void Initialize(uint32 guid)
void UpdateArmorPenetration(int32 amount)
void CheckAreaExploreAndOutdoor(void)
static uint32 GetUInt32ValueFromArray(Tokenizer const &data, uint16 index)
void SendInitialPacketsAfterAddToMap()
void ResetSeasonalQuestStatus(uint16 event_id)
uint8 GetGrantableLevels() const
static DifficultyID CheckLoadedRaidDifficultyID(DifficultyID difficulty)
void _LoadDeclinedNames(PreparedQueryResult result)
void ActivateSpec(uint8 spec)
uint32 GetCurrencyOnWeek(uint32 id, bool usePrecision) const
return count of currency gaind on current week
void Yell(std::string const &text, const Language language)
Handles yelled message in regular chat based on declared language and in config pre-defined Range.
void UpdateRestAreaState()
void UnbindInstance(uint32 mapid, DifficultyID difficulty, bool unload=false)
std::string GetMapAreaAndZoneString()
void ItemRemovedQuestCheck(uint32 entry, uint32 count)
void SendExplorationExperience(uint32 Area, uint32 Experience)
uint32 GetArmorProficiency() const
GroupReference m_originalGroup
static bool IsEquipmentPos(uint16 pos)
float GetMeleeCritFromAgility()
void SetSpellModTakingSpell(Spell *spell, bool apply)
bool HasTitle(uint32 bitIndex)
void _ApplyAllLevelScaleItemMods(bool apply)
bool _StoreOrEquipNewItem(uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot, int32 price, ItemTemplate const *pProto, Creature *pVendor, VendorItem const *crItem, bool bStore)
InventoryResult CanUnequipItem(uint16 src, bool swap) const
void RewardQuest(Quest const *quest, uint32 reward, Object *questGiver, bool announce=true)
void AutoStoreLoot(uint8 bag, uint8 slot, uint32 loot_id, LootStore const &store, bool broadcast=false)
void RemoveAtLoginFlag(AtLoginFlags flags, bool persist=false)
void SendPreparedQuest(uint64 guid)
void SetTalentResetTime(time_t time_)
void SetInGuild(uint32 guildId)
uint32 m_temporaryUnsummonedPetNumber
bool IsBaseRuneSlotsOnCooldown(RuneType runeType) const
void SendCinematicStart(uint32 CinematicSequenceId)
QuestStatusMap m_QuestStatus
std::set< uint32 > SeasonalQuestSet
float m_powerFraction[MAX_POWERS_PER_CLASS]
uint32 m_ChampioningFaction
void CalculateMinMaxDamage(WeaponAttackType attType, bool normalized, bool addTotalPct, float &min_damage, float &max_damage)
void RemoveRunesByAuraEffect(AuraEffect const *aura)
uint32 GetQuestObjectiveCounter(uint32 objectiveId) const
bool InBattlegroundQueueForBattlegroundQueueType(BattlegroundQueueTypeId bgQueueTypeId) const
void _LoadCUFProfiles(PreparedQueryResult result)
void SendAttackSwingCancelAttack()
void SendRaidDifficulty(int32 forcedDifficulty=-1)
bool m_bHasDelayedTeleport
void ScheduleDelayedOperation(uint32 operation)
void SaveInventoryAndGoldToDB(SQLTransaction &trans)
static bool BuildEnumData(PreparedQueryResult result, ByteBuffer *dataBuffer, ByteBuffer *bitBuffer, bool boosted=false)
void UpdateRuneRegen(RuneType rune)
void removeActionButton(uint8 button)
WorldLocation & GetTeleportDest()
DifficultyID m_dungeonDifficulty
bool CanUseBattlegroundObject(GameObject *gameobject)
void SetBGTeam(uint32 team)
void StartTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry, uint32 timeLost=0)
bool IsKnowHowFlyIn(uint32 mapid, uint32 zone) const
void _SaveWeeklyQuestStatus(SQLTransaction &trans)
std::set< uint64 > ClientGUIDs
void UpdateResearchDigsites()
void HandleFall(MovementInfo const &movementInfo)
void SetLastPotionId(uint32 item_id)
int32 GetQuestLevel(Quest const *quest) const
void UpdateDamagePhysical(WeaponAttackType attType) override
float GetHealthBonusFromStamina()
InstancePlayerBind * GetBoundInstance(uint32 mapid, DifficultyID difficulty)
void _LoadResearchProjects(PreparedQueryResult result)
void RemoveItemDependentAurasAndCasts(Item *pItem)
void _SaveMail(SQLTransaction &trans)
void Whisper(std::string const &text, const Language language, uint64 receiver)
Handles whispers from Addons and players based on sender, receiver's guid and language.
void SetOriginalGroup(Group *group, int8 subgroup=-1)
bool HasPvPForcingQuest() const
void TalkedToCreature(uint32 entry, uint64 guid)
void SendProficiency(ItemClass itemClass, uint32 itemSubclassMask)
void UpdateNextMailTimeAndUnreads()
bool AddItem(uint32 itemId, uint32 count)
uint64 GetAuraUpdateMaskForRaid() const
bool SatisfyQuestSeasonal(Quest const *qInfo, bool msg)
float GetInnAreaBoxOrientation() const
uint32 GetNextResetTalentsCost() const
uint32 m_chiPowerDegenTimerCount
bool IsInSameRaidWith(Player const *p) const
void RemoveSpellMods(Spell *spell)
ReputationMgr * m_reputationMgr
void UpdateEnchantTime(uint32 time)
std::vector< Item * > m_itemUpdateQueue
float m_auraBaseMod[BASEMOD_END][MOD_END]
WorldLocation m_teleport_dest
void ToggleMetaGemsActive(uint8 exceptslot, bool apply)
bool ModifyMoney(int64 amount, bool sendError=true)
void SendCanTakeQuestResponse(QuestFailedReason msg) const
uint8 GetCUFProfilesCount() const
uint32 GetSaveTimer() const
InventoryResult CanEquipItem(uint8 slot, uint16 &dest, Item *pItem, bool swap, bool not_loading=true) const
bool UpdateFishingSkill()
void InitPrimaryProfessions()
void SetChampioningType(uint8 type)
bool HasResearchingProject(uint32 projectId) const
void InitTalentForLevel()
void SetGuildIdInvited(uint32 GuildId)
void UpdateDodgePercentage()
void TextEmote(std::string const &text)
Outputs an universal text which is supposed to be an action.
ClientGUIDs m_clientGUIDs
std::set< uint32 > m_refundableItems
PlayerTalentInfo * _talentMgr
void SetDivider(uint64 guid)
void SendRemoveControlBar()
static void DeleteOldCharacters()
void _LoadGlyphs(PreparedQueryResult result)
BattlegroundTypeId GetBattlegroundTypeId() const
void _LoadBGData(PreparedQueryResult result)
uint16 GetQuestSlotCounter(uint16 slot, uint8 counter) const
uint32 GetGuildId() const
InventoryResult CanEquipNewItem(uint8 slot, uint16 &dest, uint32 item, bool swap) const
ResearchDigsite * GetResearchDigsiteForFind(GameObject const *go) const
bool IsBeingTeleportedFar() const
ResearchDigsite * GetCurrentResearchDigsite()
float GetTotalPercentageModValue(BaseModGroup modGroup) const
void UpdateLocalChannels(uint32 newZone)
void _LoadQuestObjectiveStatus(PreparedQueryResult result)
void InitGlyphsForLevel()
ItemDurationList m_itemDuration
void UpdateContestedPvP(uint32 currTime)
void SetRestTime(uint32 v)
void _SaveSpellCooldowns(SQLTransaction &trans)
void SetLastUsedRune(RuneType type)
void GiveLevel(uint8 level)
QuestStatusMap & getQuestStatusMap()
void _SaveCurrency(SQLTransaction &trans)
void BuildPetTalentsInfoData(WorldPacket *data)
void SendUpdateToOutOfRangeGroupMembers()
bool SatisfyQuestExclusiveGroup(Quest const *qInfo, bool msg)
ResearchProjectMap _researchProjects
void UpdateMaxPower(Powers power) override
void IncompleteQuest(uint32 quest_id)
void Regenerate(Powers power)
ResearchDigsiteInfo const * GetRandomResearchDigsiteForContinent(uint32 mapId)
void SetGroupUpdateFlag(uint32 flag)
uint32 GetSpecializationResetTime() const
uint32 GetTemporaryUnsummonedPetNumber() const
Bag * GetBagByPos(uint8 slot) const
void SetSeer(WorldObject *target)
uint32 EnvironmentalDamage(EnviromentalDamage type, uint32 damage)
void ApplyItemEquipSpell(Item *item, bool apply, bool form_change=false)
void _LoadVoidStorage(PreparedQueryResult result)
void SetGameMaster(bool on)
void QuickEquipItem(uint16 pos, Item *pItem)
AchievementMgr< Player > * m_achievementMgr
uint32 GetTotalPlayedTime() const
void ApplyRatingMod(CombatRating cr, int32 value, bool apply)
void _LoadQuestStatusRewarded(PreparedQueryResult result)
bool m_MonthlyQuestChanged
ResearchHistoryMap _researchHistory
DifficultyID m_raidMapDifficulty
void DuelComplete(DuelCompleteType type)
RewardedQuestSet const & getRewardedQuests() const
void UpdateCritPercentage(WeaponAttackType attType)
uint8 GetDrunkValue() const
void learnDefaultSpells()
InventoryResult CanRollForItemInLFG(ItemTemplate const *item, WorldObject const *lootedObject) const
void SetRuneCooldown(uint8 index, uint32 cooldown)
bool HasItemFitToSpellRequirements(SpellInfo const *spellInfo, Item const *ignoreItem=NULL) const
SkillStatusMap mSkillStatus
void SendSellResponse(SellResult msg, ObjectGuid VendorGUID, ObjectGuid ItemGUID)
uint16 GetSkillValue(uint32 skill) const
Item * BankItem(ItemPosCountVec const &dest, Item *pItem, bool update)
void SendGameError(GameError error, uint32 arg1=0, uint32 arg2=0)
void CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32 procVictim, uint32 procEx)
void SetInWater(bool apply)
BoundInstancesMap m_boundInstances[15]
void ReadMovementInfo(WorldPacket &data, MovementInfo *mi, Movement::ExtraMovementStatusElement *extras=NULL)
uint32 GetBlockPercent() const override
void SetAcceptWhispers(bool on)
bool IsUnderWater() const override
void AddComboPoints(Unit *target, int8 count, Spell *spell=NULL)
bool GetQuestRewardStatus(uint32 quest_id) const
void SendAutoRepeatCancel(Unit *target)
BattlePetMgr * GetBattlePetMgr()
void DestroyForPlayer(Player *target, bool onDeath=false) const override
void SplitItem(uint16 src, uint16 dst, uint32 count)
void AddTemporarySpell(uint32 spellId)
uint32 GetRestTime() const
uint32 GetTalentSpecialization(uint8 spec) const
void SendCurrencies() const
send full data about all currencies to client
time_t m_lastHonorUpdateTime
InventoryResult CanEquipUniqueItem(Item *pItem, uint8 except_slot=NULL_SLOT, uint32 limit_count=1) const
void ProhibitSpellSchool(SpellSchoolMask idSchoolMask, uint32 unTimeMs) override
void SetGrantableLevels(uint8 val)
void UpdateSkillsToMaxSkillsForLevel()
void _LoadAuras(PreparedQueryResult result, uint32 timediff)
void SetDungeonDifficulty(DifficultyID dungeon_difficulty)
void SendBGWeekendWorldStates()
Item * GetItemByEntry(uint32 entry) const
bool HasCompletedAllCommonProjectsForRace(uint32 researchBranchId, bool onlyAvailable) const
uint16 FindQuestSlot(uint32 quest_id) const
void UpdateDuelFlag(time_t currTime)
void SetTarget(uint64) OVERRIDE
Item * GetUseableItemByPos(uint8 bag, uint8 slot) const
void BuildEnchantmentsInfoData(WorldPacket *data)
void SetCanParry(bool value)
uint8 m_forced_speed_changes[MAX_MOVE_TYPE]
static bool IsValidClass(uint8 Class)
GroupReference & GetGroupRef()
void KilledMonsterCredit(uint32 entry, uint64 guid=0)
float inn_area_box_orientation
GroupReference & GetOriginalGroupRef()
bool UpdateSkill(uint32 skill_id, uint32 step)
void _SaveAuras(SQLTransaction &trans)
float GetRatingBonusValue(CombatRating cr) const
bool CanTameExoticPets() const
void SendDirectMessage(WorldPacket *data)
bool CanFly() const override
InventoryResult CanStoreItem(uint8 bag, uint8 slot, ItemPosCountVec &dest, Item *pItem, bool swap=false) const
void SetBaseModValue(BaseModGroup modGroup, BaseModType modType, float value)
void CharmSpellInitialize()
void SetCanTitanGrip(bool value)
void UpdateInnerTime(time_t time)
void KilledMonster(CreatureTemplate const *cInfo, uint64 guid)
void SetTemporaryUnsummonedPetNumber(uint32 petnumber)
DeclinedName const * GetDeclinedNames() const
DifficultyID m_raidDifficulty
void SendDungeonDifficulty()
void ReputationChanged2(FactionEntry const *factionEntry)
void _LoadSeasonalQuestStatus(PreparedQueryResult result)
uint32 GetBattlegroundQueueJoinTime(BattlegroundTypeId bgTypeId) const
bool HasItemCount(uint32 item, uint32 count=1, bool inBankAlso=false) const
void SendLootRelease(ObjectGuid guid)
bool Create(uint32 guidlow, CharacterCreateInfo *createInfo)
void GetDodgeFromAgility(float &diminishing, float &nondiminishing)
void Update(uint32 time) override
void SetGroup(Group *group, int8 subgroup=-1)
void SetAuraUpdateMaskForRaid(uint8 slot)
void CleanupsBeforeDelete(bool finalCleanup=true) override
void SetRestBonus(float rest_bonus_new)
float GetTotalBaseModValue(BaseModGroup modGroup) const
void DeleteResearchDigsite(ResearchDigsite *digsite)
bool isBeingLoaded() const override
void RemoveSpellCategoryCooldown(uint32 cat, bool update=false)
float GetCollisionHeight(bool mounted) const
Return collision height sent to client.
uint32 GetUsedTalentCount() const
bool HaveAtClient(WorldObject const *u) const
void SendTalentsInfoData()
DFQuestsDoneList m_DFQuests
void SetActiveSpec(uint8 spec)
void UpdatePvPState(bool onlyFFA=false)
void DurabilityLossAll(double percent, bool inventory)
void UpdateBlockPercentage()
bool IsInvitedForBattlegroundQueueType(BattlegroundQueueTypeId bgQueueTypeId) const
bool CanTakeQuest(Quest const *quest, bool msg)
bool CanCompleteQuest(uint32 quest_id)
bool SatisfyQuestDay(Quest const *qInfo, bool msg)
bool IsResearchDigsiteAvailable(ResearchDigsiteInfo const *digsiteInfo) const
bool HasQuestForItem(uint32 itemId) const
void _SaveMonthlyQuestStatus(SQLTransaction &trans)
uint32 GetNextResetSpecializationCost() const
uint32 GetDeathTimer() const
bool m_WeeklyQuestChanged
ItemDurationList m_itemSoulboundTradeable
bool UpdateCraftSkill(uint32 spellid)
void SendAurasForTarget(Unit *target)
BattlePetMgr * m_battlePetMgr
void SendQuestConfirmAccept(Quest const *quest, Player *pReceiver)
void SetLootSpecialization(uint32 specialization)
void SetQuestStatus(uint32 quest_id, QuestStatus status)
bool RemoveTalent(uint32 talentId)
uint8 GetBankBagSlotCount() const
void SetBattlegroundEntryPoint()
std::set< uint64 > m_lootView
bool InBattleground() const
void _LoadResearchHistory(PreparedQueryResult result)
void ApplySpellPenetrationBonus(int32 amount, bool apply)
bool IsMirrorTimerActive(MirrorTimerType type)
uint32 GetXPRestBonus(uint32 xp)
void DurabilityPointLossForEquipSlot(EquipmentSlots slot)
void GiveXP(uint32 xp, Unit *victim, float group_rate=1.0f)
void InnEnter(time_t time, uint32 mapid, float x, float y, float z, float radius=0.0f, float boxX=0.0f, float boxY=0.0f, float boxZ=0.0f, float boxOrientation=0.0f)
float GetManaSpecializationMultiplier()
void SetSpecializationResetCost(uint32 cost)
void ReadyCheckComplete()
void CompletedAchievement(AchievementEntry const *entry)
bool addSpell(uint32 spellId, bool active, bool learning, bool dependent, bool disabled, bool loading=false)
bool HasSpellCooldown(uint32 spell_id) const
std::set< uint32 > DFQuestsDoneList
bool IsResearchBranchUnlocked(uint32 researchBranchId) const
bool inRandomLfgDungeon()
void SetRegularAttackTime()
bool RemoveMItem(uint32 id)
void SetBaseRune(uint8 index, RuneType baseRune)
void SetGroupInvite(Group *group)
uint32 m_DelayedOperations
bool IsInWater() const override
void _LoadTalents(PreparedQueryResult result)
void RemoveItemFromBuyBackSlot(uint32 slot, bool del)
void UpdateZone(uint32 newZone, uint32 newArea)
void SetDrunkValue(uint8 newDrunkValue, uint32 itemId=0)
void SetMonthlyQuestStatus(uint32 quest_id)
void SendPreparedGossip(WorldObject *source)
void RemoveMail(uint32 id)
void setWeaponChangeTimer(uint32 time)
bool HasFreeBattlegroundQueueId()
bool HasItemOrGemWithIdEquipped(uint32 item, uint32 count, uint8 except_slot=NULL_SLOT) const
void SendMovementSetCollisionHeight(float height)
bool IsSpellFitByClassAndRace(uint32 spell_id) const
float GetReputationPriceDiscount(Creature const *creature) const
void UpdateArmor() override
EquipmentSets m_EquipmentSets
void RemoveFromBattlegroundOrBattlefieldRaid()
bool IsPetNeedBeTemporaryUnsummoned() const
void UpdateForQuestWorldObjects()
uint32 GetGlyphSlot(uint8 slot) const
void _SaveStats(SQLTransaction &trans)
void PetSpellInitialize()
void AddInstanceEnterTime(uint32 instanceId, time_t enterTime)
InstanceSave * GetInstanceSave(uint32 mapid)
uint64 m_lastGuildInviterGUID
bool HasTitle(CharTitlesEntry const *title)
uint32 GetArenaPersonalRating(uint8) const
void SetSeasonalQuestStatus(uint32 quest_id)
void DropModCharge(SpellModifier *mod, Spell *spell)
void UpdateEquipSpellsAtFormChange()
uint32 GetBaseSpellPowerBonus() const
Returns base spellpower bonus from spellpower stat on items, without spellpower from intellect stat.
GlobalCooldownMgr m_GlobalCooldownMgr
const Group * GetGroup() const
void LeaveBattleground(bool teleportToEntryPoint=true)
void ContinueTaxiFlight()
void SetFallInformation(uint32 time, float z)
void SendInitialPacketsBeforeAddToMap()
void GroupEventHappens(uint32 questId, WorldObject const *pEventObject)
bool CanRewardQuest(Quest const *quest, bool msg)
void setRegenTimerCount(uint32 time)
void SaveCUFProfile(uint8 id, CUFProfile *profile)
InventoryResult CanTakeMoreSimilarItems(uint32 entry, uint32 count) const
void ApplyEnchantment(Item *item, EnchantmentSlot slot, bool apply, bool apply_dur=true, bool ignore_condition=false)
void UpdateVisibilityOf(WorldObject *target)
void _SaveTalents(SQLTransaction &trans)
QuestObjectiveStatusMap m_questObjectiveStatus
Item * EquipNewItem(uint16 pos, uint32 item, bool update)
bool HasPendingBind() const
bool SatisfyQuestConditions(Quest const *qInfo, bool msg)
void ResurectUsingRequestData()
void AddBattlegroundQueueJoinTime(BattlegroundTypeId bgTypeId, uint32 joinTime)
static uint32 GetLevelFromDB(uint64 guid)
SpellModList m_spellMods[MAX_SPELLMOD]
uint32 GetTalentResetTime() const
void SendOnCancelExpectedVehicleRideAura()
bool HasActiveSpell(uint32 spell) const
void AddQuest(Quest const *quest, Object *questGiver)
void AddItemToBuyBackSlot(Item *pItem)
bool SatisfyQuestPrevChain(Quest const *qInfo, bool msg)
void ResetMonthlyQuestStatus()
void KillCreditGO(uint32 entry, uint64 guid=0)
void SetSelection(uint64 guid)
Used for serverside target changes, does not apply to players.
void SetTalentResetCost(uint32 cost)
void ResetDailyQuestStatus()
void RecalculateRating(CombatRating cr)
bool CanAddQuest(Quest const *quest, bool msg)
void _SaveBGData(SQLTransaction &trans)
bool IsRessurectRequested() const
bool IsNeedCastPassiveSpellAtLearn(SpellInfo const *spellInfo) const
bool CheckInstanceCount(uint32 instanceId) const
void SetGlyphSlot(uint8 slot, uint32 slottype)
void SetObjectScale(float scale) override
void UpdateTriggerVisibility()
void SendItemRefundResult(Item *item, ItemExtendedCostEntry const *iece, uint8 error)
void AddEnchantmentDurations(Item *item)
void SendMailResult(uint32 mailId, MailResponseType mailAction, MailResponseResult mailError, uint32 equipError=0, uint32 item_guid=0, uint32 item_count=0)
void RemoveTemporarySpell(uint32 spellId)
void TradeCancel(bool sendback, TradeStatus status=TRADE_STATUS_CANCELLED)
bool IsLootingObject(uint64 guid) const
void ResyncRunes(uint8 count)
void SendInitialVisiblePackets(Unit *target)
bool IsAtGroupRewardDistance(WorldObject const *pRewardSource) const
bool UpdateStats(Stats stat) override
bool CanTitanGrip() const
void SwapItem(uint16 src, uint16 dst)
void _RemoveAllItemMods()
bool HasItemOrGemWithLimitCategoryEquipped(uint32 limitCategory, uint32 count, uint8 except_slot=NULL_SLOT) const
uint32 GetResurrectionSpellId()
ActionButtonList const & GetActionButtons() const
DifficultyID GetDifficulty(MapEntry const *mapEntry) const
uint16 GetReqKillOrCastCurrentCount(uint32 quest_id, int32 entry)
void SendUpdateWorldState(uint32 Field, uint32 Value)
uint64 GetLootGUID() const
void _ApplyItemBonuses(ItemTemplate const *proto, uint8 slot, bool apply, bool only_level_scale=false)
PlayerCurrenciesMap _currencyStorage
uint32 cinematicClientStartTime
void ShowNeutralPlayerFactionSelectUI()
static void SavePositionInDB(uint32 mapid, float x, float y, float z, float o, uint32 zone, uint64 guid)
void RemoveRewardedQuest(uint32 quest_id)
PlayerMails::iterator GetMailBegin()
void UpdateSoulboundTradeItems()
bool m_SeasonalQuestChanged
void UpdateUnderwaterState(Map *m, float x, float y, float z) override
void PrepareQuestMenu(uint64 guid)
uint16 GetPureSkillValue(uint32 skill) const
friend class WorldSession
uint8 GetRunesState() const
void SendDuelCountdown(uint32 counter)
bool IsTwoHandUsed() const
InventoryResult CanStoreItems(Item **pItem, int count) const
void _ApplyWeaponDependentAuraDamageMod(Item *item, WeaponAttackType attackType, AuraEffect const *aura, bool apply)
void RemoveTradeableItem(Item *item)
bool HasAchieved(uint32 achievementId) const
void SetAtLoginFlag(AtLoginFlags f)
void CompleteQuest(uint32 quest_id)
bool HasTalent(uint32 spell_id, uint8 spec) const
Item * _StoreItem(uint16 pos, Item *pItem, uint32 count, bool clone, bool update)
void SetCanBlock(bool value)
bool GetCommandStatus(uint32 command) const
int16 GetSkillTempBonusValue(uint32 skill) const
void WhisperAddon(std::string const &text, std::string const &prefix, Player *receiver)
void RestoreBaseRune(uint8 index)
int16 GetSkillPermBonusValue(uint32 skill) const
void SendMovementSetCanTransitionBetweenSwimAndFly(bool apply)
ResearchDigsite * _researchDigsites[RESEARCH_CONTINENT_COUNT][MAX_DIGSITES_PER_CONTINENT]
Item * StoreItem(ItemPosCountVec const &pos, Item *pItem, bool update)
WorldSession * GetSession() const
void DeleteEquipmentSet(uint64 setGuid)
OutdoorPvP * GetOutdoorPvP() const
Item * GetItemByGuid(uint64 guid) const
void SendQuestFailed(uint32 questId, InventoryResult reason=EQUIP_ERR_OK)
bool IsActionButtonDataValid(uint8 button, uint32 action, ActionButtonType type)
void UpdateSpellHitChances()
void _ApplyWeaponDamage(uint8 slot, ItemTemplate const *proto, ScalingStatValuesEntry const *ssv, bool apply)
void DestroyConjuredItems(bool update)
void UpdateAreaDependentAuras(uint32 area_id)
ResearchDigsite * TryToSpawnResearchDigsiteOnContinent(uint32 mapId)
Item * GetItemByPos(uint16 pos) const
void outDebugValues() const
bool HasSkill(uint32 skill) const
void UpdatePotionCooldown(Spell *spell=NULL)
bool IsInvitedForBattlegroundInstance(uint32 instanceId) const
void UpdateExpertise(WeaponAttackType attType)
void SetCommandStatusOn(uint32 command)
void _ApplyAllStatBonuses()
int32 GetSpellPenetrationItemMod() const
bool IsNeverVisible() const override
void SetViewpoint(WorldObject *target, bool apply)
void RemoveQuestSlotState(uint16 slot, uint32 state)
JoinedChannelsList m_channels
bool SatisfyQuestReputation(Quest const *qInfo, bool msg)
bool EnchantmentFitsRequirements(uint32 enchantmentcondition, int8 slot)
bool ResetTalents(bool noCost=false, bool resetTalents=true, bool resetSpecialization=true)
void UnsummonPetTemporaryIfAny()
void _LoadRandomBGStatus(PreparedQueryResult result)
void CheckDuelDistance(time_t currTime)
void SendQuestReward(Quest const *quest, uint32 XP)
uint32 m_currentBuybackSlot
uint32 GetLootSpecialization() const
static bool LoadPositionFromDB(uint32 &mapid, float &x, float &y, float &z, float &o, bool &in_flight, uint64 guid)
void SendClearAllCooldowns(Unit *target)
void RemoveFromGroup(RemoveMethod method=GROUP_REMOVEMETHOD_DEFAULT)
void RemoveBattlegroundQueueId(BattlegroundQueueTypeId val)
bool GetsRecruitAFriendBonus(bool forXP)
void SaveRecallPosition()
void UpdatePvPFlag(time_t currTime)
void UpdateCinematicVisibility()
void _LoadQuestStatus(PreparedQueryResult result)
bool CanSeeStartQuest(Quest const *quest)
void UpdateConquestCurrencyCap(uint32 currency)
Updates weekly conquest point cap (dynamic cap).
void ResetCurrencyWeekCap()
bool GetRandomWinner() const
uint32 _GetCurrencyWeekCap(const CurrencyTypesEntry *currency) const
DifficultyID GetRaidDifficulty() const
void SendSpellCooldown(uint32 spellId, uint32 cooldown)
uint32 GetInGameTime() const
static uint32 TeamForRace(uint8 race)
bool SatisfyQuestPreviousQuest(Quest const *qInfo, bool msg)
float GetBaseModValue(BaseModGroup modGroup, BaseModType modType) const
void _LoadMonthlyQuestStatus(PreparedQueryResult result)
void BuildCreateUpdateBlockForPlayer(UpdateData *data, Player *target) const override
uint16 GetMaxSkillValue(uint32 skill) const
void SetPassOnGroupLoot(bool bPassOnGroupLoot)
InventoryResult CanTakeMoreSimilarItems(Item *pItem) const
uint32 GetQuestSlotQuestId(uint16 slot) const
void ClearWhisperWhiteList()
void _ApplyWeaponDependentAuraCritMod(Item *item, WeaponAttackType attackType, AuraEffect const *aura, bool apply)
bool CanAlwaysSee(WorldObject const *obj) const override
uint32 GetGlyph(uint8 spec, uint8 slot) const
uint32 GetItemCount(uint32 item, bool inBankAlso=false, Item *skipItem=NULL) const
static void Customize(uint64 guid, uint8 gender, uint8 skin, uint8 face, uint8 hairStyle, uint8 hairColor, uint8 facialHair)
void DestroyItem(uint8 bag, uint8 slot, bool update)
bool IsCurrentSpecMasterySpell(SpellInfo const *spellInfo) const
ReputationMgr const & GetReputationMgr() const
void SwapQuestSlot(uint16 slot1, uint16 slot2)
void SendPvpRewards() const
send conquest currency points and their cap week/arena
void RemoveFromWhisperWhiteList(uint64 guid)
uint16 GetBaseSkillValue(uint32 skill) const
time_t m_nextMailDelivereTime
uint16 GetSkillStep(uint16 skill) const
void MoveItemFromInventory(uint8 bag, uint8 slot, bool update)
void RewardPlayerAndGroupAtKill(Unit *victim, bool isBattleGround)
uint32 cinematicVisibilityTimer
void UpdateSpecCount(uint8 count)
bool SatisfyQuestStatus(Quest const *qInfo, bool msg)
PlayerSpellMap const & GetSpellMap() const
void UpdateFallInformationIfNeed(MovementInfo const &minfo, uint16 opcode)
void ModifyCurrency(uint32 id, int32 count, bool printLog=true, bool ignoreMultipliers=false)
void SendRespondInspectAchievements(Player *player) const
void SetDelayedTeleportFlag(bool setting)
void _SaveResearchProjects(SQLTransaction &trans)
static bool IsInventoryPos(uint16 pos)
void SendTalentWipeConfirm(ObjectGuid guid, bool resetType)
GameObject * GetGameObjectIfCanInteractWith(uint64 guid, GameobjectTypes type) const
void SetQuestSlotCounter(uint16 slot, uint8 counter, uint16 count)
void KilledPlayerCredit()
bool CanNoReagentCast(SpellInfo const *spellInfo) const
void SendBattlefieldWorldStates()
PlayerTalentMap * GetTalentMap(uint8 spec)
uint16 GetPureMaxSkillValue(uint32 skill) const
void InitDataForForm(bool reapplyMods=false)
bool HasQuestForGO(int32 goId) const
uint32 DurabilityRepairAll(bool cost, float discountMod, bool guildBank)
bool CanShareQuest(uint32 questId) const
std::set< uint32 > QuestSet
uint32 GetCurrency(uint32 id, bool usePrecision) const
return count of currency witch has plr
bool IsMailsLoaded() const
void SetSkill(uint16 id, uint16 step, uint16 currVal, uint16 maxVal)
void UpdateVisibilityForPlayer()
uint32 GetCurrencyTotalCap(CurrencyTypesEntry const *currency) const
void ClearResurrectRequestData()
void ReputationChangedQuestCheck(FactionEntry const *factionEntry)
bool _LoadHomeBind(PreparedQueryResult result)
void ResetAchievementCriteria(AchievementCriteriaTypes type, uint64 miscValue1=0, uint64 miscValue2=0, bool evenIfCriteriaComplete=false)
void SetSemaphoreTeleportFar(bool semphsetting)
void SetRestType(RestType n_r_type)
bool InBattlegroundQueue() const
uint32 m_weaponChangeTimer
void SendSurveyCastInfo(ResearchDigsite *digsite, bool success)
WorldObject * GetViewpoint() const
bool UpdatePosition(const Position &pos, bool teleport=false)
bool HasCompletedResearchProject(uint32 projectId) const
void SendResetFailedNotify(uint32 mapid)
uint32 m_WeaponProficiency
bool mSemaphoreTeleport_Far
T ApplySpellMod(uint32 spellId, SpellModOp op, T &basevalue, Spell *spell=NULL)
void SetCurrentRune(uint8 index, RuneType currentRune)
void UpdateCorpseReclaimDelay()
void RemovePet(Pet *pet, PetSaveMode mode, bool returnreagent=false)
void learnSpellHighRank(uint32 spellid)
int32 CalculateReputationGain(ReputationSource source, uint32 creatureOrQuestLevel, int32 rep, int32 faction, bool noQuestBonus=false)
uint32 GetRuneCooldown(uint8 index) const
void DeleteVoidStorageItem(uint8 slot)
bool m_forcedTeleportFarSemaphore
VoidStorageItem * _voidStorageItems[VOID_STORAGE_MAX_SLOT]
void _SaveInstanceTimeRestrictions(SQLTransaction &trans)
void UpdateItemDuration(uint32 time, bool realtimeonly=false)
void learnSkillRewardedSpells(uint32 id, uint32 value)
void _ApplyItemMods(Item *item, uint8 slot, bool apply)
GlobalCooldownMgr & GetGlobalCooldownMgr()
float GetRatingMultiplier(CombatRating cr) const
void RemoveCategoryCooldown(uint32 cat)
bool TeleportToBGEntryPoint()
void AdjustQuestReqItemCount(Quest const *quest, QuestStatusData &questStatusData)
void _LoadSpells(PreparedQueryResult result)
void MoveItemToInventory(ItemPosCountVec const &dest, Item *pItem, bool update, bool in_characterInventoryDB=false)
int GetGuildIdInvited() const
void ApplyManaRegenBonus(int32 amount, bool apply)
DeclinedName * m_declinedname
uint8 GetNumOfVoidStorageFreeSlots() const
void InitTaxiNodesForLevel()
ActionButton const * GetActionButton(uint8 button)
bool IsHasDelayedTeleport() const
void _LoadSkills(PreparedQueryResult result)
void _LoadMailedItems(Mail *mail)
void SetDailyQuestStatus(uint32 quest_id)
Corpse * GetCorpse() const
uint64 GetDivider() const
int16 m_baseRatingValue[MAX_COMBAT_RATING]
void ApplyReforgeEnchantment(Item *item, bool apply)
bool SatisfyQuestClass(Quest const *qInfo, bool msg) const
Item * _LoadItem(SQLTransaction &trans, uint32 zoneId, uint32 timeDiff, Field *fields)
void AddSpellAndCategoryCooldowns(SpellInfo const *spellInfo, uint32 itemId, Spell *spell=NULL, bool infinityCooldown=false)
void DurabilityLoss(Item *item, double percent)
uint8 GetNextVoidStorageFreeSlot() const
uint32 GetWeaponProficiency() const
void RemoveLootedObject(uint64 guid)
Item * GetShield(bool useable=false) const
SpellCooldowns const & GetSpellCooldownMap() const
RewardedQuestSet m_RewardedQuests
void InitStatsForLevel(bool reapplyMods=false)
void SendInitWorldStates(uint32 zone, uint32 area)
void _SaveResearchHistory(SQLTransaction &trans)
void HandleSobering()
The player sobers by 1% every 9 seconds.
bool IsWithinResearchDigsite(ResearchDigsite *digsite) const
bool Satisfy(AccessRequirement const *ar, uint32 target_map, bool report=false)
Battleground * GetBattleground() const
uint32 GetGuildLevel() const
void _SaveQuestStatus(SQLTransaction &trans)
void SetQuestSlot(uint16 slot, uint32 quest_id, uint32 timer=0)
uint32 m_contestedPvPTimer
void UpdateResearchProjects()
uint32 GetTalentResetCost() const
void RemoveBattlegroundQueueJoinTime(BattlegroundTypeId bgTypeId)
static uint32 GetZoneIdFromDB(uint64 guid)
uint32 GetChampioningType() const
Player * GetTrader() const
void AddRuneByAuraEffect(uint8 index, RuneType newType, AuraEffect const *aura)
time_t GetTimeInnEnter() const
void ProcessDelayedOperations()
float GetAverageItemLevel()
uint8 FindEquipSlot(ItemTemplate const *proto, uint32 slot, bool swap) const
void SendInspectResult(Player const *player)
EnchantDurationList m_enchantDuration
void SendDeclineGuildInvitation(std::string declinerName, bool autoDecline=false)
float GetExpertiseDodgeOrParryReduction(WeaponAttackType attType) const
uint32 GetRandomResearchProjectForRace(uint32 researchBranchId)
void UpdateResistances(uint32 school) override
void SetCommandStatusOff(uint32 command)
void SetClientControl(Unit *target, uint8 allowMove)
void SendSavedInstances()
TradeData * GetTradeData() const
std::set< uint64 > const & GetLootView() const
bool UpdatePosition(float x, float y, float z, float orientation, bool teleport=false) override
bool IsActiveQuest(uint32 quest_id) const
void setDeathState(DeathState s) override
void SendQuestUpdateAddCredit(Quest const *quest, QuestObjective const *objective, ObjectGuid guid, uint16 oldCount, uint16 addCount)
void SendCorpseReclaimDelay(bool load=false)
Creature * GetNPCIfCanInteractWith(uint64 guid, uint32 npcflagmask)
void SetQuestSlotState(uint16 slot, uint32 state)
void _SaveSeasonalQuestStatus(SQLTransaction &trans)
void ResetWeeklyQuestStatus()
void SendRefundInfo(Item *item)
CUFProfile * GetCUFProfile(uint8 id) const
void AutoUnequipOffhandIfNeed(bool force=false)
UNORDERED_MAP< uint32, Item * > ItemMap
float GetInnAreaRadius() const
bool LoadFromDB(uint32 guid, SQLQueryHolder *holder)
void SetChampioningFaction(uint32 faction)
bool IsGroupVisibleFor(Player const *p) const
void UpdateSpellDamageAndHealingBonus()
bool SatisfyQuestLog(bool msg)
void RemoveEnchantmentDurations(Item *item)
uint32 m_Played_time[MAX_PLAYED_TIME_INDEX]
RuneType GetCurrentRune(uint8 index) const
void UpdateMaxHealth() override
bool IsGameMaster() const
void UpdateAchievementCriteria(AchievementCriteriaTypes type, uint64 miscValue1=0, uint64 miscValue2=0, uint64 miscValue3=0, Unit *unit=NULL)
InventoryResult CanStoreNewItem(uint8 bag, uint8 slot, ItemPosCountVec &dest, uint32 item, uint32 count, uint32 *no_space_count=NULL) const
void SendMovieStart(uint32 MovieId)
void SetPendingBind(uint32 instanceId, uint32 bindTimer)
void UpdateMeleeHitChances()
void SetQuestSlotTimer(uint16 slot, uint32 timer)
void SendPushToPartyResponse(Player *player, uint8 msg)
uint32 AddBattlegroundQueueId(BattlegroundQueueTypeId val)
Item * EquipItem(uint16 pos, Item *pItem, bool update)
void SetPvPDeath(bool on)
uint32 GetCurrencyWeekCap(uint32 id, bool usePrecision) const
return week cap by currency id
void removeSpell(uint32 spell_id, bool disabled=false, bool learn_low_rank=true)
bool OnArchaeologyFindUsed(GameObject *go)
void SendClearCooldown(uint32 spell_id, Unit *target)
void UpdateMirrorTimers()
void SetGlyph(uint8 slot, uint32 glyph)
void SetTalentSpecialization(uint8 spec, uint32 tree)
void _ApplyWeaponDependentAuraMods(Item *item, WeaponAttackType attackType, bool apply)
void ModifySkillBonus(uint32 skillid, int32 val, bool talent)
SpellCooldowns GetSpellCooldowns() const
TrainerSpellState GetTrainerSpellState(TrainerSpell const *trainer_spell) const
void SummonIfPossible(bool agree)
Item * m_items[PLAYER_SLOTS_COUNT]
bool IsAffectedBySpellmod(SpellInfo const *spellInfo, SpellModifier *mod, Spell *spell=NULL)
uint32 GetLastPetNumber() const
void _SaveVoidStorage(SQLTransaction &trans)
uint8 getCinematic() const
bool TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options=0)
void SetCanDelayTeleport(bool setting)
void DurabilityPointsLossAll(int32 points, bool inventory)
float GetSpellCritFromIntellect()
static void DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmChars=true, bool deleteFinally=false)
bool IsVisibleGloballyFor(Player const *player) const
uint32 GetRBGPersonalRating() const
void UpdateAllRunesRegen()
CinematicSequence * cinematicSequence
Pet * SummonPet(uint32 entry, float x, float y, float z, float ang, PetType petType, uint32 despwtime)
bool ActivateTaxiPathTo(std::vector< uint32 > const &nodes, Creature *npc=NULL, uint32 spellid=0)
void AddItemDurations(Item *item)
uint8 m_MirrorTimerFlagsLast
std::vector< ItemSetEffect * > ItemSetEff
bool SatisfyQuestMonth(Quest const *qInfo, bool msg)
void SendMessageToSetInRange(WorldPacket *data, float fist, bool self) override
uint32 GetCorpseReclaimDelay(bool pvp) const
void SetTitle(CharTitlesEntry const *title, bool lost=false)
bool IsBeingTeleportedNear() const
void SetSummonPoint(uint32 mapid, float x, float y, float z)
void SetSemaphoreTeleportForcedFar(bool semphsetting)
uint32 GetAchievementPoints() const
bool SatisfyQuestTimed(Quest const *qInfo, bool msg)
ResurrectionData * _resurrectionData
time_t m_lastDailyQuestTime
void AddSpellCooldown(uint32 spell_id, uint32 itemid, time_t end_time)
void learnSpell(uint32 spell_id, bool dependent)
bool IsRessurectRequestedBy(uint64 guid) const
void SetWeeklyQuestStatus(uint32 quest_id)
uint32 DurabilityRepair(uint16 pos, bool cost, float discountMod, bool guildBank)
uint8 GetActiveSpec() const
std::string GetGuildName()
void _LoadGroup(PreparedQueryResult result)
static void ConvertInstancesToGroup(Player *player, Group *group, bool switchLeader)
convert the player's binds to the group
void SetEquipmentSet(uint32 index, EquipmentSet const &eqset)
bool CanJoinToBattleground(Battleground const *bg) const
static bool IsBagPos(uint16 pos)
void SetRank(uint8 rankId)
PartyResult CanUninviteFromGroup() const
BgBattlegroundQueueID_Rec m_bgBattlegroundQueueID[PLAYER_MAX_BATTLEGROUND_QUEUES]
void UpdateSkillEnchantments(uint16 skill_id, uint16 curr_value, uint16 new_value)
bool mSemaphoreTeleport_Near
static void RemoveFromGroup(Group *group, uint64 guid, RemoveMethod method=GROUP_REMOVEMETHOD_DEFAULT, uint64 kicker=0, const char *reason=NULL)
uint32 GetReputation(uint32 factionentry) const
void ApplyEquipCooldown(Item *pItem)
void UpdateRangedHitChances()
InventoryResult CanStoreItem_InInventorySlots(uint8 slot_begin, uint8 slot_end, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool merge, Item *pSrcItem, uint8 skip_bag, uint8 skip_slot) const
void OnGossipSelect(WorldObject *source, uint32 gossipListId, uint32 menuId)
void PossessSpellInitialize()
void DestroyItemCount(uint32 item, uint32 count, bool update, bool unequip_check=false)
void _LoadWeeklyQuestStatus(PreparedQueryResult result)
void UpdateZoneDependentAuras(uint32 zone_id)
void AreaExploredOrEventHappens(uint32 questId)
WhisperListContainer WhisperList
void SetGMVisible(bool on)
std::vector< Item * > & GetItemUpdateQueue()
void RestoreAllSpellMods(uint32 ownerAuraId=0, Aura *aura=NULL)
bool isHonorOrXPTarget(Unit const *victim)
void AddTradeableItem(Item *item)
void SendResetInstanceSuccess(uint32 MapId)
void SetReputation(uint32 factionentry, uint32 value)
void StoreLootItem(uint8 lootSlot, Loot *loot, uint64 lootGuid=0)
bool TakeQuestSourceItem(uint32 questId, bool msg)
void ResetInstances(InstanceResetMethod method, bool isRaid)
Reset all solo instances and optionally send a message on success for each.
uint32 GetBattlegroundQueueIndex(BattlegroundQueueTypeId bgQueueTypeId) const
void ApplySpellPowerBonus(int32 amount, bool apply)
int32 m_MirrorTimer[MAX_TIMERS]
void SetSheath(SheathState sheathed) override
void UpdateAllCritPercentages()
Item * GetItemFromBuyBackSlot(uint32 slot)
void RemoveItemDurations(Item *item)
void SetLastGuildInviterGUID(uint64 guid)
void MoneyChanged(uint32 value)
QuestStatus GetQuestStatus(uint32 quest_id) const
void SetLootGUID(uint64 guid)
uint32 GetRuneBaseCooldown(uint8 index) const
float GetInnAreaBoxY() const
void ConvertRune(uint8 index, RuneType newType)
UNORDERED_MAP< uint32, SeasonalQuestSet > SeasonalEventQuestMap
MapReference & GetMapRef()
void SaveToDB(bool create=false)
bool CanCompleteRepeatableQuest(Quest const *quest)
void SendEnchantmentDurations()
bool SatisfyQuestSkill(Quest const *qInfo, bool msg) const
void _LoadActions(PreparedQueryResult result)
InventoryResult CanStoreItem_InBag(uint8 bag, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool merge, bool non_specialized, Item *pSrcItem, uint8 skip_bag, uint8 skip_slot) const
void AddRefundReference(uint32 it)
static void RemovePetitionsAndSigns(uint64 guid, uint32 type)
PlayerTalentMap const * GetTalentMap(uint8 spec) const
bool HasCurrency(uint32 id, uint32 count) const
return presence related currency
void _SaveEquipmentSets(SQLTransaction &trans)
static uint32 const infinityCooldownDelayCheck
void StopCastingBindSight()
void _LoadCurrency(PreparedQueryResult result)
uint32 GetBattlegroundId() const
PlayerSocial * GetSocial()
static bool IsValidGender(uint8 Gender)
void SendMessageToSet(WorldPacket *data, bool self) override
void SendCooldownEvent(SpellInfo const *spellInfo, uint32 itemId=0, Spell *spell=NULL, bool setCooldown=true)
bool IsAlwaysDetectableFor(WorldObject const *seer) const override
void AddArmorProficiency(uint32 newflag)
bool SatisfyQuestLevel(Quest const *qInfo, bool msg)
uint32 GetSpellCooldownDelay(uint32 spell_id) const
void SaveResearchDigsiteToDB(ResearchDigsite *digsite)
bool UpdateAllStats() override
void SendLogXPGain(uint32 GivenXP, Unit *victim, uint32 BonusXP, bool recruitAFriend=false, float group_rate=1.0f)
InventoryResult CanBankItem(uint8 bag, uint8 slot, ItemPosCountVec &dest, Item *pItem, bool swap, bool not_loading=true) const
uint32 GetItemCountWithLimitCategory(uint32 limitCategory, Item *skipItem=NULL) const
void SetRaidDifficulty(DifficultyID raid_difficulty)
std::list< Channel * > JoinedChannelsList
void UpdateRating(CombatRating cr)
void ApplyEquipSpell(SpellInfo const *spellInfo, Item *item, bool apply, bool form_change=false)
ReputationRank GetReputationRank(uint32 faction_id) const
uint32 GetGroupUpdateFlag() const
void SetSpecializationResetTime(time_t time_)
void UpdateArea(uint32 newArea)
PlayerSpellMap & GetSpellMap()
void SetHomebind(WorldLocation const &loc, uint32 areaId)
void SetSaveTimer(uint32 timer)
static void SetUInt32ValueInArray(Tokenizer &data, uint16 index, uint32 value)
void FailQuest(uint32 quest_id)
Player * GetSelectedPlayer() const
InventoryResult CanUnequipItems(uint32 item, uint32 count) const
void ModifySpellCooldown(uint32 spellId, int32 cooldown)
void AddEnchantmentDuration(Item *item, EnchantmentSlot slot, uint32 duration)
bool GetPassOnGroupLoot() const
Unit * GetSelectedUnit() const
void RemoveActiveQuest(uint32 quest_id)
void ItemAddedQuestCheck(uint32 entry, uint32 count)
Item * GetWeaponForAttack(WeaponAttackType attackType, bool useable=false) const
bool GetCinematicPosition(float &x, float &y, float &z) const
Player * GetNextRandomRaidMember(float radius)
void AddToWorld() override
void RemoveAllSpellCooldown()
bool GiveQuestSourceItem(Quest const *quest)
bool HasAtLoginFlag(AtLoginFlags f) const
void SolveResearchProject(Spell *spell)
void GainSpellComboPoints(int8 count)
uint8 GetSpecsCount() const
void RewardReputation(Unit *victim, float rate)
void SetCanDodge(bool value)
void RemoveTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
VoidStorageItem * GetVoidStorageItem(uint8 slot) const
bool HasCompletedAllRareProjectsForRace(uint32 researchBranchId) const
bool IsVoidStorageUnlocked() const
void RestoreSpellMods(Spell *spell, uint32 ownerAuraId=0, Aura *aura=NULL)
void SetReadyCheckTimer(uint32 timer)
bool IsUseEquipedWeapon(bool mainhand) const
void HandleDrowning(uint32 time_diff)
ActionButton * addActionButton(uint8 button, uint32 action, ActionButtonType type)
Item * StoreNewItem(ItemPosCountVec const &pos, uint32 item, bool update, int32 randomPropertyId=0, AllowedLooterSet const &allowedLooters=AllowedLooterSet())
float GetInnAreaBoxZ() const
static float GetFloatValueFromArray(Tokenizer const &data, uint16 index)
UNORDERED_MAP< uint32, InstancePlayerBind > BoundInstancesMap
static bool IsBankPos(uint16 pos)
bool UpdateSkillPro(uint16 skillId, int32 chance, uint32 step)
PlayerMails::iterator GetMailEnd()
void _LoadEquipmentSets(PreparedQueryResult result)
bool RewardHonor(Unit *victim, uint32 groupsize, int32 honor=-1, bool pvptoken=false)
void RemoveItem(uint8 bag, uint8 slot, bool update)
static bool IsValidRace(uint8 Race)
void _SaveQuestObjectiveStatus(SQLTransaction &trans)
uint32 _maxPersonalArenaRate
void AddVoidStorageItemAtSlot(uint8 slot, const VoidStorageItem &item)
uint64 m_auraRaidUpdateMask
void _SaveCUFProfiles(SQLTransaction &trans)
bool HasSpell(uint32 spell) const override
float GetInnAreaBoxX() const
void UpdateSkillsForLevel()
bool IsInCurrentInnArea(float padding=0.0f) const
static uint32 GetDefaultGossipMenuForSource(WorldObject *source)
void AutoStoreLoot(uint32 loot_id, LootStore const &store, bool broadcast=false)
ActionButtonList m_actionButtons
int32 getMaxTimer(MirrorTimerType timer)
void ModifyCurrencyFlag(uint32 id, uint8 flag)
uint8 GetSubGroup() const
void UpdateTalentSpecializationManaBonus()
bool SatisfyQuestNextChain(Quest const *qInfo, bool msg)
bool SatisfyQuestRace(Quest const *qInfo, bool msg)
void _RemoveAllStatBonuses()
void SetGuildLevel(uint32 level)
void VehicleSpellInitialize()
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
uint32 GetSpecializationResetCost() const
Player(WorldSession *session)
void AddTimedQuest(uint32 questId)
void UpdateObjectVisibility(bool forced=true) override
int32 m_spellPenetrationItemMod
void SetFreePrimaryProfessions(uint16 profs)
QuestObjectiveStatusSaveMap m_questObjectiveStatusSave
void SendInitialActionButtons() const
void _SaveInventory(SQLTransaction &trans)
uint32 GetLootSpecOrClassSpec() const
void _LoadResearchDigsites(PreparedQueryResult result)
void SetMap(Map *map) override
uint32 GetBarberShopCost(uint8 newhairstyle, uint8 newhaircolor, uint8 newfacialhair, BarberShopStyleEntry const *newSkin=NULL)
void SetResurrectRequestData(Unit *caster, uint32 health, uint32 mana, uint32 appliedAura)
bool isAcceptWhispers() const
void AddWhisperWhiteList(uint64 guid)
size_t GetRewardedQuestCount() const
bool CanReportAfkDueToLimit()
void SendBuyFailed(BuyResult msg, ObjectGuid VendorGUID, uint32 item)
bool LearnTalent(uint16 talentId)
void SendTransferAborted(uint32 mapid, TransferAbortReason reason, uint8 arg=0)
bool IsInCinematic() const
BoundInstancesMap & GetBoundInstances(DifficultyID difficulty)
void DurabilityPointsLoss(Item *item, int32 points)
uint32 m_holyPowerRegenTimerCount
void RemoveTimedQuest(uint32 questId)
void SetTaxiCheater(bool on)
uint32 GetMaxPersonalArenaRatingRequirement(uint32 minarenaslot) const
uint32 GetChampioningFaction() const
void LeftChannel(Channel *c)
void VisualizeItem(uint8 slot, Item *pItem)
void SetRuneConvertAura(uint8 index, AuraEffect const *aura)
void ReportedAfkBy(Player *reporter)
This player has been blamed to be inactive in a battleground.
InventoryResult CanStoreItem_InSpecificSlot(uint8 bag, uint8 slot, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool swap, Item *pSrcItem) const
bool IsBeingForcedTeleportFar() const
void AddLootedObject(uint64 guid)
void RefundItem(Item *item)
void SetVisibleItemSlot(uint8 slot, Item *pItem)
float GetRestBonus() const
void SendQuestTimerFailed(uint32 questId)
uint64 GetLastGuildInviterGUID() const
void _SaveActions(SQLTransaction &trans)
void AddSpellMod(SpellModifier *mod, bool apply)
void SetComboPoints(int8 cp)
uint32 GetLevelPlayedTime() const
bool isAllowedToLoot(const Creature *creature)
void SendActionButtons(uint32 state) const
void SendResetInstanceFailed(uint32 reason, uint32 MapId)
uint32 m_ArmorProficiency
DifficultyID GetDungeonDifficulty() const
void _LoadInstanceTimeRestrictions(PreparedQueryResult result)
void ResummonPetTemporaryUnSummonedIfAny()
void _LoadBoundInstances(PreparedQueryResult result)
void ApplyHealthRegenBonus(int32 amount, bool apply)
bool IsCanDelayTeleport() const
void SetForcedTeleportFar(bool forced)
void AddRunePower(uint8 index)
bool BuyItemFromVendorSlot(uint64 vendorguid, uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot)
void SendAttackSwingError(AttackSwingError error)
void SetBattlegroundId(uint32 val, BattlegroundTypeId bgTypeId)
uint32 GetGossipTextId(uint32 menuId, WorldObject *source)
uint32 m_focusRegenTimerCount
void SetVirtualItemSlot(uint8 i, Item *item)
static uint8 GetRankFromDB(uint64 guid)
RuneType GetLastUsedRune()
uint32 CalculateTalentsPoints() const
void learnQuestRewardedSpells()
uint64 GetComboTarget() const
void UpdateHomebindTime(uint32 time)
void RemovedInsignia(Player *looterPlr)
void RemoveFromWorld() override
bool m_FlyingBeforeCinematic
void JoinedChannel(Channel *c)
bool CanSeeSpellClickOn(Creature const *creature) const
void SendSpellCooldowns()
WorldLocation GetStartPosition() const
void AddWeaponProficiency(uint32 newflag)
void DeleteRefundReference(uint32 it)
uint32 GetFreePrimaryProfessionPoints() const
void PrepareGossipMenu(WorldObject *source, uint32 menuId=0, bool showQuests=false)
void _LoadMailInit(PreparedQueryResult resultUnread, PreparedQueryResult resultDelivery)
void UpdatePvP(bool state, bool override=false)
uint32 m_teleport_options
bool IsInWhisperWhiteList(uint64 guid)
bool SatisfyQuestWeek(Quest const *qInfo, bool msg)
SpellCooldowns m_spellCooldowns
void _LoadInventory(PreparedQueryResult result, uint32 timeDiff)
void CleanupAfterTaxiFlight()
void SetContestedPvPTimer(uint32 newTime)
SeasonalEventQuestMap m_seasonalquests
void SendEquipmentSetList()
bool IsOutdoorPvPActive()
void _SaveSpells(SQLTransaction &trans)
void SetInGameTime(uint32 time)
void SendNewItem(Item *item, uint32 count, bool received, bool created, bool broadcast=false)
Item * GetMItem(uint32 id)
void SetMoney(uint64 value)
bool CanInteractWithQuestGiver(Object *questGiver)
void SetMover(Unit *target)
void StopMirrorTimer(MirrorTimerType Type)
bool IsImmuneToEnvironmentalDamage()
void SendNewCurrency(uint32 id) const
send initialization of new currency for client
static DifficultyID CheckLoadedDungeonDifficultyID(DifficultyID difficulty)
bool CanCaptureTowerPoint()
void SendNotifyLootItemRemoved(uint8 lootSlot, ObjectGuid guid)
uint32 GetQuestSlotTime(uint16 slot) const
float OCTRegenMPPerSpirit()
Group * GetOriginalGroup()
void SaveGoldToDB(SQLTransaction &trans)
Spell * m_spellModTakingSpell
void CorrectMetaGemEnchants(uint8 slot, bool apply)
Mail * GetMail(uint32 id)
BattlegroundQueueTypeId GetBattlegroundQueueTypeId(uint32 index) const
void AddKnownCurrency(uint32 itemId)
std::queue< uint32 > m_timeSyncQueue
uint32 _ConquestCurrencytotalWeekCap
void SetBankBagSlotCount(uint8 count)
void SendInstanceResetWarning(uint32 mapid, DifficultyID difficulty, uint32 time)
QuestStatusSaveMap m_QuestStatusSave
CUFProfile * _CUFProfiles[MAX_CUF_PROFILES]
RestType GetRestType() const
void SendResearchHistory()
void SendLoot(uint64 guid, LootType loot_type, bool isAoE=false)
void setCinematic(uint8 cine)
void _LoadSpellCooldowns(PreparedQueryResult result)
RuneType GetBaseRune(uint8 index) const
void QuestObjectiveSatisfy(uint32 objectId, uint32 amount, uint8 type=0u, uint64 guid=0u)
void UpdateAttackPowerAndDamage(bool ranged=false) override
bool CheckInstanceLoginValid()
void SetLastPetNumber(uint32 petnumber)
QuestStatusSaveMap m_RewardedQuestsSave
bool CanJoinConstantChannelInZone(ChatChannelsEntry const *channel, AreaTableEntry const *zone)
bool IsInSameGroupWith(Player const *p) const
bool isTaxiCheater() const
uint32 GetQuestSlotState(uint16 slot) const
void CastItemUseSpell(Item *item, SpellCastTargets const &targets, uint8 cast_count, uint32 glyphIndex, SpellResearchData const *researchData=NULL)
void SetBattlegroundOrBattlefieldRaid(Group *group, int8 subgroup=-1)
bool IsForcedTeleportFar() const
WorldLocation const & GetBattlegroundEntryPoint() const
ReputationMgr & GetReputationMgr()
static DrunkenState GetDrunkenstateByValue(uint8 value)
bool IsBeingTeleported() const
uint8 GetOriginalSubGroup() const
bool IsQuestRewarded(uint32 quest_id) const
uint32 GetRuneTypeBaseCooldown(RuneType runeType) const
void SetUsedTalentCount(uint32 talents)
bool SwapVoidStorageItem(uint8 oldSlot, uint8 newSlot)
static WeaponAttackType GetAttackBySlot(uint8 slot)
void _SaveGlyphs(SQLTransaction &trans)
void SetCurrency(uint32 id, uint32 count, bool printLog=true)
initialize currency count for custom initialization at create character
void _SaveDailyQuestStatus(SQLTransaction &trans)
void DestroyZoneLimitedItem(bool update, uint32 new_zone)
void RemoveArenaEnchantments(EnchantmentSlot slot)
void HandleBaseModValue(BaseModGroup modGroup, BaseModType modType, float amount, bool apply)
void UpdateSpellCritChance(uint32 school)
PlayerMenu * PlayerTalkClass
void SendQuestComplete(Quest const *quest)
static uint32 const infinityCooldownDelay
void _LoadDailyQuestStatus(PreparedQueryResult result)
void SetInviteForBattlegroundQueueType(BattlegroundQueueTypeId bgQueueTypeId, uint32 instanceId)
Quest const * GetNextQuest(uint64 guid, Quest const *quest)
void SetSpecsCount(uint8 count)
bool GetBGAccessByLevel(BattlegroundTypeId bgTypeId) const
void SetBindPoint(uint64 guid)
bool HasEnoughMoney(uint64 amount) const
void SetRandomWinner(bool isWinner)
bool AddTalent(uint32 spellId, uint8 spec, bool learning)
void BuildPlayerTalentsInfoData(WorldPacket *data)
void RewardPlayerAndGroupAtEvent(uint32 creature_id, WorldObject *pRewardSource)
uint32 GetInnPosMapId() const
uint8 AddVoidStorageItem(const VoidStorageItem &item)
void resetSpells(bool myClassOnly=false)
bool m_itemUpdateQueueBlocked
void _SaveSkills(SQLTransaction &trans)
bool IsValidPos(uint16 pos, bool explicit_pos)
void RemoveArenaSpellCooldowns(bool removeActivePetCooldowns=false)
InventoryResult CanUseItem(Item *pItem, bool not_loading=true) const
std::string GetCoordsMapAreaAndZoneString()
void ResurrectPlayer(float restore_percent, bool applySickness=false)
bool UpdateGatherSkill(uint32 SkillId, uint32 SkillValue, uint32 RedLevel, uint32 Multiplicator=1)
void SendQuestUpdateAddPlayer(Quest const *quest, QuestObjective const *objective, uint16 oldCount, uint16 addCount)
void UpdateAfkReport(time_t currTime)
checks the 15 afk reports per 5 minutes limit
int32 GetQuestLevel() const
Item * GetSpellCastItem() const
bool HasItem(uint64 itemGuid) const
bool HasSpellCastItem() const
void SetMoney(uint64 money)
Player * GetTrader() const
void SetInAcceptProcess(bool state)
Item * GetItem(TradeSlots slot) const
TradeSlots GetTradeSlotForItem(uint64 itemGuid) const
TradeData * GetTraderData() const
void Update(bool for_trader=true)
void SetAccepted(bool state, bool crosssend=false)
void SetItem(TradeSlots slot, Item *item)
bool IsInAcceptProcess() const
TradeData(Player *player, Player *trader)
void SetSpell(uint32 spell_id, Item *castItem=NULL)
uint64 m_items[TRADE_SLOT_COUNT]
bool HasAuraType(AuraType auraType) const
WorldLocation(uint32 _mapid=MAPID_INVALID, float _x=0, float _y=0, float _z=0, float _o=0)
WorldObject(bool isWorldObject)
float GetVisibilityRange() const
MovementInfo m_movementInfo
Player session in the World.
std::string questFailedText
Holder for Battleground data.
uint32 bgTeam
What side the player will be added to.
BattlegroundTypeId bgTypeID
when player is teleported to BG - (it is battleground's GUID)
time_t bgAfkReportedTimer
std::set< uint32 > bgAfkReporter
WorldLocation joinPos
From where player entered BG.
std::map< uint32, uint32 > bgQueuesJoinedTime
Represents a CompactUnitFrame profile.
CUFProfile(const std::string &name, uint16 frameHeight, uint16 frameWidth, uint8 sortBy, uint8 healthText, uint32 boolOptions, uint8 unk146, uint8 unk147, uint8 unk148, uint16 unk150, uint16 unk152, uint16 unk154)
std::bitset< CUF_BOOL_OPTIONS_COUNT > BoolOptions
EnchantDuration(Item *_item, EnchantmentSlot _slot, uint32 _leftduration)
EquipmentSetUpdateState state
uint32 Items[EQUIPMENT_SLOT_END]
ItemPosCount(uint16 _pos, uint32 _count)
bool isContainedIn(std::vector< ItemPosCount > const &vec) const
BattlegroundQueueTypeId bgQueueTypeId
PlayerCreateInfoAction(uint8 _button, uint32 _action, uint8 _type)
PlayerCreateInfoItem(uint32 id, uint32 amount)
PlayerCurrencyState state
PlayerCreateInfoActions action
PlayerCreateInfoSpells spell
PlayerLevelInfo * levelInfo
PlayerCreateInfoItems item
PlayerCreateInfoSpells spell_cast
PlayerTalentMap * Talents
uint32 Glyphs[MAX_GLYPH_SLOT_INDEX]
PlayerTalentInfo(PlayerTalentInfo const &)
struct PlayerTalentInfo::TalentSpecInfo SpecInfo[MAX_TALENT_SPECS]
time_t ResetSpecializationTime
uint32 ResetSpecializationCost
float GetPositionZ() const
float GetOrientation() const
float GetPositionX() const
float GetPositionY() const
uint8 GetRemainingFindCount() const
ResearchDigsite(ResearchDigsiteInfo const *digsiteInfo, uint8 remainingFindCount)
ResearchDigsiteInfo const * GetDigsiteInfo() const
ArchaeologyFindInfo const * _archaeologyFind
ArchaeologyFindInfo const * GetArchaeologyFind() const
ResearchDigsiteInfo const * _digsiteInfo
bool IsEmptyDigsite() const
void ChangeArchaeologyFind(ArchaeologyFindInfo const *find)
uint8 _remainingFindCount
void SelectNewArchaeologyFind(bool onInit)
uint32 GetDigsiteId() const
uint32 firstResearchTimestamp
AuraEffect const * ConvertAura
void SetRuneState(uint8 index, bool set=true)
RuneInfo runes[MAX_RUNES]
SkillStatusData(uint8 _pos, SkillUpdateState _uState)
SpellModifier(Aura *_ownerAura=NULL)
uint32 ItemRandomPropertyId
VoidStorageItem(uint64 id, uint32 entry, uint32 creator, uint32 randomPropertyId, uint32 suffixFactor)