→ WoW API
Returns information about the player's relation to the specified unit's realm.
realmRelationship = UnitRealmRelationship("unit")
- String : unit to query the realm relationship with.
- 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 5.4.0 (2013-09-10): Added.