Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

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[]

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.

See also[]

Advertisement