AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ObjectGuid Class Reference

#include "ObjectGuid.h"

Public Types

typedef uint32 LowType
 

Public Member Functions

 ObjectGuid ()=default
 
 ObjectGuid (uint64 guid)
 
 ObjectGuid (HighGuid hi, uint32 entry, LowType counter)
 
 ObjectGuid (HighGuid hi, LowType counter)
 
PackedGuidReader ReadAsPacked ()
 
void Set (uint64 guid)
 
void Clear ()
 
PackedGuid WriteAsPacked () const
 
uint64 GetRawValue () const
 
HighGuid GetHigh () const
 
uint32 GetEntry () const
 
uint16 GetRealmID () const
 
LowType GetCounter () const
 
ObjectGuid::LowType GetMaxCounter () const
 
bool IsEmpty () const
 
bool IsCreature () const
 
bool IsPet () const
 
bool IsVehicle () const
 
bool IsCreatureOrPet () const
 
bool IsCreatureOrVehicle () const
 
bool IsAnyTypeCreature () const
 
bool IsPlayer () const
 
bool IsUnit () const
 
bool IsItem () const
 
bool IsGameObject () const
 
bool IsDynamicObject () const
 
bool IsCorpse () const
 
bool IsTransport () const
 
bool IsMOTransport () const
 
bool IsAnyTypeGameObject () const
 
bool IsInstance () const
 
bool IsGroup () const
 
TypeID GetTypeId () const
 
 operator bool () const
 
bool operator! () const
 
bool operator== (ObjectGuid const &guid) const
 
bool operator!= (ObjectGuid const &guid) const
 
bool operator< (ObjectGuid const &guid) const
 
bool operator<= (ObjectGuid const &guid) const
 
char const * GetTypeName () const
 
std::string ToString () const
 

Static Public Member Functions

template<HighGuid type>
static std::enable_if< ObjectGuidTraits< type >::Global, ObjectGuid >::type Create (LowType counter)
 
template<HighGuid type>
static std::enable_if< ObjectGuidTraits< type >::MapSpecific, ObjectGuid >::type Create (uint32 entry, LowType counter)
 
static LowType GetMaxCounter (HighGuid high)
 
static TypeID GetTypeId (HighGuid high)
 
static char const * GetTypeName (HighGuid high)
 

Static Public Attributes

static ObjectGuid const Empty = ObjectGuid()
 

Private Member Functions

bool HasEntry () const
 
 ObjectGuid (uint32 const &)=delete
 
 ObjectGuid (HighGuid, uint32, uint64 counter)=delete
 
 ObjectGuid (HighGuid, uint64 counter)=delete
 
 operator int64 () const =delete
 

Static Private Member Functions

static bool HasEntry (HighGuid high)
 
static ObjectGuid Global (HighGuid type, LowType counter)
 
static ObjectGuid MapSpecific (HighGuid type, uint32 entry, LowType counter)
 

Private Attributes

uint64 _guid {0}
 

Detailed Description

Member Typedef Documentation

◆ LowType

Constructor & Destructor Documentation

◆ ObjectGuid() [1/7]

ObjectGuid::ObjectGuid ( )
default

Referenced by Global(), and MapSpecific().

◆ ObjectGuid() [2/7]

ObjectGuid::ObjectGuid ( uint64  guid)
inlineexplicit
134: _guid(guid) { }
uint64 _guid
Definition ObjectGuid.h:253

◆ ObjectGuid() [3/7]

ObjectGuid::ObjectGuid ( HighGuid  hi,
uint32  entry,
LowType  counter 
)
inline
135: _guid(counter ? uint64(counter) | (uint64(entry) << 24) | (uint64(hi) << 48) : 0) { }
std::uint64_t uint64
Definition Define.h:106

◆ ObjectGuid() [4/7]

ObjectGuid::ObjectGuid ( HighGuid  hi,
LowType  counter 
)
inline
136: _guid(counter ? uint64(counter) | (uint64(hi) << 48) : 0) { }

◆ ObjectGuid() [5/7]

ObjectGuid::ObjectGuid ( uint32 const &  )
explicitprivatedelete

◆ ObjectGuid() [6/7]

ObjectGuid::ObjectGuid ( HighGuid  ,
uint32  ,
uint64  counter 
)
privatedelete

◆ ObjectGuid() [7/7]

ObjectGuid::ObjectGuid ( HighGuid  ,
uint64  counter 
)
privatedelete

Member Function Documentation

◆ Clear()

void ObjectGuid::Clear ( )
inline
141{ _guid = 0; }

References _guid.

