TrinityCore
Loading...
Searching...
No Matches
ObjectGuid Class Reference

#include <ObjectGuid.h>

Public Types

typedef uint32 LowType
 

Public Member Functions

constexpr ObjectGuid ()=default
 
PackedGuidReader ReadAsPacked ()
 
uint64 GetRawValue () const
 
void SetRawValue (uint64 guid)
 
void Clear ()
 
PackedGuidWriter WriteAsPacked () const
 
HighGuid GetHigh () const
 
uint32 GetEntry () const
 
LowType GetCounter () const
 
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
 
bool operator! () const
 
bool operator== (ObjectGuid const &right) const =default
 
std::strong_ordering operator<=> (ObjectGuid const &right) const =default
 
std::string_view GetTypeName () const
 
std::string ToString () const
 
std::string ToHexString () const
 

Static Public Member Functions

static LowType GetMaxCounter (HighGuid high)
 
static TypeID GetTypeId (HighGuid high)
 
static std::string_view GetTypeName (HighGuid high)
 
template<HighGuid type, std::enable_if_t< ObjectGuidTraits< type >::Format::value==ObjectGuidFormatType::OnlyCounter, int32 > = 0>
static constexpr ObjectGuid Create (LowType counter)
 
template<HighGuid type, std::enable_if_t< ObjectGuidTraits< type >::Format::value==ObjectGuidFormatType::CounterAndEntry, int32 > = 0>
static constexpr ObjectGuid Create (uint32 entry, LowType counter)
 

Static Public Attributes

static ObjectGuid const Empty = ObjectGuid()
 

Private Member Functions

bool HasEntry () const
 
 ObjectGuid (uint64 guid)
 

Static Private Member Functions

static constexpr bool HasEntry (HighGuid high)
 

Private Attributes

uint64 _guid = 0
 

Detailed Description

Definition at line 137 of file ObjectGuid.h.

Member Typedef Documentation

◆ LowType

Definition at line 142 of file ObjectGuid.h.

Constructor & Destructor Documentation

◆ ObjectGuid() [1/2]

constexpr ObjectGuid::ObjectGuid ( )
constexprdefault

◆ ObjectGuid() [2/2]

ObjectGuid::ObjectGuid ( uint64  guid)
inlineexplicitprivate

Definition at line 254 of file ObjectGuid.h.

Member Function Documentation

◆ Clear()

void ObjectGuid::Clear ( )
inline

Definition at line 150 of file ObjectGuid.h.

