LibRealmDetect-1.0

  • 2 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
API and usage pankker pankker Feb 07, 2014
Pulling the library to your your addon local mod = {} LibStub("LibRealmDetect-1.0"):Embed(mod) -- or ... -- local rdlib = LibStub("LibRealmDetect-1.0"):Library() API functions lib:GetCurrentRealm() Returns realmName, isUncertain realmName (string) - The assumed name of the realm currently connected to, or the last known realm if isUncertain is 1. isUncertain (1 / nil) - whether the current realm is not known for sure (i.e., during the period of /who queries being made when a realm phase is...
Main pankker pankker Feb 07, 2014
LibRealmDetect-1.0 will attempt to detect the realm (or realm group for connected realms) a player is currently phased to when in a cross-realm group, through the use of automated /who queries done in the background. Addons using this library can register to be notified when a realm change is detected, and what the name of this new realm is (or realmS, if it's a connected realm group). Also... Due to the detection being based on /who queries, the information will not be available instantly at...
  • 2 pages found