Referenced by boss_festergut::boss_festergutAI::boss_festergutAI(), boss_freya_nature_bomb::boss_freya_nature_bomb(), boss_grand_champion::boss_grand_championAI::boss_grand_championAI(), boss_svala::boss_svalaAI::boss_svalaAI(), boss_yoggsaron_constrictor_tentacle::boss_yoggsaron_constrictor_tentacle(), lfg::LFGQueue::CheckCompatibility(), npc_cork_gizelton::npc_cork_gizeltonAI::CheckPlayer(), Loot::clear(), PassengerController::ClearSlot(), Group::Create(), BfCapturePoint::DelCapturePoint(), boss_netherspite::DestroyPortals(), npc_icc_ice_sphere::npc_icc_ice_sphereAI::DoAction(), boss_mandokir::boss_mandokirAI::DoAction(), instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript::DoAction(), npc_expedition_engineer::DoAction(), boss_paletress::boss_paletressAI::DoAction(), boss_grand_champion::boss_grand_championAI::DoAction(), npc_anubarak_spike::npc_anubarak_spikeAI::DoAction(), Spell::DoAllEffectOnTarget(), boss_razorgore::DoChangePhase(), WorldSession::DoLootRelease(), Spell::EffectSummonChangeItem(), Spell::EffectSummonObject(), GossipMenu::GossipMenu(), spell_brewfest_fill_keg::HandleAfterHit(), spell_brewfest_unfill_keg::HandleAfterHit(), OPvPCapturePointZM_Graveyard::HandleDropFlag(), WorldSession::HandleEquipmentSetSave(), BattlegroundEY::Init(), BattlegroundWS::Init(), boss_vaelastrasz::Initialize(), npc_rabid_thistle_bear::npc_rabid_thistle_bearAI::Initialize(), npc_hidden_cultist::npc_hidden_cultistAI::Initialize(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::Initialize(), go_gilded_brazier::go_gilded_brazierAI::Initialize(), npc_lord_arete::npc_lord_areteAI::InitializeAI(), npc_pet_mage_mirror_image::InitializeAI(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::InstanceCleanup(), instance_violet_hold::instance_violet_hold_InstanceMapScript::InstanceCleanup(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::InstanceCleanup(), npc_pet_gen_fetch_ball::IsSummonedBy(), npc_clintar_spirit::npc_clintar_spiritAI::JustDied(), npc_ice_tomb::npc_ice_tombAI::JustDied(), SmartAI::JustRespawned(), lfg::LFGMgr::LeaveAllLfgQueues(), spell_dk_scourge_strike::Load(), spell_dru_rejuvenation_moonglade_2_set::Load(), spell_rog_blade_flurry::Load(), npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight(), boss_grand_champion::boss_grand_championAI::MovementInform(), npc_valkyr_shadowguard::npc_valkyr_shadowguardAI::MovementInform(), npc_akilzon_eagle::MovementInform(), npc_pet_mage_mirror_image::MySelectNextTarget(), npc_air_force_bots::npc_air_force_botsAI::npc_air_force_botsAI(), npc_archmage_landalock::npc_archmage_landalockAI::npc_archmage_landalockAI(), npc_balance_of_light_and_shadow::npc_balance_of_light_and_shadowAI::npc_balance_of_light_and_shadowAI(), npc_clintar_spirit::npc_clintar_spiritAI::npc_clintar_spiritAI(), npc_grand_magister_rommath::npc_grand_magister_rommathAI::npc_grand_magister_rommathAI(), npc_icc_ice_sphere::npc_icc_ice_sphereAI::npc_icc_ice_sphereAI(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::npc_oscillating_frequency_scanner_master_bunnyAI(), npc_pet_dk_ebon_gargoyle::npc_pet_dk_ebon_gargoyle(), npc_pet_gen_imp_in_a_bottle::npc_pet_gen_imp_in_a_bottle(), npc_pet_gen_plump_turkey::npc_pet_gen_plump_turkey(), npc_pilgrims_bounty_chair::npc_pilgrims_bounty_chair(), npc_pos_leader_second::npc_pos_leader_secondAI::npc_pos_leader_secondAI(), npc_snobold_vassal::npc_snobold_vassalAI::npc_snobold_vassalAI(), npc_torturer_lecraft::npc_torturer_lecraftAI::npc_torturer_lecraftAI(), npc_ulduar_storm_tempered_keeper::npc_ulduar_storm_tempered_keeper(), npc_vengeful_shade::npc_vengeful_shadeAI::npc_vengeful_shadeAI(), npc_vh_void_sentry::npc_vh_void_sentry(), BattlefieldWG::OnBattleEnd(), CreatureAI::OnCharmed(), SmartAI::OnCharmed(), npc_chesspiece::OnCharmed(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureRemove(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnGameObjectRemove(), SmartScript::OnReset(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::OnUnitDeath(), OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard(), boss_kologarn::PassengerBoarded(), Creature::ReleaseFocus(), DynamicObject::RemoveCasterViewpoint(), Unit::RemoveGameObject(), SpellCastTargets::RemoveObjectTarget(), MotionTransport::RemovePassenger(), StaticTransport::RemovePassenger(), npc_cork_gizelton::npc_cork_gizeltonAI::RemoveSummons(), boss_sartharion_dragonAI::RemoveTwilightPortal(), MovementInfo::TransportInfo::Reset(), PassengerInfo::Reset(), BoardCell::Reset(), boss_rend_blackhand::Reset(), boss_razorgore::Reset(), npc_kilrek::Reset(), npc_demon_chain::Reset(), npc_barnes::npc_barnesAI::Reset(), npc_image_of_medivh::npc_image_of_medivhAI::Reset(), boss_baroness_anastari::boss_baroness_anastariAI::Reset(), npc_dark_fiend::Reset(), npc_sunblade_scout::Reset(), npc_eris_hevenfire::npc_eris_hevenfireAI::Reset(), npc_bh_thalorien_dawnseeker::npc_bh_thalorien_dawnseekerAI::Reset(), npc_deathstalker_fearleia::Reset(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::Reset(), npc_a_special_surprise::Reset(), npc_acherus_necromancer::Reset(), npc_gothik_the_harvester::Reset(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::Reset(), npc_varian_wrynn::npc_varian_wrynnAI::Reset(), npc_thrall_bfu::npc_thrall_bfuAI::Reset(), boss_akilzon::Reset(), npc_akilzon_eagle::Reset(), npc_amanishi_scout::Reset(), boss_grilek::boss_grilekAI::Reset(), boss_mandokir::boss_mandokirAI::Reset(), npc_ohgan::npc_ohganAI::Reset(), npc_chained_spirit::Reset(), npc_dark_iron_guzzler::Reset(), npc_winterfin_playmate::Reset(), npc_snowfall_glade_playmate::Reset(), npc_the_biggest_tree::Reset(), npc_high_oracle_soo_roo::Reset(), npc_elder_kekek::Reset(), npc_the_etymidian::Reset(), npc_alexstraza_the_lifebinder::Reset(), npc_costumed_orphan_matron::Reset(), boss_headless_horseman::Reset(), npc_draenei_survivor::npc_draenei_survivorAI::Reset(), npc_stillpine_capitive::npc_stillpine_capitiveAI::Reset(), npc_clintar_spirit::npc_clintar_spiritAI::Reset(), npc_shenthul::npc_shenthulAI::Reset(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::Reset(), npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::Reset(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::Reset(), npc_tooga::npc_toogaAI::Reset(), npc_twiggy_flathead::npc_twiggy_flatheadAI::Reset(), npc_ringo::npc_ringoAI::Reset(), boss_elder_nadox::Reset(), boss_jedoga_shadowseeker::Reset(), boss_sartharion_dragonAI::Reset(), boss_paletress::boss_paletressAI::Reset(), boss_gormok::boss_gormokAI::Reset(), boss_novos::Reset(), boss_gal_darah::Reset(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::Reset(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::Reset(), npc_highlord_tirion_fordring_lh::npc_highlord_tirion_fordringAI::Reset(), go_empowering_blood_orb::Reset(), boss_sapphiron::boss_sapphironAI::Reset(), npc_stormforged_lieutenant::Reset(), boss_stormcaller_brundir::Reset(), boss_freya::Reset(), npc_expedition_engineer::Reset(), boss_ingvar_the_plunderer::Reset(), boss_palehoof::boss_palehoofAI::Reset(), boss_svala::boss_svalaAI::Reset(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::Reset(), npc_bloodmage_laurith::npc_bloodmage_laurithAI::Reset(), npc_warmage_violetstand::Reset(), npc_shandy_dalaran::npc_shandy_dalaranAI::Reset(), npc_minigob_manabonk::Reset(), npc_conversing_with_the_depths_trigger::npc_conversing_with_the_depths_triggerAI::Reset(), npc_q24545_lich_king::npc_q24545_lich_kingAI::Reset(), npc_torturer_lecraft::npc_torturer_lecraftAI::Reset(), npc_emily::npc_emilyAI::Reset(), npc_venture_co_straggler::npc_venture_co_stragglerAI::Reset(), npc_still_at_it_trigger::npc_still_at_it_triggerAI::Reset(), npc_jungle_punch_target::npc_jungle_punch_targetAI::Reset(), npc_wild_wyrm::Reset(), npc_overlord_drakuru_betrayal::Reset(), boss_shirrak_the_dead_watcher::Reset(), boss_essence_of_anger::boss_essence_of_angerAI::Reset(), boss_omor_the_unscarred::Reset(), npc_fel_guard_hound::npc_fel_guard_houndAI::Reset(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Reset(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::Reset(), npc_dragonmaw_peon::npc_dragonmaw_peonAI::Reset(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::Reset(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::Reset(), npc_illidari_spawn::npc_illidari_spawnAI::Reset(), guard_shattrath_scryer::guard_shattrath_scryerAI::Reset(), guard_shattrath_aldor::guard_shattrath_aldorAI::Reset(), npc_doctor::npc_doctorAI::Reset(), npc_injured_patient::npc_injured_patientAI::Reset(), npc_garments_of_quests::npc_garments_of_questsAI::Reset(), npc_spring_rabbit::npc_spring_rabbitAI::Reset(), npc_traveler_mammoth_vendor::Reset(), SmartScript::ResetBaseObject(), npc_battle_at_valhalas::npc_battle_at_valhalasAI::ResetData(), PassengerController::ResetSlots(), NPCStaveQuestAI::ResetState(), RevivePlayer(), npc_putricide_oozeAI::SelectNewTarget(), npc_icc_ice_sphere::npc_icc_ice_sphereAI::SelectNewTarget(), npc_anubarak_spike::npc_anubarak_spikeAI::SelectNewTarget(), OPvPCapturePointZM_Graveyard::SetBeaconState(), npc_q24545_lich_king::npc_q24545_lich_kingAI::SetData(), GameObject::SetLootRecipient(), Creature::SetLootRecipient(), GameObject::SetLootState(), GmTicket::SetUnassigned(), BattlefieldWG::SetupBattlefield(), Spell::Spell(), SmartAI::StopFollow(), boss_kologarn::SummonedCreatureDespawn(), npc_cork_gizelton::npc_cork_gizeltonAI::SummonedCreatureDespawn(), npc_cork_gizelton::npc_cork_gizeltonAI::SummonedCreatureDies(), Spell::TakeCastItem(), Spell::TakeReagents(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::Update(), TotemAI::UpdateAI(), npc_acherus_necromancer::UpdateAI(), npc_gothik_the_harvester::UpdateAI(), boss_grilek::boss_grilekAI::UpdateAI(), npc_clintar_spirit::npc_clintar_spiritAI::UpdateAI(), boss_grand_champion::boss_grand_championAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), boss_gormok::boss_gormokAI::UpdateAI(), npc_pos_leader_second::npc_pos_leader_secondAI::UpdateAI(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::UpdateAI(), boss_sapphiron::boss_sapphironAI::UpdateAI(), boss_stormcaller_brundir::UpdateAI(), npc_expedition_engineer::UpdateAI(), boss_ingvar_the_plunderer::UpdateAI(), npc_bloodmage_laurith::npc_bloodmage_laurithAI::UpdateAI(), npc_pet_dk_ghoul::UpdateAI(), guard_shattrath_scryer::guard_shattrath_scryerAI::UpdateAI(), guard_shattrath_aldor::guard_shattrath_aldorAI::UpdateAI(), boss_netherspite::UpdatePortals(), lfg::LFGMgr::UpdateRaidBrowser(), and npc_cork_gizelton::npc_cork_gizeltonAI::WaypointReached().

◆ Create() [1/2]

template<HighGuid type>
static std::enable_if< ObjectGuidTraits< type >::Global, ObjectGuid >::type ObjectGuid::Create ( LowType  counter)
inlinestatic
128{ return Global(type, counter); }
static ObjectGuid Global(HighGuid type, LowType counter)
Definition ObjectGuid.cpp:60

References Global().

◆ Create() [2/2]

template<HighGuid type>
static std::enable_if< ObjectGuidTraits< type >::MapSpecific, ObjectGuid >::type ObjectGuid::Create ( uint32  entry,
LowType  counter 
)
inlinestatic
131{ return MapSpecific(type, entry, counter); }
static ObjectGuid MapSpecific(HighGuid type, uint32 entry, LowType counter)
Definition ObjectGuid.cpp:65

References MapSpecific().

◆ GetCounter()

LowType ObjectGuid::GetCounter ( ) const
inline
150 {
151 return HasEntry()
152 ? LowType(_guid & UI64LIT(0x0000000000FFFFFF))
153 : LowType(_guid & UI64LIT(0x00000000FFFFFFFF));
154 }
#define UI64LIT(N)
Definition Define.h:97
bool HasEntry() const
Definition ObjectGuid.h:241
uint32 LowType
Definition ObjectGuid.h:125

References _guid, HasEntry(), and UI64LIT.

Referenced by Player::_LoadItem(), Player::_LoadMailedItem(), Guild::_LogBankEvent(), Guild::_LogEvent(), Player::_SaveEquipmentSets(), Player::_SaveInventory(), Player::_SaveSpellCooldowns(), lfg::LFGMgr::_SaveToDB(), Guild::_SetLeaderGUID(), Channel::AddChannelBanToDB(), ToCloud9GrpcHandler::AddExistingItemToPlayer(), GroupMgr::AddGroup(), Guild::AddMember(), ArenaTeam::AddMember(), Group::AddMember(), Player::AddMItem(), LootItemStorage::AddNewStoredLoot(), Arena::AddPlayer(), BattlegroundAB::AddPlayer(), BattlegroundAV::AddPlayer(), BattlegroundEY::AddPlayer(), BattlegroundIC::AddPlayer(), BattlegroundSA::AddPlayer(), BattlegroundWS::AddPlayer(), PlayerSocial::AddToSocialList(), BanMgr::BanCharacter(), Group::ChangeLeader(), Guild::ChangeMemberRank(), Group::ChangeMembersGroup(), CharacterActionIpLogger::CharacterIPLogAction(), instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript::CheckAchievementCriteriaMeet(), SearchableAuctionEntry::CompareAuctionEntry(), Map::ConvertCorpseToBones(), ArenaTeam::Create(), Group::Create(), Guild::Create(), Player::Customize(), AccountMgr::DeleteAccount(), Corpse::DeleteFromDB(), MailDraft::deleteIncludedItems(), CharacterDeleteActionIpLogger::DeleteIPLogAction(), Guild::DeleteMember(), ArenaTeam::DelMember(), Player::DestroyItem(), BGQueueRemoveEvent::Execute(), Player::GetArenaTeamIdFromDB(), WorldSession::GetGuidLow(), Map::GetLinkedRespawnTime(), Guild::GetMember(), Guild::GetMember(), Player::GetZoneIdFromDB(), Group::GroupLoot(), WorldSession::HandleAcceptTradeOpcode(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), ban_commandscript::HandleBanInfoCharacterCommand(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBuybackItem(), WorldSession::HandleCalendarComplain(), WorldSession::HandleCalendarEventInvite(), character_commandscript::HandleCharacterEraseCommand(), character_commandscript::HandleCharacterLevel(), WorldSession::HandleCharDeleteOpcode(), WorldSession::HandleComplainOpcode(), debug_commandscript::HandleDebugFactionChangeCommand(), deserter_commandscript::HandleDeserterAdd(), gear_commandscript::HandleGearStatsCommand(), WorldSession::HandleGetMailList(), item_commandscript::HandleItemRefundCommand(), item_commandscript::HandleItemRestoreCommand(), item_commandscript::HandleItemRestoreListCommand(), WorldSession::HandleMailDelete(), mail_commandscript::HandleMailReturnCommand(), WorldSession::HandleMailReturnToSender(), WorldSession::HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), WorldSession::HandleOpenItemOpcode(), WorldSession::HandleOpenWrappedItemCallback(), character_commandscript::HandlePDumpCopyCommand(), character_commandscript::HandlePDumpWriteCommand(), pet_commandscript::HandlePetDeleteCommand(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetitionSignOpcode(), pet_commandscript::HandlePetListCommand(), WorldSession::HandlePetRename(), pet_commandscript::HandlePetRenameCommand(), WorldSession::HandlePlayerLoginFromDB(), WorldSession::HandlePlayerLoginOpcode(), WorldSession::HandleQuestLogRemoveQuest(), reset_commandscript::HandleResetSpellsCommand(), PetAI::HandleReturnMovement(), send_commandscript::HandleSendItemsCommand(), WorldSession::HandleSendMail(), send_commandscript::HandleSendMailCommand(), send_commandscript::HandleSendMoneyCommand(), WorldSession::HandleSetPlayerDeclinedNames(), WorldSession::HandleSetSavedInstanceExtend(), WorldSession::HandleStablePet(), WorldSession::HandleStableSwapPet(), WorldSession::HandleUnstablePet(), WorldSession::HandleWrapItemOpcode(), BattlegroundQueue::InviteGroupToBG(), Player::LeaveAllArenaTeams(), lfg::LFGMgr::LeaveLfg(), InstanceSaveMgr::LoadCharacterBinds(), GroupMgr::LoadGroups(), Pet::LoadPetFromDB(), Guild::LogHolder< Guild::EventLogEntry >::LogHolder(), WorldSession::LogoutPlayer(), MailReceiver::MailReceiver(), MailSender::MailSender(), MailSender::MailSender(), lfg::LFGMgr::MakeNewGroup(), InstanceSaveMgr::MergeWithNewInstanceSaves(), PetAI::MovementInform(), npc_spirit_shade::npc_spirit_shadeAI::MovementInform(), Group::NeedBeforeGreed(), Player::OfflineResurrect(), achievement_intense_cold::OnCheck(), OutdoorPvP::OnCreatureCreate(), OutdoorPvP::OnCreatureRemove(), OutdoorPvP::OnGameObjectCreate(), OutdoorPvP::OnGameObjectRemove(), ToCloud9GroupHooks::OnGroupCreated(), ServerMailReward::OnPlayerLogin(), InstanceSaveMgr::PlayerBindToInstance(), InstanceSaveMgr::PlayerUnbindInstance(), AchievementMgr::ProcessOfflineUpdatesQueue(), WorldSession::recoveryItem(), BanMgr::RemoveBanCharacter(), Channel::RemoveChannelBanFromDB(), LootItemStorage::RemoveEntryFromDB(), CalendarMgr::RemoveEvent(), PlayerSocial::RemoveFromSocialList(), GroupMgr::RemoveGroup(), Group::RemoveMember(), Player::RemovePetitionsAndSigns(), Battleground::RemovePlayerAtLeave(), LootItemStorage::RemoveStoredLoot(), AchievementMgr::Reset(), Pet::SavePetToDB(), Player::SavePositionInDB(), Player::SavePositionInDB(), AchievementMgr::SaveToDB(), Item::SaveToDB(), ReputationMgr::SaveToDB(), AuctionEntry::SaveToDB(), GmTicket::SaveToDB(), AuctionHouseMgr::SendAuctionCancelledToBidderMail(), AuctionHouseMgr::SendAuctionExpiredMail(), AuctionHouseMgr::SendAuctionOutbiddedMail(), AuctionHouseMgr::SendAuctionSalePendingMail(), AuctionHouseMgr::SendAuctionSuccessfulMail(), AuctionHouseMgr::SendAuctionWonMail(), MailDraft::SendMailTo(), MailDraft::SendReturnToSender(), SendRollWonItemViaMail(), WorldState::SendScourgeInvasionMail(), ServerMailMgr::SendServerMail(), ArenaTeam::SetCaptain(), PlayerSocial::SetFriendNote(), Group::SetGroupMemberFlag(), GameObject::SetLootRecipient(), WorldSession::SetPlayer(), Player::StoreNewItem(), ToString(), lfg::LFGMgr::UpdateBoot(), CalendarMgr::UpdateEvent(), CalendarMgr::UpdateInvite(), Battleground::UpdatePlayerScore(), and Player::UpdateSpecCount().

◆ GetEntry()

◆ GetHigh()

◆ GetMaxCounter() [1/2]

ObjectGuid::LowType ObjectGuid::GetMaxCounter ( ) const
inline
163{ return GetMaxCounter(GetHigh()); }
ObjectGuid::LowType GetMaxCounter() const
Definition ObjectGuid.h:163
HighGuid GetHigh() const
Definition ObjectGuid.h:146

References GetHigh(), and GetMaxCounter().

Referenced by ObjectGuidGenerator< high >::Generate(), and GetMaxCounter().

◆ GetMaxCounter() [2/2]

static LowType ObjectGuid::GetMaxCounter ( HighGuid  high)
inlinestatic
157 {
158 return HasEntry(high)
159 ? LowType(0x00FFFFFF)
160 : LowType(0xFFFFFFFF);
161 }

References HasEntry().

◆ GetRawValue()

◆ GetRealmID()

uint16 ObjectGuid::GetRealmID ( ) const
inline
148{ return IsPlayer() ? uint16((_guid >> 32) & UI64LIT(0xFFFF)) : 0; }
std::uint16_t uint16
Definition Define.h:108
bool IsPlayer() const
Definition ObjectGuid.h:172

References _guid, IsPlayer(), and UI64LIT.

Referenced by Item::CreateItem(), WorldSession::HandleAcceptTradeOpcode(), and Battleground::RemovePlayerAtLeave().

◆ GetTypeId() [1/2]

TypeID ObjectGuid::GetTypeId ( ) const
inline
205{ return GetTypeId(GetHigh()); }
TypeID GetTypeId() const
Definition ObjectGuid.h:205

References GetHigh(), and GetTypeId().

Referenced by GetTypeId().

◆ GetTypeId() [2/2]

static TypeID ObjectGuid::GetTypeId ( HighGuid  high)
inlinestatic
185 {
186 switch (high)
187 {
188 case HighGuid::Item: return TYPEID_ITEM;
189 //case HighGuid::Container: return TYPEID_CONTAINER; HighGuid::Container == HighGuid::Item currently
190 case HighGuid::Unit: return TYPEID_UNIT;
191 case HighGuid::Pet: return TYPEID_UNIT;
192 case HighGuid::Player: return TYPEID_PLAYER;
195 case HighGuid::Corpse: return TYPEID_CORPSE;
197 case HighGuid::Vehicle: return TYPEID_UNIT;
198 // unknown
200 case HighGuid::Group:
201 default: return TYPEID_OBJECT;
202 }
203 }
@ TYPEID_OBJECT
Definition ObjectGuid.h:35
@ TYPEID_DYNAMICOBJECT
Definition ObjectGuid.h:41
@ TYPEID_GAMEOBJECT
Definition ObjectGuid.h:40
@ TYPEID_UNIT
Definition ObjectGuid.h:38
@ TYPEID_CORPSE
Definition ObjectGuid.h:42
@ TYPEID_ITEM
Definition ObjectGuid.h:36
@ TYPEID_PLAYER
Definition ObjectGuid.h:39

References Corpse, DynamicObject, GameObject, Group, Instance, Item, Mo_Transport, Pet, Player, TYPEID_CORPSE, TYPEID_DYNAMICOBJECT, TYPEID_GAMEOBJECT, TYPEID_ITEM, TYPEID_OBJECT, TYPEID_PLAYER, TYPEID_UNIT, Unit, and Vehicle.

Referenced by PlayerMenu::SendQuestGiverQuestList().

◆ GetTypeName() [1/2]

char const * ObjectGuid::GetTypeName ( ) const
inline
215{ return !IsEmpty() ? GetTypeName(GetHigh()) : "None"; }
bool IsEmpty() const
Definition ObjectGuid.h:165
char const * GetTypeName() const
Definition ObjectGuid.h:215

References GetHigh(), GetTypeName(), and IsEmpty().

Referenced by GetTypeName(), ObjectGuidGeneratorBase::HandleCounterOverflow(), and ToString().

◆ GetTypeName() [2/2]

char const * ObjectGuid::GetTypeName ( HighGuid  high)
static
28{
29 switch (high)
30 {
31 case HighGuid::Item: return "Item";
32 case HighGuid::Player: return "Player";
33 case HighGuid::GameObject: return "Gameobject";
34 case HighGuid::Transport: return "Transport";
35 case HighGuid::Unit: return "Creature";
36 case HighGuid::Pet: return "Pet";
37 case HighGuid::Vehicle: return "Vehicle";
38 case HighGuid::DynamicObject: return "DynObject";
39 case HighGuid::Corpse: return "Corpse";
40 case HighGuid::Mo_Transport: return "MoTransport";
41 case HighGuid::Instance: return "InstanceID";
42 case HighGuid::Group: return "Group";
43 default:
44 return "<unknown>";
45 }
46}

References Corpse, DynamicObject, GameObject, Group, Instance, Item, Mo_Transport, Pet, Player, Transport, Unit, and Vehicle.

◆ Global()

ObjectGuid ObjectGuid::Global ( HighGuid  type,
LowType  counter 
)
staticprivate
61{
62 return ObjectGuid(type, counter);
63}
ObjectGuid()=default

References ObjectGuid().

Referenced by Create().

◆ HasEntry() [1/2]

bool ObjectGuid::HasEntry ( ) const
inlineprivate
241{ return HasEntry(GetHigh()); }

References GetHigh(), and HasEntry().

Referenced by GetCounter(), GetEntry(), GetMaxCounter(), HasEntry(), and ToString().

◆ HasEntry() [2/2]

static bool ObjectGuid::HasEntry ( HighGuid  high)
inlinestaticprivate
220 {
221 switch (high)
222 {
223 case HighGuid::Item:
224 case HighGuid::Player:
226 case HighGuid::Corpse:
229 case HighGuid::Group:
230 return false;
233 case HighGuid::Unit:
234 case HighGuid::Pet:
236 default:
237 return true;
238 }
239 }

References Corpse, DynamicObject, GameObject, Group, Instance, Item, Mo_Transport, Pet, Player, Transport, Unit, and Vehicle.

◆ IsAnyTypeCreature()

bool ObjectGuid::IsAnyTypeCreature ( ) const
inline
171{ return IsCreature() || IsPet() || IsVehicle(); }
bool IsVehicle() const
Definition ObjectGuid.h:168
bool IsCreature() const
Definition ObjectGuid.h:166
bool IsPet() const
Definition ObjectGuid.h:167

References IsCreature(), IsPet(), and IsVehicle().

Referenced by WorldSession::CanOpenMailBox(), and IsUnit().

◆ IsAnyTypeGameObject()

bool ObjectGuid::IsAnyTypeGameObject ( ) const
inline
180{ return IsGameObject() || IsTransport() || IsMOTransport(); }
bool IsTransport() const
Definition ObjectGuid.h:178
bool IsMOTransport() const
Definition ObjectGuid.h:179
bool IsGameObject() const
Definition ObjectGuid.h:175

References IsGameObject(), IsMOTransport(), and IsTransport().

◆ IsCorpse()

bool ObjectGuid::IsCorpse ( ) const
inline

◆ IsCreature()

bool ObjectGuid::IsCreature ( ) const
inline

◆ IsCreatureOrPet()

bool ObjectGuid::IsCreatureOrPet ( ) const
inline
169{ return IsCreature() || IsPet(); }

References IsCreature(), and IsPet().

◆ IsCreatureOrVehicle()

bool ObjectGuid::IsCreatureOrVehicle ( ) const
inline

◆ IsDynamicObject()

bool ObjectGuid::IsDynamicObject ( ) const
inline
176{ return GetHigh() == HighGuid::DynamicObject; }

References DynamicObject, and GetHigh().

◆ IsEmpty()

◆ IsGameObject()

◆ IsGroup()

◆ IsInstance()

bool ObjectGuid::IsInstance ( ) const
inline
181{ return GetHigh() == HighGuid::Instance; }

References GetHigh(), and Instance.

◆ IsItem()

◆ IsMOTransport()

bool ObjectGuid::IsMOTransport ( ) const
inline

◆ IsPet()

bool ObjectGuid::IsPet ( ) const
inline

◆ IsPlayer()

bool ObjectGuid::IsPlayer ( ) const
inline
172{ return !IsEmpty() && GetHigh() == HighGuid::Player; }

References GetHigh(), IsEmpty(), and Player.

Referenced by SmartAI::AssistPlayerInCombatAgainst(), npc_warden_mellichar::npc_warden_mellicharAI::DamageTaken(), boss_thorim_start_npcs::DamageTaken(), Unit::DealDamage(), Spell::DoAllEffectOnTarget(), SmartAI::EnterEvadeMode(), Unit::GetCharmerOrOwnerPlayerOrPlayerItself(), GetRealmID(), ObjectAccessor::GetUnit(), WorldSession::HandleEjectPassenger(), gobject_commandscript::HandleGameObjectDeleteCommand(), WorldSession::HandleGossipSelectOptionOpcode(), AuraEffect::HandleModInvisibility(), AuraEffect::HandleModInvisibilityDetect(), AuraEffect::HandleModStealth(), AuraEffect::HandleModStealthDetect(), AuraEffect::HandleModStealthLevel(), WorldSession::HandlePlayerLoginOpcode(), WorldSession::HandleRaidTargetUpdateOpcode(), Guardian::InitStats(), Guardian::InitSummon(), Unit::IsCharmedOwnedByPlayerOrPlayer(), Unit::isInAccessiblePlaceFor(), Unit::isPossessedByPlayer(), IsUnit(), npc_living_mojo::npc_living_mojoAI::JustEngagedWith(), Unit::Kill(), KillRewarder::KillRewarder(), list_commandscript::ListAurasCommand(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), PlayerOrPetCheck::operator()(), Puppet::Puppet(), Unit::RemoveEvadeAuras(), Unit::SendComboPoints(), ArenaSpectator::SendCommand_Aura(), ArenaSpectator::SendCommand_Cooldown(), ArenaSpectator::SendCommand_GUID(), ArenaSpectator::SendCommand_Spell(), ArenaSpectator::SendCommand_String(), ArenaSpectator::SendCommand_UInt32Value(), Unit::SetOwnerGUID(), Map::SummonCreature(), SmartAI::UpdateFollow(), Acore::MessageDistDeliverer::Visit(), and Acore::MessageDistDelivererToHostile::Visit().

◆ IsTransport()

bool ObjectGuid::IsTransport ( ) const
inline
178{ return GetHigh() == HighGuid::Transport; }

References GetHigh(), and Transport.

Referenced by IsAnyTypeGameObject().

◆ IsUnit()

bool ObjectGuid::IsUnit ( ) const
inline
173{ return IsAnyTypeCreature() || IsPlayer(); }
bool IsAnyTypeCreature() const
Definition ObjectGuid.h:171

References IsAnyTypeCreature(), and IsPlayer().

◆ IsVehicle()

bool ObjectGuid::IsVehicle ( ) const
inline
168{ return GetHigh() == HighGuid::Vehicle; }

References GetHigh(), and Vehicle.

Referenced by IsAnyTypeCreature(), and IsCreatureOrVehicle().

◆ MapSpecific()

ObjectGuid ObjectGuid::MapSpecific ( HighGuid  type,
uint32  entry,
LowType  counter 
)
staticprivate
66{
67 return ObjectGuid(type, entry, counter);
68}

References ObjectGuid().

Referenced by Create().

◆ operator bool()

ObjectGuid::operator bool ( ) const
inline
207{ return !IsEmpty(); }

References IsEmpty().

◆ operator int64()

ObjectGuid::operator int64 ( ) const
privatedelete

◆ operator!()

bool ObjectGuid::operator! ( ) const
inline
208{ return !(bool(*this)); }

◆ operator!=()

bool ObjectGuid::operator!= ( ObjectGuid const &  guid) const
inline
210{ return GetRawValue() != guid.GetRawValue(); }
uint64 GetRawValue() const
Definition ObjectGuid.h:145

References GetRawValue().

◆ operator<()

bool ObjectGuid::operator< ( ObjectGuid const &  guid) const
inline
211{ return GetRawValue() < guid.GetRawValue(); }

References GetRawValue().

◆ operator<=()

bool ObjectGuid::operator<= ( ObjectGuid const &  guid) const
inline
212{ return GetRawValue() <= guid.GetRawValue(); }

References GetRawValue().

◆ operator==()

bool ObjectGuid::operator== ( ObjectGuid const &  guid) const
inline
209{ return GetRawValue() == guid.GetRawValue(); }

References GetRawValue().

◆ ReadAsPacked()

◆ Set()

void ObjectGuid::Set ( uint64  guid)
inline

◆ ToString()

std::string ObjectGuid::ToString ( ) const
49{
50 std::ostringstream str;
51 str << "GUID Full: 0x" << std::hex << std::setw(16) << std::setfill('0') << _guid << std::dec;
52 str << " Type: " << GetTypeName();
53 if (HasEntry())
54 str << (IsPet() ? " Pet number: " : " Entry: ") << GetEntry() << " ";
55
56 str << " Low: " << GetCounter();
57 return str.str();
58}
LowType GetCounter() const
Definition ObjectGuid.h:149
uint32 GetEntry() const
Definition ObjectGuid.h:147

References _guid, GetCounter(), GetEntry(), GetTypeName(), HasEntry(), and IsPet().

Referenced by Player::_ApplyItemMods(), Map::_GetScriptCreature(), Map::_GetScriptCreatureSourceOrTarget(), Map::_GetScriptPlayer(), Map::_GetScriptPlayerSourceOrTarget(), Map::_GetScriptUnit(), Map::_GetScriptWorldObject(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMailedItem(), Player::_SaveInventory(), Map::_ScriptProcessDoor(), PetAI::_stopAttack(), Player::_StoreItem(), Aura::_UnapplyForTarget(), FormationMgr::AddCreatureToGroup(), CreatureGroup::AddMember(), Guild::AddMember(), ArenaTeam::AddMember(), LootItemStorage::AddNewStoredLoot(), Vehicle::AddPassenger(), Map::AddPlayerToMap(), InstanceMap::AddPlayerToMap(), lfg::LFGQueue::AddQueueData(), Map::AddToMap(), lfg::LFGQueue::AddToNewQueue(), lfg::LFGQueue::AddToQueue(), Item::AddToUpdateQueueOf(), Unit::AttackerStateUpdate(), PathGenerator::BuildPointPath(), PathGenerator::BuildPolyPath(), Player::BuyItemFromVendorSlot(), PetAI::CanAttack(), Player::CanBankItem(), InstanceMap::CannotEnter(), BattlegroundMap::CannotEnter(), Player::CharmSpellInitialize(), lfg::LFGQueue::CheckCompatibility(), WorldSession::CheckStableMaster(), Guild::Create(), MotionTransport::CreateGOPassenger(), MotionTransport::CreateNPCPassenger(), lfg::LFGMgr::DecreaseKicksLeft(), Player::DestroyItemCount(), Vehicle::Dismiss(), WaypointMovementGenerator< Creature >::DoInitialize(), ScriptedAI::DoPlaySoundToSet(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoTeleportPlayer(), FlightPathMovementGenerator::DoUpdate(), Player::DuelComplete(), Spell::EffectAddHonor(), Spell::EffectHeal(), Spell::EffectLearnSpell(), Spell::EffectUnlearnSpecialization(), BGQueueRemoveEvent::Execute(), lfg::LFGQueue::FindGroups(), lfg::LFGQueue::FindNewGroups(), PathGenerator::FindSmoothPath(), Spell::finish(), lfg::LFGMgr::FinishDungeon(), CreatureGroup::FormationReset(), lfg::LFGMgr::GetComment(), Object::GetDebugInfo(), Aura::GetDebugInfo(), Spell::GetDebugInfo(), TempSummon::GetDebugInfo(), Minion::GetDebugInfo(), Item::GetDebugInfo(), lfg::LFGMgr::GetDungeon(), lfg::LFGMgr::GetDungeonMapId(), lfg::LFGMgr::GetKicksLeft(), lfg::LFGMgr::GetLockedDungeons(), Battleground::GetObjectType(), lfg::LFGMgr::GetOldState(), WorldSession::GetPlayerInfo(), lfg::LFGMgr::GetRoles(), lfg::LFGMgr::GetSelectedDungeons(), lfg::LFGMgr::GetState(), account_commandscript::HandleAccountCreateCommand(), WorldSession::HandleActivateTaxiExpressOpcode(), WorldSession::HandleActivateTaxiOpcode(), WorldState::HandleActiveZone(), spell_rog_deadly_poison::HandleAfterHit(), WorldSession::HandleAreaTriggerOpcode(), arena_commandscript::HandleArenaCreateCommand(), WorldSession::HandleAttackSwingOpcode(), WorldSession::HandleAuctionHelloOpcode(), WorldSession::HandleAuctionListBidderItems(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), WorldSession::HandleAutoBankItemOpcode(), WorldSession::HandleAutoStoreBankItemOpcode(), WorldSession::HandleBankerActivateOpcode(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterHelloOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), WorldSession::HandleBinderActivateOpcode(), WorldSession::HandleBuybackItem(), WorldSession::HandleBuyBankSlotOpcode(), cache_commandscript::HandleCacheInfoCommand(), WorldSession::HandleCalendarArenaTeam(), WorldSession::HandleCalendarCopyEvent(), WorldSession::HandleCalendarEventModeratorStatus(), WorldSession::HandleCalendarEventRemoveInvite(), WorldSession::HandleCalendarEventRsvp(), WorldSession::HandleCalendarEventSignup(), WorldSession::HandleCalendarEventStatus(), WorldSession::HandleCalendarGetCalendar(), WorldSession::HandleCalendarGetEvent(), WorldSession::HandleCalendarGetNumPending(), WorldSession::HandleCalendarGuildFilter(), WorldSession::HandleCalendarUpdateEvent(), character_commandscript::HandleCharacterEraseCommand(), WorldSession::HandleCharDeleteOpcode(), WorldSession::HandleCharEnum(), WorldSession::HandleCreatureQueryOpcode(), debug_commandscript::HandleDebugGetItemStateCommand(), debug_commandscript::HandleDebugGetLootRecipientCommand(), debug_commandscript::HandleDebugGetValueCommand(), debug_commandscript::HandleDebugHostileRefListCommand(), debug_commandscript::HandleDebugMod32ValueCommand(), debug_commandscript::HandleDebugSetValueCommand(), debug_commandscript::HandleDebugThreatInfoCommand(), debug_commandscript::HandleDebugThreatListCommand(), debug_commandscript::HandleDebugUpdateCommand(), WorldSession::HandleDismissCritter(), WorldSession::HandleDuelAcceptedOpcode(), WorldSession::HandleEjectPassenger(), WorldSession::HandleEquipmentSetSave(), WorldSession::HandleEquipmentSetUse(), WorldSession::HandleFarSightOpcode(), gobject_commandscript::HandleGameObjectDeleteCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), WorldSession::HandleGameObjectQueryOpcode(), WorldSession::HandleGameobjectReportUse(), WorldSession::HandleGameObjectUseOpcode(), WorldSession::HandleGossipHelloOpcode(), WorldSession::HandleGossipSelectOptionOpcode(), misc_commandscript::HandleGUIDCommand(), WorldSession::HandleGuildBankBuyTab(), WorldSession::HandleGuildBankDepositMoney(), WorldSession::HandleGuildBankerActivate(), WorldSession::HandleGuildBankQueryTab(), WorldSession::HandleGuildBankUpdateTab(), WorldSession::HandleGuildBankWithdrawMoney(), guild_commandscript::HandleGuildInfoCommand(), WorldSession::HandleInspectArenaTeamsOpcode(), WorldSession::HandleInspectHonorStatsOpcode(), WorldSession::HandleInspectOpcode(), WorldSession::HandleInstanceLockResponse(), WorldSession::HandleItemTextQuery(), WorldSession::HandleLfgLeaveOpcode(), WorldSession::HandleLfgPartyLockInfoRequestOpcode(), WorldSession::HandleLfgPlayerLockInfoRequestOpcode(), WorldSession::HandleLfgSetBootVoteOpcode(), WorldSession::HandleLfgSetCommentOpcode(), WorldSession::HandleLfgSetRolesOpcode(), modify_commandscript::HandleModifyFactionCommand(), misc_commandscript::HandleMovegensCommand(), WorldSession::HandleMoveTeleportAck(), npc_commandscript::HandleNpcDoActionCommand(), npc_commandscript::HandleNpcGuidCommand(), npc_commandscript::HandleNpcInfoCommandShowCreature(), npc_commandscript::HandleNpcSetDataCommand(), npc_commandscript::HandleNpcSetLinkCommand(), AuraEffect::HandleObsModPowerAuraTick(), WorldSession::HandleOpenItemOpcode(), WorldSession::HandleOpenWrappedItemCallback(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicEnergizeAuraTick(), AuraEffect::HandlePeriodicHealAurasTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), WorldSession::HandlePetAction(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCancelAuraOpcode(), WorldSession::HandlePetCastSpellOpcode(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetitionDeclineOpcode(), WorldSession::HandlePetitionQueryOpcode(), WorldSession::HandlePetitionRenameOpcode(), WorldSession::HandlePetitionShowSignOpcode(), WorldSession::HandlePetitionSignOpcode(), WorldSession::HandlePetSetAction(), WorldSession::HandlePetSpellAutocastOpcode(), WorldSession::HandlePetStopAttack(), BattlefieldMgr::HandlePlayerEnterZone(), OutdoorPvPMgr::HandlePlayerEnterZone(), BattlefieldMgr::HandlePlayerLeaveZone(), OutdoorPvPMgr::HandlePlayerLeaveZone(), WorldSession::HandlePlayerLoginFromDB(), WorldSession::HandlePlayerLoginOpcode(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), WorldSession::HandleQuestgiverHelloOpcode(), WorldSession::HandleQuestgiverQueryQuestOpcode(), WorldSession::HandleQuestgiverRequestRewardOpcode(), WorldSession::HandleQuestgiverStatusQueryOpcode(), WorldSession::HandleQuestLogRemoveQuest(), WorldSession::HandleRepairItemOpcode(), WorldSession::HandleSaveGuildEmblemOpcode(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleSendMail(), WorldSession::HandleSetActionButtonOpcode(), WorldSession::HandleSetActiveMoverOpcode(), WorldSession::HandleSpiritHealerActivateOpcode(), WorldSession::HandleTabardVendorActivateOpcode(), WorldSession::HandleTalentWipeConfirmOpcode(), WorldSession::HandleTaxiQueryAvailableNodes(), WorldSession::HandleTrainerBuySpellOpcode(), WorldSession::HandleTrainerListOpcode(), WorldSession::HandleTurnInPetitionOpcode(), Vehicle::InstallAccessory(), BattlegroundQueue::InviteGroupToBG(), lfg::LFGMgr::JoinLfg(), WorldSession::KickPlayer(), lfg::LFGMgr::LeaveLfg(), list_commandscript::ListAurasCommand(), AuctionEntry::LoadFromDB(), Player::LoadFromDB(), ArenaTeam::LoadMembersFromDB(), FlightPathMovementGenerator::LoadPath(), LogCommandUsage(), WorldSession::LogoutPlayer(), MotionMaster::MoveCharge(), MotionMaster::MoveChase(), MotionMaster::MoveConfused(), MotionMaster::MoveFleeing(), MotionMaster::MoveFollow(), MotionMaster::MoveJump(), MotionMaster::MovePath(), MotionMaster::MovePoint(), MotionMaster::MoveRandom(), MotionMaster::MoveSeekAssistance(), MotionMaster::MoveSeekAssistanceDistract(), MotionMaster::MoveTargetedHome(), MotionMaster::MoveTaxiFlight(), MotionMaster::MoveWaypoint(), lfg::LFGGroupScript::OnAddMember(), lfg::LFGGroupScript::OnChangeLeader(), lfg::LFGGroupScript::OnDisband(), lfg::LFGGroupScript::OnInviteMember(), lfg::LFGPlayerScript::OnPlayerMapChanged(), lfg::LFGGroupScript::OnRemoveMember(), MovementInfo::OutDebug(), SpellCastTargets::OutDebug(), Player::PossessSpellInitialize(), Player::PrettyPrintRequirementsAchievementsList(), SmartScript::ProcessAction(), WaypointMovementGenerator< Creature >::ProcessWaypointArrival(), CombatManager::PutReference(), ThreatManager::PutThreatenedByMeRef(), ThreatManager::PutThreatListRef(), Map::RemoveAllObjectsInRemoveList(), Vehicle::RemoveAllPassengers(), lfg::LFGQueue::RemoveFromCompatibles(), lfg::LFGQueue::RemoveFromNewQueue(), GameObject::RemoveFromOwner(), lfg::LFGQueue::RemoveFromQueue(), Item::RemoveFromUpdateQueueOf(), lfg::LFGMgr::RemoveGroupData(), Vehicle::RemovePassenger(), BattlegroundQueue::RemovePlayer(), lfg::LFGMgr::RemoveProposal(), lfg::LFGQueue::RemoveQueueData(), Vehicle::Reset(), Player::ResetPetTalents(), Map::ScriptsProcess(), CreatureTextMgr::SendChat(), Map::SendInitSelf(), WorldSession::SendLfgBootProposalUpdate(), WorldSession::SendLfgRoleChosen(), WorldSession::SendLfgUpdateProposal(), WorldSession::SendListInventory(), Spell::SendLoot(), Unit::SendMeleeAttackStop(), WorldSession::SendPetitionQueryOpcode(), WorldSession::SendPetitionShowList(), PlayerMenu::SendQuestGiverOfferReward(), PlayerMenu::SendQuestGiverQuestDetails(), PlayerMenu::SendQuestGiverQuestList(), PlayerMenu::SendQuestGiverRequestItems(), PlayerMenu::SendQuestGiverStatus(), WorldSession::SendTaxiStatus(), Creature::SetCannotReachTarget(), Unit::SetCharm(), Unit::SetCharmedBy(), Player::SetClientControl(), lfg::LFGMgr::SetComment(), AchievementMgr::SetCriteriaProgress(), lfg::LFGMgr::SetDungeon(), lfg::LFGMgr::SetLockedDungeons(), Player::SetMover(), lfg::LFGMgr::SetRoles(), lfg::LFGMgr::SetSelectedDungeons(), lfg::LFGMgr::SetState(), npc_escortAI::Start(), FollowerAI::StartFollow(), Player::StopCastingCharm(), Player::SummonPet(), Spell::TakeCastItem(), Channel::UnBan(), Vehicle::Uninstall(), Player::Update(), PetAI::UpdateAI(), CharacterCache::UpdateCharacterMailCount(), lfg::LFGMgr::UpdateProposal(), GameObject::Use(), validUtf8String(), CombatManager::~CombatManager(), SpellEvent::~SpellEvent(), and ThreatManager::~ThreatManager().

◆ WriteAsPacked()

Member Data Documentation

◆ _guid

uint64 ObjectGuid::_guid {0}
private

◆ Empty

ObjectGuid const ObjectGuid::Empty = ObjectGuid()
static

Referenced by Player::_LoadMailedItem(), at_karazhan_side_entrance::_OnTrigger(), Pet::_SaveAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::_UpdateSpells(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::ActivateCell(), spell_astromancer_wrath_of_the_astromancer::AfterRemove(), Unit::AttackStop(), spell_halion_marks_aura::BeforeDispel(), boss_bjarngrim::boss_bjarngrim(), boss_yoggsaron_cloud::boss_yoggsaron_cloud(), GameObject::CastSpell(), lfg::LFGQueue::CheckCompatibility(), instance_zulaman::instance_zulaman_InstanceMapScript::CheckInstanceStatus(), lfg::Lfg5Guids::clear(), Pet::ClearCastWhenWillAvailable(), CharacterCache::ClearCharacterGroup(), Player::clearResurrectRequestData(), Group::CountRollVote(), Group::CountTheRoll(), Item::Create(), Bag::Create(), Guild::DeleteMember(), CalendarMgr::DeleteOldEvents(), Player::DestroyItem(), ArenaTeam::Disband(), npc_ulduar_toasty_fire::DoAction(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::DoAction(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::DoAction(), brann_bronzebeard::brann_bronzebeardAI::DoAction(), spell_rog_tricks_of_the_trade::DoAfterHit(), WorldSession::DoLootRelease(), tele_commandscript::DoNameTeleport(), Spell::DoSpellHitOnUnit(), instance_blackrock_spire::Dragonspireroomcheck(), Player::DuelComplete(), Spell::EffectCharge(), lfg::Lfg5Guids::empty(), boss_illidari_council_memberAI::EnterEvadeMode(), boss_tyrannus::boss_tyrannusAI::EnterEvadeMode(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), ChatHandler::extractPlayerTarget(), Creature::FocusTarget(), CharacterCache::GetCharacterGroupGuidByGuid(), CharacterCache::GetCharacterGuidByName(), Unit::GetCharm(), Unit::GetComboTargetGUID(), SpellCastTargets::GetCorpseTargetGUID(), Unit::GetFirstMinion(), Battleground::GetFlagPickerGUID(), SpellCastTargets::GetGOTargetGUID(), Unit::GetGuardianPet(), npc_coren_direbrew_sisters::GetGUID(), boss_lord_marrowgar::GetGUID(), boss_malygos::GetGUID(), SmartAI::GetGUID(), boss_zuljin::GetGUID(), GameObjectAI::GetGUID(), UnitAI::GetGUID(), Object::GetGUID(), instance_blackrock_depths::GetGuidData(), instance_karazhan::instance_karazhan_InstanceMapScript::GetGuidData(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::GetGuidData(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::GetGuidData(), instance_eye_of_eternity::GetGuidData(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::GetGuidData(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::GetGuidData(), instance_arcatraz::instance_arcatraz_InstanceMapScript::GetGuidData(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::GetGuidData(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::GetGuidData(), instance_oculus::instance_oculus_InstanceMapScript::GetGuidData(), instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::GetGuidData(), instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::GetGuidData(), instance_violet_hold::instance_violet_hold_InstanceMapScript::GetGuidData(), instance_the_eye::instance_the_eye_InstanceMapScript::GetGuidData(), instance_blackrock_spire::GetGuidData(), instance_blackwing_lair::GetGuidData(), instance_molten_core::GetGuidData(), instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript::GetGuidData(), instance_scholomance::instance_scholomance_InstanceMapScript::GetGuidData(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::GetGuidData(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::GetGuidData(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::GetGuidData(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::GetGuidData(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetGuidData(), instance_the_slave_pens::instance_the_slave_pens_InstanceMapScript::GetGuidData(), instance_zulgurub::instance_zulgurub_InstanceMapScript::GetGuidData(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::GetGuidData(), ZoneScript::GetGuidData(), PetitionMgr::GetItemGuidByPetitionId(), ObjectMgr::GetLinkedRespawnGuid(), Group::GetMemberGUID(), InstanceScript::GetObjectGuid(), getOrphanGUID(), ChatHandler::GetPlayerGroupAndGUIDByName(), lfg::LFGMgr::GetQueue(), Creature::GetSummonerGUID(), WorldObject::GetTransGUID(), Unit::GetTransGUID(), SpellCastTargets::GetUnitTargetGUID(), go_chromaggus_lever::GossipHello(), Guild::HandleAddNewRank(), WorldSession::HandleArenaTeamLeaderOpcode(), WorldSession::HandleArenaTeamRemoveOpcode(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), spell_warl_seduction::HandleAuraApply(), spell_warl_demonic_aegis::HandleAuraApply(), AuraEffect::HandleAuraModShapeshift(), AuraEffect::HandleAuraModStateImmunity(), Aura::HandleAuraSpecificMods(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBuybackItem(), WorldSession::HandleCalendarAddEvent(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCastSpellOpcode(), debug_commandscript::HandleDebugSendSellErrorCommand(), InstanceScript::HandleGameObject(), ticket_commandscript::HandleGMTicketCloseByIdCommand(), ticket_commandscript::HandleGMTicketCompleteCommand(), WorldSession::HandleGroupSwapSubGroupOpcode(), honor_commandscript::HandleHonorAddCommand(), honor_commandscript::HandleHonorAddKillCommand(), honor_commandscript::HandleHonorUpdateCommand(), WorldSession::HandleLfgLeaveOpcode(), mail_commandscript::HandleMailReturnCommand(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberWithdrawMoney(), modify_commandscript::HandleModifyMountCommand(), spell_gen_mount::HandleMount(), npc_commandscript::HandleNpcWhisperCommand(), WorldSession::HandleOpenWrappedItemCallback(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCancelAuraOpcode(), spell_mage_glyph_of_polymorph::HandleProc(), WorldSession::HandleQueryNextMailTime(), quest_commandscript::HandleQuestComplete(), Guild::HandleRemoveMember(), Guild::HandleRemoveRank(), WorldSession::HandleRequestAccountData(), Guild::HandleSetBankTabInfo(), Guild::HandleSetLeader(), Guild::HandleSetMOTD(), Guild::HandleSetRankInfo(), cheat_commandscript::HandleTaxiCheatCommand(), tele_commandscript::HandleTeleGroupCommand(), titles_commandscript::HandleTitlesAddCommand(), titles_commandscript::HandleTitlesCurrentCommand(), titles_commandscript::HandleTitlesRemoveCommand(), titles_commandscript::HandleTitlesSetMaskCommand(), Guild::HandleUpdateMemberRank(), instance_violet_hold::instance_violet_hold_InstanceMapScript::InstanceCleanup(), TriggerAI::IsSummonedBy(), npc_bone_spike::npc_bone_spikeAI::IsSummonedBy(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::IsSummonedBy(), boss_novos::JustEngagedWith(), boss_bjarngrim::JustRespawned(), npc_risen_archmage::npc_risen_archmageAI::JustSummoned(), Channel::KickOrBan(), Channel::LeaveChannel(), lfg::Lfg5Guids::Lfg5Guids(), lfg::Lfg5Guids::Lfg5Guids(), AuctionHouseMgr::LoadAuctionItems(), Player::LoadFromDB(), Bag::LoadFromDB(), Guild::BankTab::LoadItemFromDB(), LootItemStorage::LoadStoredLoot(), WorldSession::LogoutPlayer(), LootItem::LootItem(), spell_halion_twilight_realm_aura::OnApply(), spell_halion_leave_twilight_realm_aura::OnApply(), spell_gen_animal_blood::OnApply(), spell_contagion_of_rot::OnApply(), spell_blood_queen_vampiric_bite::OnCast(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::OnGameObjectCreate(), instance_uldaman::instance_uldaman_InstanceMapScript::OnGameObjectCreate(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::OnGameObjectCreate(), instance_maraudon::instance_maraudon_InstanceMapScript::OnGameObjectCreate(), instance_blackrock_depths::OnGameObjectCreate(), instance_blackrock_spire::OnGameObjectCreate(), instance_ahnkahet::instance_ahnkahet_InstanceScript::OnGameObjectCreate(), instance_halls_of_reflection::OnGameObjectCreate(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::OnGameObjectCreate(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnGameObjectCreate(), instance_black_temple::instance_black_temple_InstanceMapScript::OnGameObjectCreate(), instance_steam_vault::instance_steam_vault_InstanceMapScript::OnGameObjectCreate(), instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnGameObjectCreate(), go_palehoof_sphere::OnGossipHello(), go_main_chambers_access_panel::OnGossipHello(), spell_assembly_rune_of_summoning_aura::OnPeriodic(), lfg::LFGPlayerScript::OnPlayerLogout(), spell_halion_combustion_consumption_aura::OnRemove(), lfg::LFGGroupScript::OnRemoveMember(), Unit::PetSpellFail(), Spell::prepare(), SmartScript::ProcessAction(), Unit::RemoveAllGameObjects(), CalendarMgr::RemoveAllPlayerEventsAndInvites(), GameObject::RemoveFromOwner(), Unit::RemoveGameObject(), Unit::RemoveGameObject(), Unit::RemoveGameObjectsByType(), lfg::LFGMgr::RemoveGroupData(), Player::RemoveItem(), Bag::RemoveItem(), Player::RemoveItemFromBuyBackSlot(), BattlefieldWG::RemoveUpdateTenacity(), boss_ossirian::Reset(), npc_black_knight_skeletal_gryphon::npc_black_knight_skeletal_gryphonAI::Reset(), npc_mimirons_inferno::Reset(), Guild::ResetTimes(), BattlegroundEY::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), Channel::Say(), boss_magtheridon::ScheduleCombatEvents(), Map::ScriptCommandStart(), Map::ScriptsStart(), AuctionHouseMgr::SendAuctionExpiredMail(), Player::SendBuyError(), Spell::SendChannelUpdate(), PlayerMenu::SendCloseGossip(), Player::SendEquipError(), WorldSession::SendListInventory(), Player::SendLogXPGain(), Player::SendSellError(), instance_zulaman::instance_zulaman_InstanceMapScript::SetBossState(), instance_eye_of_eternity::SetData(), Item::SetEnchantment(), TradeData::SetItem(), Unit::SetMinion(), Channel::SetMode(), Channel::SetOwner(), TradeData::SetSpell(), Group::SetTargetIcon(), npc_aged_dying_ancient_kodo::sGossipHello(), boss_ossirian::SpawnNextCrystal(), boss_devourer_of_souls::SpellHitTarget(), Player::StopCastingCharm(), Map::SummonCreature(), Player::TeleportTo(), TEST_F(), Pet::Update(), instance_violet_hold::instance_violet_hold_InstanceMapScript::Update(), Unit::Update(), boss_icehowl::boss_icehowlAI::UpdateAI(), boss_stormcaller_brundir::UpdateAI(), npc_dark_fiend::UpdateAI(), npc_grimstone::UpdateEscortAI(), npc_cork_gizelton::npc_cork_gizeltonAI::UpdateEscortAI(), Group::UpdateLooterGuid(), and lfg::LFGMgr::UpdateRaidBrowser().


The documentation for this class was generated from the following files: