PlayerLocation :CreateFromGUID()
(Redirected from API PlayerLocationMixin SetGUID)
Jump to navigation
Jump to search
- This function is implemented in
.:CreateFromGUID FrameXML/ObjectAPI/PlayerLocation.lua
- This function is implemented in
Identifies any player by their GUID.
location = PlayerLocation:CreateFromGUID(guid) location:SetGUID(guid)
Arguments
- guid
- string - Player GUID such as "Player-970-0002FD64".
Returns
- location
- table - New PlayerLocationMixin.
Details
- Use the first function to create a new table pointing to the player, or the second to reassign an existing table to that player.
Patch changes
Patch 8.0.1 (2018-07-17): Added.[1]
External links
GitHub FrameXML, Gethe
Globe "wut?" Tool, Townlong-Yak
References
- ^ 2018-07-16, PlayerLocation.lua, version 8.0.1.27101, archived at Townlong-Yak