Function reference
Built In helpers
The helpers the in-game Functions tab lists as Built In. Public ones are called by name; the others are bound as a dependency (choose the completion, or add it under Dependencies) and called by their qualified name.
88 of 240 helpers. Clear filters
Platform. dependency | Calls a native API function in protected mode and returns its first result only when Rotation Master can read it. |
|---|---|
Platform. dependency | Finds the spell-book slot of a spell with FindSpellBookSlotBySpellID. |
Platform. public | Read spell-specific range for a unit using the appropriate client API or spell-book slot. |
Platform. dependency | Validates a spell ID argument. |
Platform. public | Resolve an exact cast-recipient name against the current bounded party or raid roster, then observe membership through a unit token. |
Platform. dependency | Computes the total length of a cast or channel in seconds from the millisecond start and end times in a UnitCastingInfo or UnitChannelInfo result. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | Observe a unit casting or channeling on probe- and restricted-policy clients. |
Platform. dependency | Converts the native notInterruptible flag of a cast or channel into an interruptible Boolean (its inverse). |
Platform. dependency | Converts the millisecond end time of a cast or channel into the seconds left, measured against a fresh GetTime() and clamped at zero. |
Platform. dependency | Validates the spell ID field of a cast or channel result. |
Platform. public | Observe creature identity from native UnitCreatureType return two on probe- and restricted-policy clients. |
Platform. public | Observe the current player form with one protected zero-argument GetShapeshiftForm call. |
Platform. public | Classify a numeric item as a glyph for the requested class, using guarded native item metadata. |
Platform. public | Observe glyph sockets on verified Wrath, Cata and Mists client layouts. |
Platform. dependency | Returns true when value is a finite whole number no smaller than minimum, and false for anything else (including NaN and infinity). |
Platform. dependency | Maps client information to the position in the GetGlyphSocketInfo result that holds the glyph spell ID. |
Platform. dependency | Reads one glyph socket by calling fn(index) in protected mode and always returns a slot record with slot=index. |
Platform. public | Read public group membership on identified client families. |
Platform. public | Read a specified unit membership in the player party or raid. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | On probe- and restricted-policy clients, observe exact UnitExists(unit), then UnitGUID(unit) only for a present unit. |
Platform. public | Read optional RealMobHealth using its exact one-argument dot call. |
Platform. public | Observe a fresh protected zero-argument GetTime for a needed health forecast. |
Platform. public | Read a lazy health scalar after a separate identity gate. |
Platform. dependency | Normalizes one health figure returned by the RealMobHealth provider. |
Platform. dependency | Reads object[key] in protected mode. |
Platform. public | Observe one protected zero-argument IsInInstance tuple. |
Platform. dependency | Returns true when value is a finite, nonnegative number (not NaN or infinity), and false for anything else. |
Platform. public | Read normalized native item classification metadata. |
Platform. dependency | Validates an item argument. |
Platform. public | Read the documented active loss-of-control count with a protected zero-argument dot call. |
Platform. public | Read one documented active loss-of-control row by its native index and requested subject kind. |
Platform. dependency | Checks that a value is a readable finite number. |
Platform. public | Read optional MobInfo2 historical observations on probe- and restricted-policy clients. |
Platform. dependency | Reads the hit count for a spell school from a MobInfo2 resists table (the field named school.."Hits"). |
Platform. dependency | Checks whether a unit exists with one protected UnitExists call. |
Platform. dependency | Reads object[key] in protected mode for MobInfo2 data. |
Platform. public | Observe exact pet existence and optionally its formatted GetUnitName display name. |
Platform. public | Observe one independent zero-argument player flag: stealthed uses IsStealthed, control uses HasFullControl, and outdoors uses IsOutdoors. |
Platform. public | Observe the player current movement speed on supported readable clients. |
Platform. public | Observe the explicitly selected TBC player combo transport. |
Platform. public | Observe a point resource that the client reports in fragments (Mists of Pandaria Burning Embers). |
Platform. public | Observe exact selected-unit existence and optionally its class filename for point-resource conditions. |
Platform. public | Read one explicitly selected point-resource quantity with an exact two-argument UnitPower or UnitPowerMax query. |
Platform. public | Read the current positive nameplate visibility distance using the supported CVar API. |
Platform. public | Read the public LibRangeCheck interval for a unit. |
Platform. public | Observe a selected unit role on probe- and restricted-policy clients without issuing inspection requests. |
Platform. public | Observe the first role result of the exact legacy GetTalentGroupRole(group) dot call on probe- and restricted-policy clients. |
Platform. dependency | Reads object[key] in protected mode, used to look up optional APIs. |
Platform. dependency | Validates a role returned by a native API. |
Platform. public | Read public roster identity on identified client families. |
Platform. dependency | Returns true when unit is exactly player, party1 through party4, or raid1 through raid40 (no leading zeros), and false for any other string. |
Platform. public | Read a fresh protected UnitClass player observation for rotation ownership. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | Read one protected GetRuneCooldown tuple for an exact native slot. |
Platform. public | Read a fresh protected zero-argument GetTime for rune cooldown arithmetic. |
Platform. public | Observe one exact native rune slot using GetRuneType with its single index argument. |
Platform. dependency | Normalizes one numeric field of a native result. |
Platform. dependency | Validates a rune slot index. |
Platform. dependency | Extracts the never-secret isEnabled, isActive and isOnGCD flags from a C_Spell.GetSpellCooldown record whose times are secret. |
Platform. dependency | Reads a spell cooldown as separate values for the readiness checks. |
Platform. dependency | Copies the expected fields of a native result table into a new table, checking each type. |
Platform. dependency | Returns true when value is a nonnegative number that is not NaN or infinity, and false for anything else. |
Platform. dependency | Decides cooldown readiness from the never-secret flags when the cooldown times are hidden. |
Platform. dependency | Reports whether the global cooldown is running at time now. |
Platform. public | Read a normalized charge record: currentCharges, maxCharges, cooldownStartTime, cooldownDuration, chargeModRate and isActive. |
Platform. public | Read and normalize a spell cooldown across supported clients. |
Platform. dependency | Validates a spell argument. |
Platform. public | Read the player auto-repeat state for a spell such as Shoot or Auto Shot. |
Platform. public | Check whether a spell can be recommended now, allowing a spell whose remaining cooldown ends with the current global cooldown. |
Platform. dependency | Returns a record holding only the expected fields, each checked by type. |
Platform. public | Observe ordered selected-unit existence, hostility from player, then the player threat status on that unit. |
Platform. public | Observe whether the player can attack a selected unit that is not dead, using the exact UnitExists, UnitCanAttack and UnitIsDead predicates. |
Platform. public | Observe one current unit flag: combat uses UnitAffectingCombat, enemy uses UnitIsEnemy with player as the first unit, and pvp uses UnitIsPVP. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | Observe readable current health and optionally maximum health on supported clients. |
Platform. public | Compare two exact unit tokens using UnitIsUnit after checking only the first token with UnitExists. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | Observe a readable raw unit level on known clients. |
Platform. public | Observe one consumed native unit metadata field after checking UnitExists: class uses UnitClass return two, creature uses the localized UnitCreatureType name, and classification uses UnitClassification. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | Observe explicit mana or the current raw power resource on supported readable clients. |
Platform. public | Observe unit presence on identified client families. |
Platform. dependency | Returns true when value is a number that is neither NaN nor infinite, and false for anything else. |
Platform. public | Observe the effective statistic from native return two only. |
Platform. public | Observe death or ghost state, or friendliness to the player, for the exact selected unit on probe- and restricted-policy clients. |
Platform. public | Observe the first zone PvP classification result with one protected zero-argument dot call. |
