Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about the player's relation to the specified unit's realm.
realmRelationship = UnitRealmRelationship(unit)
Arguments[]
- unit
- string : UnitId
Returns[]
- realmRelationship
- number - if the specified unit is a player, one of:
LE_REALM_RELATION_SAME
= 1 - unit and player are from the same realm.LE_REALM_RELATION_COALESCED
= 2 - unit and player are coalesced from unconnected realms.LE_REALM_RELATION_VIRTUAL
= 3 - unit and player are from Connected Realms.
Patch changes[]
Patch 5.4.0 (2013-09-10): Added.