PlayerLocation:CreateFromCommunityInvitation()

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

Identifies the author of a community invite.

location = PlayerLocation:CreateFromCommunityInvitation(clubID, guid)
location:SetCommunityInvitation(clubID, guid)

Arguments

clubID
string
guid
string - Player GUID representing the community club inviter, 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

External links

References

 
  1. ^ 2018-07-16, PlayerLocation.lua, version 8.0.1.27101, archived at Townlong-Yak