IsPlayerInAvAWorld() return true if the world you're in is Cyrodiil, IC, IC Sewers, or one of the caves.
IsInCyrodiil() returns true if you're in Cyrodiil (not IC, and not the caves.)
IsInImperialCity() returns true if you're in IC or the IC sewers
InInAvAZone() returns true if either IsInCyrodiil() or IsInImperialCity() returns true
IsInCampaign() returns true if you are currently counted as inside a campaign (home or guest)
The differences are subtle, but they are used for different things, and while they may seem effectively the same now, they have the potential to diverge, giving us flexibility.
|