API PlayerLocation CreateFromUnit

Identifies any player having a UnitId. location = PlayerLocation:CreateFromUnit(unit) location:SetUnit(unit)

Arguments

 * unit : - UnitId such as "target".

Returns

 * location : - 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.