39 if (
GetPlayer()->IsValidAttackTarget(player))
50 inspectResult.
Items.emplace_back(item);
65 TC_LOG_DEBUG(
"network",
"WorldSession::HandleRequestHonorStatsOpcode: Target {} not found.", request.
TargetGUID);
74 if (
GetPlayer()->IsValidAttackTarget(player))
93 TC_LOG_DEBUG(
"network",
"WorldSession::HandleQueryInspectAchievements: [{}] inspected unknown Player [{}]",
GetPlayer()->GetGUID().ToString(), inspect.
Guid.
ToString());
102 if (
GetPlayer()->IsValidAttackTarget(player))
#define TC_LOG_DEBUG(filterType__,...)
@ PLAYER_FIELD_BYTES_OFFSET_LIFETIME_MAX_PVP_RANK
@ PLAYER_FIELD_KILLS_OFFSET_TODAY_KILLS
@ PLAYER_FIELD_KILLS_OFFSET_YESTERDAY_KILLS
#define INVENTORY_SLOT_BAG_0
@ PLAYER_FIELD_TODAY_CONTRIBUTION
@ PLAYER_FIELD_YESTERDAY_CONTRIBUTION
@ PLAYER_FIELD_LIFETIME_HONORABLE_KILLS
std::string ToString() const
uint8 GetByteValue(uint16 index, uint8 offset) const
uint32 GetUInt32Value(uint16 index) const
uint16 GetUInt16Value(uint16 index, uint8 offset) const
void BuildPlayerTalentsInfoData(WorldPackets::Talent::TalentInfoUpdate &talentInfo)
Item * GetItemByPos(uint16 pos) const
void SendRespondInspectAchievements(Player *player) const
uint16 YesterdayHonorableKills
uint16 TodayHonorableKills
uint32 LifetimeHonorableKills
WorldPacket const * Write() override
uint32 YesterdayContribution
std::bitset< 19 > ItemSlots
WorldPacket const * Write() override
std::vector< InspectItemData > Items
Talent::TalentInfoUpdate TalentInfo
void SendPacket(WorldPacket const *packet)
Send a packet to the client.
Player * GetPlayer() const
void HandleRequestHonorStats(WorldPackets::Inspect::RequestHonorStats &request)
void HandleQueryInspectAchievements(WorldPackets::Inspect::QueryInspectAchievements &inspect)
void HandleInspectOpcode(WorldPackets::Inspect::Inspect &inspect)
@ CONFIG_TALENTS_INSPECTING
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)