PlayerLocationMixin

Source: FrameXML\ObjectAPI\PlayerLocation.lua

API

 * PlayerLocation:CreateFromGUID( guid ) : playerLocation - Creates an object from a UnitGUID.
 * PlayerLocation:CreateFromUnit( unit ) : playerLocation - Creates an object from a UnitId.
 * PlayerLocation:CreateFromChatLineID( lineID ) : playerLocation - Creates an object from a chat lineID.
 * PlayerLocation:CreateFromCommunityChatData( clubID, streamID, epoch, position ) : playerLocation - Creates an object from a community message.
 * PlayerLocation:CreateFromCommunityInvitation( clubID, guid ) : playerLocation - Creates an object from a community invitation.
 * PlayerLocation:CreateFromBattlefieldScoreIndex( battlefieldScoreIndex ) : playerLocation - Creates an object from a Battleground player.
 * PlayerLocation:CreateFromVoiceID( memberID, channelID ) : playerLocation - Creates an object from voice chat.
 * PlayerLocation:CreateFromBattleNetID( battleNetID ) : playerLocation - Creates an object from a Battle.net ID.

Methods

 * PlayerLocationMixin:SetGUID( guid )
 * PlayerLocationMixin:IsValid : boolean
 * PlayerLocationMixin:IsGUID : boolean
 * PlayerLocationMixin:IsBattleNetGUID : boolean
 * PlayerLocationMixin:GetGUID : guid
 * PlayerLocationMixin:SetUnit( unit )
 * PlayerLocationMixin:IsUnit : boolean
 * PlayerLocationMixin:GetUnit : unit
 * PlayerLocationMixin:SetChatLineID( lineID )
 * PlayerLocationMixin:IsChatLineID : boolean
 * PlayerLocationMixin:GetChatLineID : chatLineID
 * PlayerLocationMixin:SetBattlefieldScoreIndex( index )
 * PlayerLocationMixin:IsBattlefieldScoreIndex : boolean
 * PlayerLocationMixin:GetBattlefieldScoreIndex : battlefieldScoreIndex
 * PlayerLocationMixin:SetVoiceID( memberID, channelID )
 * PlayerLocationMixin:IsVoiceID : boolean
 * PlayerLocationMixin:GetVoiceID : voiceMemberID, voiceChannelID
 * PlayerLocationMixin:SetBattleNetID( battleNetID )
 * PlayerLocationMixin:IsBattleNetID : boolean
 * PlayerLocationMixin:GetBattleNetID : battleNetID
 * PlayerLocationMixin:SetCommunityData( clubID, streamID, epoch, position )
 * PlayerLocationMixin:IsCommunityData : boolean
 * PlayerLocationMixin:SetCommunityInvitation( clubID, guid )
 * PlayerLocationMixin:IsCommunityInvitation : boolean
 * PlayerLocationMixin:Clear
 * PlayerLocationMixin:ClearAndSetField( fieldName, field )

Example
Prints the race and class of your character.