![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if a player is from the same or connected realm.
unitIsSameServer = C_PlayerInfo.UnitIsSameServer(playerLocation)
Arguments
- playerLocation
- PlayerLocationMixin🔗
Returns
- unitIsSameServer
- boolean
Example
Shows if your target is on the same (connected) realm.
/dump C_PlayerInfo.UnitIsSameServer(PlayerLocation:CreateFromUnit("target"))
Patch changes
Patch 8.1.5 (2019-03-12): Added.