Referenced by Unit::_TryStackingOrRefreshingExistingAura(), AreaTrigger_at_frostgrips_hollow::AreaTrigger_at_frostgrips_hollow(), boss_malchezaar::boss_malchezaarAI::AxesCleanup(), BattlegroundEY::BattlegroundEY(), BattlegroundWS::BattlegroundWS(), boss_rend_blackhand::boss_rend_blackhand(), lfg::LFGQueue::CheckCompatibility(), Loot::clear(), npc_anubisath_sentinel::aqsentinelAI::ClearBuddyList(), PassengerController::ClearSlot(), Aura::Create(), Group::Create(), boss_prince_taldaram::DamageTaken(), BfCapturePoint::DelCapturePoint(), boss_ymiron::DespawnBoatGhosts(), boss_netherspite::boss_netherspiteAI::DestroyPortals(), boss_ick::DoAction(), boss_najentus::DoAction(), WorldSession::DoLootRelease(), Spell::EffectSummonChangeItem(), Spell::EffectSummonObject(), CinematicMgr::EndCinematic(), boss_malchezaar::boss_malchezaarAI::EnfeebleResetHealth(), ChatHandler::GetPlayerGroupAndGUIDByName(), GossipMenu::GossipMenu(), OPvPCapturePointZM_Graveyard::HandleDropFlag(), boss_balinda::Initialize(), npc_grimstone::npc_grimstoneAI::Initialize(), boss_vaelastrasz::Initialize(), boss_attumen::boss_attumenAI::Initialize(), boss_malchezaar::boss_malchezaarAI::Initialize(), npc_image_of_medivh::npc_image_of_medivhAI::Initialize(), npc_unworthy_initiate::npc_unworthy_initiateAI::Initialize(), npc_death_knight_initiate::npc_death_knight_initiateAI::Initialize(), npc_a_special_surprise::npc_a_special_surpriseAI::Initialize(), npc_restless_soul::npc_restless_soulAI::Initialize(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::Initialize(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::Initialize(), npc_winterfin_playmate::npc_winterfin_playmateAI::Initialize(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::Initialize(), npc_the_biggest_tree::npc_the_biggest_treeAI::Initialize(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::Initialize(), npc_elder_kekek::npc_elder_kekekAI::Initialize(), npc_the_etymidian::npc_the_etymidianAI::Initialize(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::Initialize(), hyjalAI::Initialize(), boss_onyxia::Initialize(), boss_ossirian::boss_ossirianAI::Initialize(), boss_cthun::cthunAI::Initialize(), npc_draenei_survivor::npc_draenei_survivorAI::Initialize(), npc_geezle::npc_geezleAI::Initialize(), npc_clintar_spirit::npc_clintar_spiritAI::Initialize(), npc_shenthul::npc_shenthulAI::Initialize(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::Initialize(), npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::Initialize(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::Initialize(), npc_tooga::npc_toogaAI::Initialize(), npc_twiggy_flathead::npc_twiggy_flatheadAI::Initialize(), boss_hunter_toc5::boss_hunter_toc5AI::Initialize(), boss_krick::Initialize(), boss_rimefang::Initialize(), boss_blood_queen_lana_thel::Initialize(), boss_lady_deathwhisper::Initialize(), npc_highlord_tirion_fordring_lh::Initialize(), boss_malygos::Initialize(), boss_anomalus::Initialize(), npc_azure_ring_captain::Initialize(), npc_brann_hos::Initialize(), boss_ignis::boss_ignis_AI::Initialize(), npc_scorch_ground::npc_scorch_groundAI::Initialize(), boss_svala::Initialize(), boss_ymiron::Initialize(), npc_jungle_punch_target::Initialize(), boss_gurtogg_bloodboil::Initialize(), npc_akama_shade::Initialize(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Initialize(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::Initialize(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::Initialize(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::Initialize(), npc_illidari_spawn::npc_illidari_spawnAI::Initialize(), npc_doctor::npc_doctorAI::Initialize(), npc_injured_patient::npc_injured_patientAI::Initialize(), SmartAI::InitializeAI(), npc_wyrmrest_skytalon::IsSummonedBy(), npc_clintar_spirit::npc_clintar_spiritAI::JustDied(), npc_ice_tomb::JustDied(), boss_archimonde::JustSummoned(), boss_prince_taldaram::KilledUnit(), npc_snobold_vassal::MountOnBoss(), npc_ball_of_flame::MovementInform(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::MovementInform(), npc_clintar_spirit::npc_clintar_spiritAI::npc_clintar_spiritAI(), BattlefieldWG::OnBattleEnd(), CreatureAI::OnCharmed(), SmartAI::OnCharmed(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnCreatureRemove(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureRemove(), instance_ulduar::instance_ulduar_InstanceMapScript::OnCreatureRemove(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnCreatureRemove(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnGameObjectRemove(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnGameObjectRemove(), SmartScript::OnReset(), OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard(), Spell::prepare(), SpellCastTargets::RemoveObjectTarget(), MovementInfo::TransportInfo::Reset(), PassengerInfo::Reset(), BattlegroundEY::Reset(), BattlegroundWS::Reset(), boss_rend_blackhand::Reset(), boss_selin_fireheart::Reset(), npc_koltira_deathweaver::Reset(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::Reset(), boss_baroness_anastari::Reset(), npc_thalorien_dawnseeker::Reset(), npc_rizzle_sprysprocket::Reset(), boss_prince_taldaram::Reset(), npc_prince_taldaram_flame_sphere::Reset(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::Reset(), boss_ick::Reset(), boss_gluth::Reset(), boss_flame_leviathan::boss_flame_leviathanAI::Reset(), boss_kologarn::boss_kologarnAI::Reset(), boss_thorim::boss_thorimAI::Reset(), boss_palehoof::Reset(), npc_bloodmage_laurith::Reset(), npc_emily::Reset(), npc_venture_co_straggler::Reset(), npc_daegarn::Reset(), npc_brann_bronzebeard_keystone::Reset(), npc_wild_wyrm::Reset(), npc_alchemist_finklestein::Reset(), npc_akama_illidan::Reset(), npc_blade_of_azzinoth::Reset(), boss_essence_of_anger::Reset(), npc_shadowy_construct::Reset(), boss_najentus::Reset(), boss_warlord_kalithresh::Reset(), npc_barada::npc_baradaAI::Reset(), npc_phase_hunter::npc_phase_hunterAI::Reset(), SmartScript::ResetBaseObject(), OPvPCapturePointZM_Graveyard::SetBeaconState(), Creature::SetLootRecipient(), GameObject::SetLootRecipient(), GameObject::SetLootState(), GmTicket::SetUnassigned(), Spell::Spell(), SpellDestination::SpellDestination(), SpellDestination::SpellDestination(), SpellDestination::SpellDestination(), SmartAI::StopFollow(), Spell::TakeCastItem(), Spell::TakeReagents(), instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenEnd(), instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenReset(), Totem::UnSummon(), GameObject::Update(), Creature::Update(), TotemAI::UpdateAI(), npc_grimstone::npc_grimstoneAI::UpdateAI(), boss_shade_of_aran::boss_aranAI::UpdateAI(), boss_selin_fireheart::UpdateAI(), boss_baroness_anastari::UpdateAI(), npc_calvin_montague::npc_calvin_montagueAI::UpdateAI(), hyjalAI::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_clintar_spirit::npc_clintar_spiritAI::UpdateAI(), boss_prince_taldaram::UpdateAI(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::UpdateAI(), boss_rimefang::UpdateAI(), boss_blood_queen_lana_thel::UpdateAI(), boss_lord_marrowgar::UpdateAI(), boss_anomalus::UpdateAI(), boss_ignis::boss_ignis_AI::UpdateAI(), boss_svala::UpdateAI(), npc_bloodmage_laurith::UpdateAI(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), npc_pet_dk_rune_weapon::UpdateRuneWeaponVictim(), and GameObject::Use().

◆ Create() [1/2]

template<HighGuid type, std::enable_if_t< ObjectGuidTraits< type >::Format::value==ObjectGuidFormatType::OnlyCounter, int32 > = 0>
static constexpr ObjectGuid ObjectGuid::Create ( LowType  counter)
inlinestaticconstexpr

Definition at line 224 of file ObjectGuid.h.

◆ Create() [2/2]

template<HighGuid type, std::enable_if_t< ObjectGuidTraits< type >::Format::value==ObjectGuidFormatType::CounterAndEntry, int32 > = 0>
static constexpr ObjectGuid ObjectGuid::Create ( uint32  entry,
LowType  counter 
)
inlinestaticconstexpr

Definition at line 227 of file ObjectGuid.h.

◆ GetCounter()

LowType ObjectGuid::GetCounter ( ) const
inline

Definition at line 156 of file ObjectGuid.h.

References UI64LIT.

Referenced by Player::_LoadItem(), Player::_SaveActions(), Player::_SaveAuras(), Player::_SaveDailyQuestStatus(), Player::_SaveEquipmentSets(), Player::_SaveGlyphs(), Player::_SaveInventory(), Player::_SaveMonthlyQuestStatus(), Player::_SaveQuestStatus(), Player::_SaveSeasonalQuestStatus(), Player::_SaveSkills(), Player::_SaveSpells(), Player::_SaveTalents(), Player::_SaveWeeklyQuestStatus(), Guild::_SetLeader(), Group::_setMembersGroup(), AuctionHouseMgr::AddAItem(), GroupMgr::AddGroup(), MailDraft::AddItem(), Guild::AddMember(), ArenaTeam::AddMember(), Group::AddMember(), Player::AddMItem(), AuctionBotSeller::AddNewAuctions(), PetitionMgr::AddPetition(), Petition::AddSignature(), PlayerSocial::AddToSocialList(), World::BanCharacter(), Player::BuildEnumData(), AuctionHouseObject::BuildListOwnerItems(), Group::ChangeLeader(), Group::ChangeMembersGroup(), CharacterActionIpLogger::CharacterIPLogAction(), Map::ConvertCorpseToBones(), ArenaTeam::Create(), Group::Create(), Guild::Create(), Corpse::DeleteFromDB(), AchievementMgr::DeleteFromDB(), Player::DeleteFromDB(), MailDraft::deleteIncludedItems(), CharacterDeleteActionIpLogger::DeleteIPLogAction(), Guild::DeleteMember(), ArenaTeam::DelMember(), Player::DestroyItem(), DoMovementInform(), DoMovementInform(), Battleground::EndBattleground(), BGQueueRemoveEvent::Execute(), ChatHandler::extractLowGuidFromLink(), GroupMgr::GetGroupByGUID(), Map::GetLinkedRespawnTime(), Player::GetZoneIdFromDB(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), ban_commandscript::HandleBanInfoCharacterCommand(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleCalendarEventInvite(), character_commandscript::HandleCharacterDeletedRestoreHelper(), WorldSession::HandleCharDeleteOpcode(), group_commandscript::HandleGroupListCommand(), Guild::HandleInviteMember(), Guild::HandleLeaveMember(), WorldSession::HandleMailReturnToSender(), WorldSession::HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberWithdrawMoney(), npc_commandscript::HandleNpcSetLinkCommand(), WorldSession::HandleOpenItemOpcode(), WorldSession::HandleOpenWrappedItemCallback(), character_commandscript::HandlePDumpCopyCommand(), character_commandscript::HandlePDumpWriteCommand(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetRename(), misc_commandscript::HandlePInfoCommand(), WorldSession::HandlePlayerLogin(), quest_commandscript::HandleQuestComplete(), WorldSession::HandleQuestLogRemoveQuest(), Guild::HandleRemoveMember(), reset_commandscript::HandleResetSpellsCommand(), reset_commandscript::HandleResetTalentsCommand(), PetAI::HandleReturnMovement(), send_commandscript::HandleSendItemsCommand(), WorldSession::HandleSendMail(), send_commandscript::HandleSendMailCommand(), send_commandscript::HandleSendMoneyCommand(), WorldSession::HandleSetPlayerDeclinedNames(), WorldSession::HandleStablePet(), WorldSession::HandleStableSwapPet(), misc_commandscript::HandleUnFreezeCommand(), WorldSession::HandleUnstablePet(), Guild::HandleUpdateMemberRank(), WorldSession::HandleWrapItemOpcode(), LoginQueryHolder::Initialize(), npc_sironas::npc_sironasAI::JustDied(), Player::LoadFromDB(), Pet::LoadPetFromDB(), Player::LoadPositionFromDB(), WorldSession::LogoutPlayer(), WorldPackets::Mail::MailAttachedItem::MailAttachedItem(), MailReceiver::MailReceiver(), MailSender::MailSender(), MailSender::MailSender(), npc_spirit_shade::npc_spirit_shadeAI::MovementInform(), PetAI::MovementInform(), npc_corrupted_soul_fragment::MovementInform(), npc_ball_of_flame::MovementInform(), npc_ichor_globule::MovementInform(), npc_elwynn_forest_wolf::MovementInform(), Player::OfflineResurrect(), OutdoorPvP::OnCreatureCreate(), OutdoorPvP::OnCreatureRemove(), OutdoorPvP::OnGameObjectCreate(), OutdoorPvP::OnGameObjectRemove(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::OnQuestAccept(), World::RemoveBanCharacter(), CalendarMgr::RemoveEvent(), PlayerSocial::RemoveFromSocialList(), GroupMgr::RemoveGroup(), Player::RemoveItemFromBuyBackSlot(), Group::RemoveMember(), PetitionMgr::RemovePetition(), PetitionMgr::RemovePetitionsByOwnerAndType(), PetitionMgr::RemoveSignaturesBySignerAndType(), Pet::SavePetToDB(), Player::SavePositionInDB(), AchievementMgr::SaveToDB(), Item::SaveToDB(), ReputationMgr::SaveToDB(), GmTicket::SaveToDB(), Player::SaveToDB(), AuctionHouseMgr::SendAuctionWonMail(), Player::SendLoot(), MailDraft::SendMailTo(), WorldSession::SendPetitionQueryOpcode(), WorldSession::SendPetitionSigns(), MailDraft::SendReturnToSender(), ArenaTeam::SetCaptain(), PlayerSocial::SetFriendNote(), Group::SetGroupMemberFlag(), SpellHistory::PersistenceHelper< Player >::SetIdentifier(), Guild::BankTab::SetItem(), WorldSession::SetPlayer(), Player::StoreNewItem(), CalendarMgr::UpdateEvent(), CalendarMgr::UpdateInvite(), Petition::UpdateName(), and Player::UpdateTalentGroupCount().

◆ GetEntry()

◆ GetHigh()

◆ GetMaxCounter() [1/2]

LowType ObjectGuid::GetMaxCounter ( ) const
inline

Definition at line 170 of file ObjectGuid.h.

References GetMaxCounter().

Referenced by ObjectGuidGenerator::Generate(), and GetMaxCounter().

◆ GetMaxCounter() [2/2]

static LowType ObjectGuid::GetMaxCounter ( HighGuid  high)
inlinestatic

Definition at line 163 of file ObjectGuid.h.

◆ GetRawValue()

◆ GetTypeId() [1/2]

TypeID ObjectGuid::GetTypeId ( ) const
inline

Definition at line 212 of file ObjectGuid.h.

References GetTypeId().

Referenced by GetTypeId().

◆ GetTypeId() [2/2]

◆ GetTypeName() [1/2]

std::string_view ObjectGuid::GetTypeName ( ) const
inline

Definition at line 219 of file ObjectGuid.h.

References GetTypeName().

Referenced by GetTypeName(), and ObjectGuidGenerator::HandleCounterOverflow().

◆ GetTypeName() [2/2]

std::string_view ObjectGuid::GetTypeName ( HighGuid  high)
static

◆ HasEntry() [1/2]

bool ObjectGuid::HasEntry ( ) const
inlineprivate

Definition at line 252 of file ObjectGuid.h.

References HasEntry().

Referenced by HasEntry().

◆ HasEntry() [2/2]

static constexpr bool ObjectGuid::HasEntry ( HighGuid  high)
inlinestaticconstexprprivate

Definition at line 230 of file ObjectGuid.h.

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

◆ IsAnyTypeCreature()

bool ObjectGuid::IsAnyTypeCreature ( ) const
inline

Definition at line 178 of file ObjectGuid.h.

Referenced by Unit::CalculateAOEAvoidance(), and WorldSession::CanOpenMailBox().

◆ IsAnyTypeGameObject()

bool ObjectGuid::IsAnyTypeGameObject ( ) const
inline

Definition at line 187 of file ObjectGuid.h.

Referenced by SpellCastTargets::GetGOTargetGUID().

◆ IsCorpse()

bool ObjectGuid::IsCorpse ( ) const
inline

◆ IsCreature()

bool ObjectGuid::IsCreature ( ) const
inline

Definition at line 173 of file ObjectGuid.h.

References Unit.

Referenced by PlayerAI::GetCharmer().

◆ IsCreatureOrPet()

bool ObjectGuid::IsCreatureOrPet ( ) const
inline

Definition at line 176 of file ObjectGuid.h.

◆ IsCreatureOrVehicle()

bool ObjectGuid::IsCreatureOrVehicle ( ) const
inline

◆ IsDynamicObject()

bool ObjectGuid::IsDynamicObject ( ) const
inline

Definition at line 183 of file ObjectGuid.h.

References DynamicObject.

◆ IsEmpty()

bool ObjectGuid::IsEmpty ( ) const
inline

Definition at line 172 of file ObjectGuid.h.

Referenced by Aura::_ApplyForTarget(), Spell::_cast(), Pet::_LoadAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::AddExtraAttacks(), Unit::AddGameObject(), Object::AddGuidValue(), LootItem::AllowedForPlayer(), World::BanCharacter(), CinematicMgr::BeginCinematic(), ArenaTeam::BroadcastEvent(), Group::BroadcastPacket(), Loot::BuildLootResponse(), AuraEffect::CalculateAmount(), Player::CanAlwaysSee(), Aura::CanBeSaved(), Aura::CanStackWith(), spell_hun_tame_beast::CheckCast(), Spell::CheckCast(), lfg::LFGQueue::CheckCompatibility(), Spell::CheckEffectTarget(), Spell::CheckItems(), TicketMgr::CloseTicket(), Group::CountTheRoll(), Aura::Create(), boss_novos::CrystalHandlerDied(), BfCapturePoint::DelCapturePoint(), boss_ymiron::DespawnBoatGhosts(), npc_halion_controller::DoAction(), InstanceScript::DoCastSpellOnPlayer(), spell_hun_masters_call::DoCheckCast(), InstanceScript::DoRemoveAurasDueToSpellOnPlayer(), WaypointMovementGenerator< Creature >::DoUpdate(), Spell::EffectCreateTamedPet(), Spell::EffectJumpDest(), Spell::EffectSummonObject(), Spell::EffectTameCreature(), CinematicMgr::EndCinematic(), SmartAI::EnterEvadeMode(), ChatHandler::extractPlayerTarget(), spell_scion_of_eternity_arcane_barrage::FilterMeleeHoverDiskPassangers(), GmTicket::GetAssignedToName(), Unit::GetAuraEffect(), WorldObject::GetCharmerOrOwnerOrOwnGUID(), npc_overlord_runthak_orgrimmar::npc_overlord_runthak_orgrimmarAI::GetCitizenGuids(), Unit::GetControllingPlayer(), boss_prince_taldaram::GetEmbraceTarget(), Unit::GetFirstControlled(), Unit::GetFirstMinion(), Unit::GetGuardianPet(), TradeData::GetItem(), Creature::GetLootRecipientGroup(), Player::GetNPCIfCanInteractWith(), Player::GetPet(), lfg::LFGMgr::GetQueueId(), Player::GetSelectedPlayer(), Player::GetSelectedUnit(), TradeData::GetSpellCastItem(), TempSummon::GetSummoner(), TempSummon::GetSummonerCreatureBase(), ObjectAccessor::GetUnit(), Player::GetViewpoint(), ban_commandscript::HandleBanInfoCharacterCommand(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), debug_commandscript::HandleDebugPlaySoundCommand(), WorldSession::HandleEquipmentSetSave(), gobject_commandscript::HandleGameObjectDeleteCommand(), ticket_commandscript::HandleGMTicketGetByNameCommand(), OPvPCapturePointZM_Graveyard::HandleGossipOption(), WorldSession::HandleGroupChangeSubGroupOpcode(), WorldSession::HandleGroupUninviteOpcode(), misc_commandscript::HandleGUIDCommand(), WorldSession::HandleLogoutRequestOpcode(), WorldSession::HandleLootReleaseOpcode(), npc_commandscript::HandleNpcTameCommand(), spell_sapphiron_icebolt::HandlePeriodic(), AuraEffect::HandlePeriodicHealAurasTick(), WorldSession::HandlePetActionHelper(), pet_commandscript::HandlePetCreateCommand(), BfCapturePoint::HandlePlayerEnter(), BfCapturePoint::HandlePlayerLeave(), WorldSession::HandlePushQuestToParty(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), spell_sapphiron_icebolt::HandleRemove(), WorldSession::HandleRepairItemOpcode(), reset_commandscript::HandleResetTalentsCommand(), misc_commandscript::HandleRespawnCommand(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleSetSelectionOpcode(), misc_commandscript::HandleUnFreezeCommand(), WorldSession::HandleWrapItemOpcode(), DistractMovementGenerator::Initialize(), TempSummon::InitStats(), BattlegroundWS::IsAllianceFlagPickedup(), Player::isAllowedToLoot(), Unit::IsAlwaysVisibleFor(), VehicleSeat::IsEmpty(), BattlegroundEY::IsFlagPickedup(), BattlegroundWS::IsHordeFlagPickedup(), lfg::LFGMgr::IsLfgGroup(), npc_pet_dk_rune_weapon::IsSummonedBy(), Channel::JoinChannel(), npc_halion_controller::JustAppeared(), npc_webwrap::JustDied(), npc_crystal_channel_target::JustSummoned(), boss_kologarn::boss_kologarnAI::JustSummoned(), Unit::Kill(), Player::KilledMonsterCredit(), Movement::MoveSplineInit::Launch(), lfg::LFGMgr::LeaveLfg(), Item::LoadFromDB(), WorldSession::LogoutPlayer(), lfg::LFGMgr::MakeNewGroup(), npc_a_special_surprise::npc_a_special_surpriseAI::MoveInLineOfSight(), npc_winterfin_playmate::npc_winterfin_playmateAI::MoveInLineOfSight(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::MoveInLineOfSight(), npc_the_biggest_tree::npc_the_biggest_treeAI::MoveInLineOfSight(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::MoveInLineOfSight(), npc_elder_kekek::npc_elder_kekekAI::MoveInLineOfSight(), npc_the_etymidian::npc_the_etymidianAI::MoveInLineOfSight(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::MoveInLineOfSight(), npc_ball_of_flame::MovementInform(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::MovementInform(), Movement::MoveSplineInit::MoveSplineInit(), npc_stalagg::myCoil(), npc_feugen::myCoil(), npc_stalagg::myCoilGO(), npc_feugen::myCoilGO(), spell_dk_raise_ally::spell_dk_raise_ally_AuraScript::OnApply(), BattlefieldWG::OnBattleEnd(), CreatureAI::OnCharmed(), SmartAI::OnCharmed(), go_acherus_soul_prison::go_acherus_soul_prisonAI::OnGossipHello(), npc_taretha::OnGossipSelect(), lfg::LFGGroupScript::OnInviteMember(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::OnPlayerEnter(), AuraEffect::PeriodicTick(), SmartScript::ProcessAction(), SpellCastTargets::Read(), WorldSession::ReadMovementInfo(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::ReadSaveDataMore(), SpellDestination::Relocate(), SpellDestination::RelocateOffset(), World::RemoveBanCharacter(), CalendarMgr::RemoveEvent(), Player::RemoveFromWorld(), Object::RemoveGuidValue(), lfg::LFGMgr::RemoveProposal(), npc_image_of_medivh::npc_image_of_medivhAI::Reset(), SmartScript::ResetBaseObject(), TicketMgr::ResolveAndCloseTicket(), Map::ScriptsProcess(), Spell::SelectEffectTypeImplicitTargets(), BattlegroundMgr::SendBattlegroundList(), Spell::SendChannelStart(), Player::SendLoot(), Channel::SendToAll(), OPvPCapturePointZM_Graveyard::SetBeaconState(), boss_novos::SetCrystalsStatus(), instance_deadmines::instance_deadmines_InstanceMapScript::SetData(), npc_bloodmage_laurith::SetGUID(), Unit::SetMinion(), Channel::SetMode(), Channel::SetOwner(), GameObject::SetOwnerGUID(), boss_novos::SetSummonerStatus(), Group::SetTargetIcon(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SpawnGunship(), Spell::Spell(), SpellCastTargets::SpellCastTargets(), npc_wild_wyrm::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), WaypointMovementGenerator< Creature >::StartMove(), Movement::MoveSplineInit::Stop(), Player::StopCastingCharm(), Player::StoreLootItem(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), Spell::TakePower(), lfg::LFGMgr::TeleportPlayer(), Aura::TryRefreshStackOrCreate(), Channel::UnBan(), lfg::LFGMgr::Update(), instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::Update(), Spell::update(), Creature::Update(), RotateMovementGenerator::Update(), SpellCastTargets::Update(), TotemAI::UpdateAI(), EscortAI::UpdateAI(), npc_grimstone::npc_grimstoneAI::UpdateAI(), npc_a_special_surprise::npc_a_special_surpriseAI::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_halion_controller::UpdateAI(), boss_blood_queen_lana_thel::UpdateAI(), boss_anomalus::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), boss_warrior_toc5::boss_warrior_toc5AI::UpdateAI(), boss_mage_toc5::boss_mage_toc5AI::UpdateAI(), boss_shaman_toc5::boss_shaman_toc5AI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), boss_rouge_toc5::boss_rouge_toc5AI::UpdateAI(), npc_injured_patient::npc_injured_patientAI::UpdateAI(), SmartAI::UpdateFollow(), Spell::UpdatePointers(), lfg::LFGMgr::UpdateProposal(), lfg::LFGMgr::UpdateRoleCheck(), npc_pet_dk_rune_weapon::UpdateRuneWeaponVictim(), SmartScript::UpdateTimer(), GameObject::Use(), hyjalAI::WaypointReached(), and SpellCastTargets::Write().

◆ IsGameObject()

◆ IsGroup()

◆ IsInstance()

bool ObjectGuid::IsInstance ( ) const
inline

Definition at line 188 of file ObjectGuid.h.

References Instance.

◆ IsItem()

bool ObjectGuid::IsItem ( ) const
inline

◆ IsMOTransport()

bool ObjectGuid::IsMOTransport ( ) const
inline

Definition at line 186 of file ObjectGuid.h.

References Mo_Transport.

Referenced by Map::GetTransport().

◆ IsPet()

bool ObjectGuid::IsPet ( ) const
inline

Definition at line 174 of file ObjectGuid.h.

References Pet.

Referenced by ObjectAccessor::GetCreatureOrPetOrVehicle(), Player::GetPet(), and ObjectAccessor::GetUnit().

◆ IsPlayer()

◆ IsTransport()

bool ObjectGuid::IsTransport ( ) const
inline

Definition at line 185 of file ObjectGuid.h.

References Transport.

◆ IsUnit()

bool ObjectGuid::IsUnit ( ) const
inline

◆ IsVehicle()

bool ObjectGuid::IsVehicle ( ) const
inline

Definition at line 175 of file ObjectGuid.h.

References Vehicle.

Referenced by VehicleCheckPredicate::operator()().

◆ operator!()

bool ObjectGuid::operator! ( ) const
inline

Definition at line 214 of file ObjectGuid.h.

◆ operator<=>()

std::strong_ordering ObjectGuid::operator<=> ( ObjectGuid const &  right) const
default

◆ operator==()

bool ObjectGuid::operator== ( ObjectGuid const &  right) const
default

◆ ReadAsPacked()

◆ SetRawValue()

◆ ToHexString()

std::string ObjectGuid::ToHexString ( ) const

Definition at line 115 of file ObjectGuid.cpp.

References _guid, and Trinity::StringFormat().

◆ ToString()

std::string ObjectGuid::ToString ( ) const

Definition at line 110 of file ObjectGuid.cpp.

References Trinity::StringFormat().

Referenced by Player::_ApplyItemMods(), BossAI::_DespawnAtEvade(), Battleground::_GetPlayer(), Map::_GetScriptCreature(), Map::_GetScriptPlayer(), Map::_GetScriptUnit(), Map::_GetScriptWorldObject(), Player::_LoadBoundInstances(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMailedItem(), Player::_SaveInventory(), Map::_ScriptProcessDoor(), Player::_StoreItem(), Aura::_UnapplyForTarget(), VehicleJoinEvent::Abort(), FormationMgr::AddCreatureToGroup(), Guild::AddMember(), CreatureGroup::AddMember(), ArenaTeam::AddMember(), LootItemStorage::AddNewStoredLoot(), Vehicle::AddPassenger(), Map::AddPlayerToMap(), InstanceMap::AddPlayerToMap(), Map::AddToActive(), Map::AddToMap(), lfg::LFGQueue::AddToQueue(), ArcherAI::ArcherAI(), Unit::AttackerStateUpdate(), PathGenerator::BuildPointPath(), PathGenerator::BuildPolyPath(), Player::BuyItemFromVendorSlot(), PathGenerator::CalculatePath(), Player::CanBankItem(), InstanceMap::CannotEnter(), BattlegroundMap::CannotEnter(), Channel::Channel(), Player::CharmSpellInitialize(), lfg::LFGQueue::CheckCompatibility(), Map::CheckGridIntegrity(), Unit::CheckPendingMovementAcks(), WorldSession::CheckStableMaster(), AchievementMgr::CompletedAchievement(), Guild::Create(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Map::CreatureCellRelocation(), Map::CreatureRelocation(), Map::CreatureRespawnRelocation(), lfg::LFGMgr::DecreaseKicksLeft(), MotionMaster::Delete(), MotionMaster::DeleteDefault(), Player::DeleteFromDB(), ArenaTeam::DelMember(), Player::DestroyItemCount(), WaypointMovementGenerator< Creature >::DoInitialize(), ScriptedAI::DoPlaySoundToSet(), ScriptedAI::DoTeleportPlayer(), CreatureAI::DoZoneInCombat(), Player::DuelComplete(), Map::DynamicObjectCellRelocation(), Map::DynamicObjectRelocation(), Spell::EffectAddHonor(), Spell::EffectHeal(), Spell::EffectLearnSpell(), Spell::EffectStuck(), Spell::EffectUnlearnSpecialization(), Map::EnsureGridLoadedForActiveObject(), CreatureAI::EnterEvadeMode(), GuardAI::EnterEvadeMode(), EscortAI::EnterEvadeMode(), BGQueueRemoveEvent::Execute(), lfg::LFGQueue::FindGroups(), Spell::finish(), lfg::LFGMgr::FinishDungeon(), ScriptedAI::ForceCombatStopForCreatureEntry(), Map::GameObjectCellRelocation(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), lfg::LFGMgr::GetComment(), Object::GetDebugInfo(), GameClient::GetDebugInfo(), Aura::GetDebugInfo(), Spell::GetDebugInfo(), TempSummon::GetDebugInfo(), Minion::GetDebugInfo(), Item::GetDebugInfo(), Unit::GetDebugInfo(), lfg::LFGMgr::GetDungeon(), lfg::LFGMgr::GetDungeonMapId(), Unit::GetFirstMinion(), Unit::GetGuardianPet(), lfg::LFGMgr::GetKicksLeft(), FollowerAI::GetLeaderForFollower(), lfg::LFGMgr::GetLockedDungeons(), Battleground::GetObjectType(), lfg::LFGMgr::GetOldState(), lfg::LFGMgr::GetRoles(), lfg::LFGMgr::GetSelectedDungeons(), lfg::LFGMgr::GetState(), lfg::LFGMgr::GetTeam(), account_commandscript::HandleAccountCreateCommand(), account_commandscript::HandleAccountEmailCommand(), account_commandscript::HandleAccountPasswordCommand(), WorldSession::HandleActivateTaxiExpressOpcode(), WorldSession::HandleActivateTaxiOpcode(), spell_rog_deadly_poison::HandleAfterHit(), WorldSession::HandleAreaTriggerOpcode(), arena_commandscript::HandleArenaCreateCommand(), WorldSession::HandleAuctionHelloOpcode(), WorldSession::HandleAuctionListBidderItems(), WorldSession::HandleAuctionListItems(), WorldSession::HandleAuctionListOwnerItems(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), WorldSession::HandleAutoBankItemOpcode(), WorldSession::HandleAutoStoreBankItemOpcode(), WorldSession::HandleBankerActivateOpcode(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), WorldSession::HandleBinderActivateOpcode(), WorldSession::HandleBuybackItem(), WorldSession::HandleBuyBankSlotOpcode(), WorldSession::HandleCalendarArenaTeam(), WorldSession::HandleCalendarComplain(), WorldSession::HandleCalendarCopyEvent(), WorldSession::HandleCalendarEventModeratorStatus(), WorldSession::HandleCalendarEventRemoveInvite(), WorldSession::HandleCalendarEventSignup(), WorldSession::HandleCalendarEventStatus(), WorldSession::HandleCalendarGetCalendar(), WorldSession::HandleCalendarGetEvent(), WorldSession::HandleCalendarGetNumPending(), WorldSession::HandleCalendarUpdateEvent(), character_commandscript::HandleCharacterDeletedRestoreHelper(), character_commandscript::HandleCharacterEraseCommand(), WorldSession::HandleCharDeleteOpcode(), WorldSession::HandleCharEnum(), WorldSession::HandleComplainOpcode(), WorldSession::HandleCreatureQueryOpcode(), debug_commandscript::HandleDebugGetItemStateCommand(), debug_commandscript::HandleDebugGetLootRecipientCommand(), debug_commandscript::HandleDebugGetValueCommand(), debug_commandscript::HandleDebugMod32ValueCommand(), debug_commandscript::HandleDebugSetValueCommand(), debug_commandscript::HandleDebugThreatInfoCommand(), debug_commandscript::HandleDebugThreatListCommand(), debug_commandscript::HandleDebugUpdateCommand(), WorldSession::HandleDeclinePetition(), WorldSession::HandleDelFriendOpcode(), WorldSession::HandleDelIgnoreOpcode(), WorldSession::HandleDismissCritter(), WorldSession::HandleDuelAccepted(), WorldSession::HandleEjectPassenger(), WorldSession::HandleEquipmentSetUse(), WorldSession::HandleFarSightOpcode(), gobject_commandscript::HandleGameObjectDeleteCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), WorldSession::HandleGameObjectQueryOpcode(), WorldSession::HandleGetItemPurchaseData(), WorldSession::HandleGossipHelloOpcode(), WorldSession::HandleGossipSelectOptionOpcode(), group_commandscript::HandleGroupListCommand(), misc_commandscript::HandleGUIDCommand(), WorldSession::HandleGuildBankActivate(), WorldSession::HandleGuildBankBuyTab(), WorldSession::HandleGuildBankDepositMoney(), WorldSession::HandleGuildBankQueryTab(), WorldSession::HandleGuildBankUpdateTab(), WorldSession::HandleGuildBankWithdrawMoney(), guild_commandscript::HandleGuildInfoCommand(), WorldSession::HandleInspectArenaTeamsOpcode(), WorldSession::HandleInspectOpcode(), WorldSession::HandleInstanceLockResponse(), WorldSession::HandleItemTextQuery(), WorldSession::HandleLfgSetRolesOpcode(), list_commandscript::HandleListItemCommand(), modify_commandscript::HandleModifyFactionCommand(), misc_commandscript::HandleMovegensCommand(), WorldSession::HandleMoveNotActiveMover(), WorldSession::HandleMoveTeleportAck(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcSetDataCommand(), AuraEffect::HandleObsModPowerAuraTick(), WorldSession::HandleOfferPetitionOpcode(), 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::HandlePetitionRenameGuild(), WorldSession::HandlePetitionShowSignatures(), WorldSession::HandlePetSetAction(), WorldSession::HandlePetSpellAutocastOpcode(), WorldSession::HandlePetStopAttack(), misc_commandscript::HandlePInfoCommand(), OutdoorPvPMgr::HandlePlayerEnterZone(), BattlefieldMgr::HandlePlayerEnterZone(), OutdoorPvPMgr::HandlePlayerLeaveZone(), BattlefieldMgr::HandlePlayerLeaveZone(), WorldSession::HandlePlayerLogin(), WorldSession::HandlePlayerLoginOpcode(), WorldSession::HandleQueryInspectAchievements(), WorldSession::HandleQueryPetition(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), WorldSession::HandleQuestgiverHelloOpcode(), WorldSession::HandleQuestgiverQueryQuestOpcode(), WorldSession::HandleQuestgiverRequestRewardOpcode(), WorldSession::HandleQuestgiverStatusQueryOpcode(), WorldSession::HandleQuestLogRemoveQuest(), WorldSession::HandleRepairItemOpcode(), WorldSession::HandleReportPvPAFK(), WorldSession::HandleSaveGuildEmblemOpcode(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleSendMail(), WorldSession::HandleSetActiveMoverOpcode(), WorldSession::HandleSetContactNotesOpcode(), WorldSession::HandleSetDungeonDifficultyOpcode(), WorldSession::HandleSetRaidDifficultyOpcode(), WorldSession::HandleSignPetition(), WorldSession::HandleSpiritHealerActivateOpcode(), WorldSession::HandleSwapInvItemOpcode(), WorldSession::HandleSwapItem(), WorldSession::HandleTabardVendorActivateOpcode(), WorldSession::HandleTaxiQueryAvailableNodes(), WorldSession::HandleTrainerBuySpellOpcode(), WorldSession::HandleTrainerListOpcode(), Battleground::HandleTriggerBuff(), WorldSession::HandleTurnInPetitionOpcode(), WorldSession::HandleWorldTeleportOpcode(), SplineChainMovementGenerator::Initialize(), Vehicle::InstallAccessory(), BattlegroundQueue::InviteGroupToBG(), lfg::LFGMgr::IsVoteKickActive(), lfg::LFGMgr::JoinLfg(), WorldSession::KickPlayer(), MotionMaster::LaunchMoveSpline(), lfg::LFGMgr::LeaveLfg(), list_commandscript::ListAurasCommand(), Player::LoadFromDB(), Guild::LoadMemberFromDB(), ArenaTeam::LoadMembersFromDB(), EscortAI::LoadPath(), LogCommandUsage(), WorldSession::LogoutPlayer(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), MotionMaster::MoveAlongSplineChain(), MotionMaster::MoveCharge(), MotionMaster::MoveChase(), MotionMaster::MoveConfused(), MotionMaster::MoveDistract(), MotionMaster::MoveFall(), MotionMaster::MoveFleeing(), MotionMaster::MoveFollow(), MotionMaster::MoveFormation(), MotionMaster::MoveJump(), MotionMaster::MoveLand(), EscortAI::MovementInform(), MotionMaster::MovePath(), MotionMaster::MovePath(), MotionMaster::MovePoint(), MotionMaster::MoveRandom(), MotionMaster::MoveRotate(), MotionMaster::MoveSeekAssistance(), MotionMaster::MoveSeekAssistanceDistract(), MotionMaster::MoveTakeoff(), MotionMaster::MoveTargetedHome(), MotionMaster::MoveTaxiFlight(), lfg::LFGGroupScript::OnAddMember(), WaypointMovementGenerator< Creature >::OnArrived(), lfg::LFGGroupScript::OnChangeLeader(), lfg::LFGGroupScript::OnDisband(), npc_arthas_stratholme::npc_arthas_stratholmeAI::OnGossipSelect(), Player::OnGossipSelect(), SmartScript::OnInitialize(), lfg::LFGGroupScript::OnInviteMember(), lfg::LFGPlayerScript::OnLogin(), lfg::LFGPlayerScript::OnMapChanged(), lfg::LFGGroupScript::OnRemoveMember(), MovementInfo::OutDebug(), PathGenerator::PathGenerator(), SmartAI::PausePath(), InstanceMap::PermBindAllPlayers(), Player::PossessSpellInitialize(), SmartScript::ProcessAction(), CombatManager::PutReference(), ThreatManager::PutThreatenedByMeRef(), ThreatManager::PutThreatListRef(), Map::RemoveAllObjectsInRemoveList(), Vehicle::RemoveAllPassengers(), Map::RemoveFromActive(), lfg::LFGQueue::RemoveFromCompatibles(), GameObject::RemoveFromOwner(), lfg::LFGMgr::RemoveGroupData(), Vehicle::RemovePassenger(), BattlegroundQueue::RemovePlayer(), lfg::LFGMgr::RemovePlayerData(), lfg::LFGMgr::RemoveProposal(), Vehicle::Reset(), Player::ResetPetTalents(), lfg::LFGMgr::RestoreState(), MotionMaster::ResumeSplineChain(), Map::ScriptsProcess(), WorldSession::SendCalendarRaidLockoutUpdated(), CreatureTextMgr::SendChat(), Map::SendInitSelf(), WorldSession::SendLfgBootProposalUpdate(), WorldSession::SendLfgRoleChosen(), WorldSession::SendListInventory(), Player::SendLoot(), Spell::SendLoot(), Unit::SendMeleeAttackStop(), SplineChainMovementGenerator::SendPathSpline(), WorldSession::SendPetitionQueryOpcode(), WorldSession::SendPetitionShowList(), PlayerMenu::SendQuestGiverOfferReward(), PlayerMenu::SendQuestGiverQuestDetails(), PlayerMenu::SendQuestGiverQuestList(), PlayerMenu::SendQuestGiverRequestItems(), PlayerMenu::SendQuestGiverStatus(), SplineChainMovementGenerator::SendSplineFor(), WorldSession::SendTaxiStatus(), WorldSession::SendTrainerList(), ArenaTeam::SetCaptain(), Unit::SetCharm(), Unit::SetCharmedBy(), Player::SetClientControl(), lfg::LFGMgr::SetComment(), AchievementMgr::SetCriteriaProgress(), lfg::LFGMgr::SetDungeon(), instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::SetGuidData(), Unit::SetMinion(), lfg::LFGMgr::SetRoles(), lfg::LFGMgr::SetSelectedDungeons(), lfg::LFGMgr::SetState(), lfg::LFGMgr::SetVoteKick(), EscortAI::Start(), FollowerAI::StartFollow(), Player::StopCastingCharm(), Player::SummonPet(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), Spell::TakeCastItem(), Movement::MoveSpline::ToString(), TotemAI::TotemAI(), TurretAI::TurretAI(), Vehicle::Uninstall(), MotionMaster::Update(), SplineChainMovementGenerator::Update(), AchievementMgr::UpdateAchievementCriteria(), EscortAI::UpdateAI(), PetAI::UpdateAI(), FollowerAI::UpdateAI(), AuctionHouseMgr::UpdatePendingAuctions(), lfg::LFGMgr::UpdateProposal(), Player::UpdateVisibilityOf(), GameObject::Use(), CombatManager::~CombatManager(), PathGenerator::~PathGenerator(), SpellEvent::~SpellEvent(), and ThreatManager::~ThreatManager().

◆ WriteAsPacked()

Member Data Documentation

◆ _guid

uint64 ObjectGuid::_guid = 0
private

Definition at line 256 of file ObjectGuid.h.

Referenced by ToHexString().

◆ Empty

ObjectGuid const ObjectGuid::Empty = ObjectGuid()
static

Definition at line 140 of file ObjectGuid.h.

Referenced by CreatureAI::_EnterEvadeMode(), Map::_GetScriptCreatureSourceOrTarget(), Map::_GetScriptGameObjectSourceOrTarget(), Map::_GetScriptPlayerSourceOrTarget(), Player::_LoadInventory(), Player::_LoadMailedItem(), Pet::_SaveAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::_UpdateSpells(), LootItem::AllowedForPlayer(), Unit::AttackStop(), spell_halion_marks::BeforeDispel(), WorldSession::BuildPartyMemberStatsChangedPacket(), Group::CanJoinBattlegroundQueue(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::CaveDestruction(), OPvPCapturePointEP_EWT::ChangeState(), OPvPCapturePointEP_NPT::ChangeState(), OPvPCapturePointEP_CGT::ChangeState(), OPvPCapturePointEP_PWT::ChangeState(), OPvPCapturePointHP::ChangeState(), lfg::LFGQueue::CheckCompatibility(), modify_commandscript::CheckModifyResources(), modify_commandscript::CheckModifySpeed(), CinematicMgr::CinematicMgr(), Player::ClearQuestSharingInfo(), Group::CountRollVote(), Group::CountTheRoll(), Bag::Create(), instance_dire_maul::instance_dire_maul_InstanceMapScript::CrystalCreatureCheck(), boss_scarlet_commander_mograine::DamageTaken(), boss_eye_of_cthun::eye_of_cthunAI::DamageTaken(), Guild::DeleteMember(), CalendarMgr::DeleteOldEvents(), npc_brann_hos::DespawnDwarf(), Player::DestroyItem(), Guild::Disband(), Group::Disband(), ArenaTeam::Disband(), npc_halion_controller::DoAction(), spell_rog_tricks_of_the_trade::DoAfterHit(), boss_ambassador_hellmaw::DoIntro(), WorldSession::DoLootRelease(), tele_commandscript::DoNameTeleport(), Spell::DoSpellEffectHit(), instance_blackrock_spire::instance_blackrock_spireMapScript::Dragonspireroomcheck(), Player::DuelComplete(), boss_doomrel::boss_doomrelAI::EnterEvadeMode(), npc_pet_dk_rune_weapon::EnterEvadeMode(), npc_pet_mage_mirror_image::EnterEvadeMode(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BattlegroundEY::EventPlayerDroppedFlag(), boss_icehowl::ExecuteEvent(), ChatHandler::extractPlayerTarget(), CharacterCache::GetCharacterGuidByName(), Unit::GetComboTargetGUID(), SpellCastTargets::GetCorpseTargetGUID(), Unit::GetFirstMinion(), BattlegroundWS::GetFlagPickerGUID(), Battleground::GetFlagPickerGUID(), SpellCastTargets::GetGOTargetGUID(), Unit::GetGuardianPet(), npc_coren_direbrew_sisters::GetGUID(), boss_sapphiron::GetGUID(), npc_sapphiron_blizzard::GetGUID(), SmartAI::GetGUID(), boss_lord_marrowgar::GetGUID(), boss_malygos::GetGUID(), GameObjectAI::GetGUID(), UnitAI::GetGUID(), Object::GetGUID(), instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GetGuidData(), instance_deadmines::instance_deadmines_InstanceMapScript::GetGuidData(), instance_stratholme::instance_stratholme_InstanceMapScript::GetGuidData(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::GetGuidData(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::GetGuidData(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::GetGuidData(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::GetGuidData(), instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript::GetGuidData(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::GetGuidData(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::GetGuidData(), instance_arcatraz::instance_arcatraz_InstanceMapScript::GetGuidData(), instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::GetGuidData(), instance_naxxramas::instance_naxxramas_InstanceMapScript::GetGuidData(), instance_blackrock_spire::instance_blackrock_spireMapScript::GetGuidData(), instance_karazhan::instance_karazhan_InstanceMapScript::GetGuidData(), instance_scholomance::instance_scholomance_InstanceMapScript::GetGuidData(), instance_dire_maul::instance_dire_maul_InstanceMapScript::GetGuidData(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::GetGuidData(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::GetGuidData(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::GetGuidData(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GetGuidData(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::GetGuidData(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetGuidData(), instance_nexus::instance_nexus_InstanceMapScript::GetGuidData(), instance_oculus::instance_oculus_InstanceMapScript::GetGuidData(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::GetGuidData(), instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript::GetGuidData(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::GetGuidData(), instance_gnomeregan::instance_gnomeregan_InstanceMapScript::GetGuidData(), ZoneScript::GetGuidData(), boss_sara::boss_saraAI::GetLinkedPlayerGUID(), ObjectMgr::GetLinkedRespawnGuid(), Group::GetLooterGuid(), Group::GetMemberGUID(), MotionMaster::GetMovementGeneratorsInformation(), InstanceScript::GetObjectGuid(), getOrphanGUID(), lfg::LFGMgr::GetQueueId(), WorldObject::GetTransGUID(), Unit::GetTransGUID(), SpellCastTargets::GetUnitTargetGUID(), WorldSession::HandleAddFriendOpcode(), Guild::HandleAddNewRank(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), misc_commandscript::HandleAppearCommand(), WorldSession::HandleArenaTeamLeaderOpcode(), WorldSession::HandleArenaTeamRemoveOpcode(), AuraEffect::HandleAuraModShapeshift(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBuybackItem(), Guild::HandleBuyBankTab(), WorldSession::HandleCalendarAddEvent(), WorldSession::HandleCancelAuraOpcode(), misc_commandscript::HandleCombatStopCommand(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugSendSellErrorCommand(), modify_commandscript::HandleDeMorphCommand(), misc_commandscript::HandleDieCommand(), spell_sapphiron_summon_blizzard::HandleDummy(), spell_warl_seduction::HandleDummy(), group_commandscript::HandleGroupSummonCommand(), honor_commandscript::HandleHonorAddCommand(), honor_commandscript::HandleHonorAddKillCommand(), honor_commandscript::HandleHonorUpdateCommand(), misc_commandscript::HandleKickPlayerCommand(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberWithdrawMoney(), modify_commandscript::HandleModifyBitCommand(), modify_commandscript::HandleModifyHonorCommand(), modify_commandscript::HandleModifyMoneyCommand(), modify_commandscript::HandleModifyMorphCommand(), modify_commandscript::HandleModifyMountCommand(), modify_commandscript::HandleModifyPhaseCommand(), modify_commandscript::HandleModifyRepCommand(), modify_commandscript::HandleModifySpellCommand(), modify_commandscript::HandleModifyTalentCommand(), modify_commandscript::HandleModifyXPCommand(), spell_gen_mount::HandleMount(), npc_commandscript::HandleNpcWhisperCommand(), WorldSession::HandleOpenWrappedItemCallback(), spell_sapphiron_change_blizzard_target::HandlePeriodic(), spell_assembly_rune_of_summoning::spell_assembly_rune_of_summoning_AuraScript::HandlePeriodic(), WorldSession::HandlePetCancelAuraOpcode(), misc_commandscript::HandlePInfoCommand(), spell_mage_glyph_of_polymorph::HandleProc(), spell_mage_glyph_of_icy_veins::HandleProc(), quest_commandscript::HandleQuestComplete(), misc_commandscript::HandleRecallCommand(), Guild::HandleRemoveMember(), Guild::HandleRemoveRank(), misc_commandscript::HandleRepairitemsCommand(), WorldSession::HandleRequestAccountData(), spell_rotface_ooze_flood::HandleScript(), spell_ulduar_rubble_summon::spell_ulduar_rubble_summonSpellScript::HandleScript(), spell_yogg_saron_induce_madness::spell_yogg_saron_induce_madness_SpellScript::HandleScript(), Guild::HandleSetBankTabInfo(), Guild::HandleSetMOTD(), Guild::HandleSetNewGuildMaster(), Guild::HandleSetRankInfo(), misc_commandscript::HandleSummonCommand(), WorldSession::HandleTalentWipeConfirmOpcode(), cheat_commandscript::HandleTaxiCheatCommand(), tele_commandscript::HandleTeleGroupCommand(), titles_commandscript::HandleTitlesAddCommand(), titles_commandscript::HandleTitlesCurrentCommand(), titles_commandscript::HandleTitlesRemoveCommand(), titles_commandscript::HandleTitlesSetMaskCommand(), Guild::HandleUpdateMemberRank(), boss_dorothee::JustAppeared(), boss_big_bad_wolf::JustAppeared(), boss_julianne::JustAppeared(), boss_warlord_kalithresh::JustDied(), boss_warlord_kalithresh::JustEngagedWith(), boss_warlord_kalithresh::JustReachedHome(), npc_risen_archmage::JustSummoned(), Channel::KickOrBan(), Player::KilledMonster(), AuctionHouseMgr::LoadAuctionItems(), GmTicket::LoadFromDB(), Player::LoadFromDB(), Bag::LoadFromDB(), Group::LoadGroupFromDB(), Guild::BankTab::LoadItemFromDB(), WorldSession::LogoutPlayer(), LootItem::LootItem(), spell_halion_twilight_realm_handlers::OnApply(), spell_gen_animal_blood::OnApply(), spell_blood_queen_vampiric_bite::OnCast(), instance_ulduar::instance_ulduar_InstanceMapScript::OnGameObjectCreate(), instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::OnGameObjectCreate(), instance_blackrock_spire::instance_blackrock_spireMapScript::OnGameObjectCreate(), instance_karazhan::instance_karazhan_InstanceMapScript::OnGameObjectCreate(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::OnGameObjectCreate(), instance_stratholme::instance_stratholme_InstanceMapScript::OnGameObjectCreate(), instance_uldaman::instance_uldaman_InstanceMapScript::OnGameObjectCreate(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::OnGameObjectCreate(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnGameObjectCreate(), instance_ahnkahet::instance_ahnkahet_InstanceScript::OnGameObjectCreate(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnGameObjectCreate(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnGameObjectCreate(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::OnGameObjectCreate(), instance_black_temple::instance_black_temple_InstanceMapScript::OnGameObjectCreate(), instance_steam_vault::instance_steam_vault_InstanceMapScript::OnGameObjectCreate(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnGameObjectCreate(), go_bridge_console::OnGossipHello(), go_main_chambers_access_panel::OnGossipHello(), go_chromaggus_lever::OnGossipHello(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::OnGossipHello(), npc_colonel_jules::npc_colonel_julesAI::OnGossipHello(), spell_halion_combustion_consumption::OnRemove(), lfg::LFGGroupScript::OnRemoveMember(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnUnitDeath(), CalendarMgr::RemoveAllPlayerEventsAndInvites(), GameObject::RemoveFromOwner(), Unit::RemoveGameObjectImpl(), lfg::LFGMgr::RemoveGroupData(), Player::RemoveItem(), Bag::RemoveItem(), Player::RemoveItemFromBuyBackSlot(), Group::RemoveMember(), BattlegroundEY::RemovePlayer(), BattlegroundWS::RemovePlayer(), boss_scarlet_commander_mograine::Reset(), boss_svala::Reset(), npc_warden_mellichar::Reset(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::Reset(), Guild::ResetTimes(), BattlegroundEY::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::RestoreAll(), Player::RewardPlayerAndGroupAtEvent(), Channel::Say(), Map::ScriptCommandStart(), Map::ScriptsStart(), Player::SendBuyError(), Spell::SendChannelUpdate(), PlayerMenu::SendCloseGossip(), WorldSession::SendListInventory(), Player::SendLogXPGain(), Player::SendSellError(), Group::SendUpdateToPlayer(), ScriptedAI::SetAggressiveStateAfter(), instance_karazhan::instance_karazhan_InstanceMapScript::SetBossState(), instance_black_temple::instance_black_temple_InstanceMapScript::SetBossState(), Unit::SetConfused(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::SetData(), npc_zombie_chow::SetData(), instance_uldaman::instance_uldaman_InstanceMapScript::SetData(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetData(), instance_black_temple::instance_black_temple_InstanceMapScript::SetData(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::SetData(), Creature::setDeathState(), Item::SetEnchantment(), Unit::SetFeared(), Guild::BankTab::SetItem(), Creature::SetLootRecipient(), GameObject::SetLootRecipient(), Unit::SetMinion(), Channel::SetMode(), Item::SetNotRefundable(), Channel::SetOwner(), TradeData::SetSpell(), Creature::SetSpellFocus(), Unit::SetStunned(), Group::SetTargetIcon(), SmartScript::SetTimedActionList(), npc_harrison_jones::npc_harrison_jonesAI::SpellHit(), npc_warden_mellichar::SpellHit(), boss_ichoron::SummonedCreatureDespawn(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), Player::TeleportTo(), Channel::UnBan(), Unit::Update(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), boss_halion::UpdateAI(), npc_halion_controller::UpdateAI(), boss_devourer_of_souls::UpdateAI(), npc_strangulate_vehicle::UpdateAI(), boss_gluth::UpdateAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::UpdateAI(), npc_warden_mellichar::UpdateAI(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::UpdateEscortAI(), and Group::UpdateLooterGuid().


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