Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] is there a reason `WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself` go through guids/ObjectAccess

[DiscordArchive] is there a reason `WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself` go through guids/ObjectAccess

[DiscordArchive] is there a reason `WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself` go through guids/ObjectAccess

rektbyfaith
Administrator
0
12-08-2021, 11:01 AM
#1
Archived author: <o> • Posted: 2021-12-08T11:01:53.611000+00:00
Original source

is there a reason `WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself` go through guids/ObjectAccessor to grab the player object? are `m_charmer` or `m_owner` somehow dangerous to check here?
rektbyfaith
12-08-2021, 11:01 AM #1

Archived author: <o> • Posted: 2021-12-08T11:01:53.611000+00:00
Original source

is there a reason `WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself` go through guids/ObjectAccessor to grab the player object? are `m_charmer` or `m_owner` somehow dangerous to check here?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)