PlayerLocation:CreateFromBattleNetID()

From Warcraft Wiki
Jump to navigation Jump to search
This function is implemented in :CreateFromBattleNetID FrameXML/ObjectAPI/PlayerLocation.lua.

Identifies a player by their Battle.Net account

location = PlayerLocation:CreateFromCommunityInvitation(battleNetID)
location:SetCommunityInvitation(battleNetID)

Arguments

battleNetID
string

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

External links

References

 
  1. ^ 2019-09-24, PlayerLocation.lua, version 8.2.5.31960, near line 46, archived at Townlong-Yak