Referenz

Funktionsreferenz

Callbacks benutzerdefinierter Bedingungen

Eine benutzerdefinierte Bedingung besteht aus mehreren Lua-Funktionsrümpfen. Jeder erhält diese Argumente; addon und L stehen in allen zur Verfügung.

evaluate(value, cache, evalStart)

Entscheiden, ob diese Bedingung aktuell zutrifft.

valuetableDie gespeicherten Werte dieser Bedingung.
cachetableGemeinsame Daten für diesen Auswertungszyklus.
evalStartnumberStartzeit der Auswertung in Sekunden laut GetTime().
Rückgabewerteboolean | niltrue trifft zu; false oder nil trifft nicht zu.

valid(spec, value)

Prüfen, ob die gespeicherten Bedingungswerte vollständig und gültig sind.

specnumberSpezialisierungsbereich der Rotation.
valuetableDie gespeicherten Werte dieser Bedingung.
Rückgabewertebooleantrue, wenn die Bedingung ausgewertet werden kann.

print(spec, value)

Die Bedingung in lesbaren Worten beschreiben.

specnumberSpezialisierungsbereich der Rotation.
valuetableDie gespeicherten Werte dieser Bedingung.
Rückgabewertestring | RMConditionPhraseEin lesbarer Text oder eine vorübergehende benannte Phrase aus Functions.presentation.phrase. Benannte Werte bleiben wörtlich; typisierte Prädikate wählen positive oder negative Formulierungen. Das alte Textformat wird weiterhin unterstützt.

widget(parent, spec, value)

Die Steuerelemente zum Bearbeiten dieser Bedingung erstellen.

parentRMConditionGroupDer vom UI-Adapter bereitgestellte Container für die Bedingungsfelder.
specnumberSpezialisierungsbereich der Rotation.
valuetableDie gespeicherten Werte dieser Bedingung.
RückgabewertenilSteuerelemente zum bereitgestellten Container hinzufügen.

help(frame)

Den Hilfeinhalt für diese Bedingung erstellen.

frameRMConditionGroupDer vom UI-Adapter bereitgestellte Hilfecontainer.
RückgabewertenilHilfeinhalt zum bereitgestellten Container hinzufügen.

on_register(tag)

Ressourcen initialisieren, wenn die Bedingung registriert wird.

tagstringDie Kennung der Bedingung.
RückgabewertenilEs wird kein Rückgabewert verwendet.

on_unregister(tag)

Ressourcen freigeben, wenn die Bedingung entfernt oder ersetzt wird.

tagstringDie Kennung der Bedingung.
RückgabewertenilEs wird kein Rückgabewert verwendet.

Werte, die Ihr Code verwenden kann

addonRMAddonRotation Master-Addon-Instanz. Öffentliche Hilfsfunktionen sind unter Funktionen dokumentiert.
LtableLokalisierter Rotation Master-Text, indiziert nach seinem englischen Schlüssel.
addon.unitstable<string, string>Unterstützte Zuordnung von Einheitenkennungen zu lokalisierten Einheitennamen. value.unit als Schlüssel verwenden, zum Beispiel addon.units[value.unit]. Die verfügbaren Kennungen hängen vom Client ab.
addon.unitsPossessivetable<string, string>Unterstützte Zuordnung von Einheitenkennungen zu lokalisierten Einheitennamen im Genitiv, etwa „Ihr Ziel“.
addon.PlatformRMPlatformKompatibilitätsadapter von Rotation Master für den Client. Seine Methoden liefern normale lesbare Ergebnisse oder nil mit einem Grund, wenn eine Beobachtung nicht verfügbar ist. Einen Aufruf mit Doppelpunkt verwenden oder bei einem Punktverweis addon.Platform ausdrücklich als self übergeben.
addon.SpellCatalogRMSpellCatalogZauberkatalog von Rotation Master zum Auflösen clientspezifischer Zauber-IDs, Ränge, Namen, Symbole und Links.
functionstable<string, function>Hilfsfunktionen, die ausdrücklich an diese Bedingung oder Funktion gebunden sind. Eine Vervollständigung wählen, um eine verfügbare benutzerdefinierte Funktion zu binden, bevor ihr Verweis eingefügt wird.

WoW-API für benutzerdefinierten Code

Integrierte Hilfsfunktionen

Die Hilfsfunktionen, die der Reiter Funktionen im Spiel als integriert aufführt. Öffentliche werden über ihren Namen aufgerufen; die anderen werden als Abhängigkeit gebunden (wählen Sie die Vervollständigung oder fügen Sie sie unter Abhängigkeiten hinzu) und über ihren qualifizierten Namen aufgerufen.

240 von 240 Hilfsfunktionen.

Conditions.bossmod.encounterNote AbhängigkeitBuilds the status line the boss-mod condition editors show about the current encounter.
Conditions.bossmod.idEditor AbhängigkeitBuilds a full-width edit box for an optional boss-mod ID (such as the encounter ID) and adds it to parent.
Conditions.bossmod.note AbhängigkeitAdds a full-width text label to a boss-mod condition editor; used for the encounter and timer status lines.
Conditions.bossmod.timerNote AbhängigkeitBuilds the status line the boss-mod condition editors show about running boss-mod timers.
Conditions.bossmod.validCompare AbhängigkeitValidation check for a boss-mod condition's comparison: true when value.operator is one of addon.operators and value.value is a finite number of zero or more.
Conditions.bossmod.validID AbhängigkeitTrue when value is a positive whole number below 2^31, the accepted shape of a saved boss-mod encounter or spell ID.
Conditions.build.imbueObservation AbhängigkeitReads the temporary enchant ID on the main hand, or the off hand when value.offhand is set, for the WEAPON_IMBUE condition.
Conditions.build.setLabel AbhängigkeitFormats an item set ID for the SET_PIECES description: the set name with its ID when addon:GetItemSetName knows it, otherwise "item set N".
Conditions.build.wholeNumber AbhängigkeitTrue when value is a positive, finite whole number; SET_PIECES uses it to validate the saved item set ID.
Conditions.common.Widget_GetSpellId öffentlichDie von einer Bedingung gespeicherte Zauberkennung auflösen.
Conditions.common.Widget_SpellWidget öffentlichEine Zaubereingabe mit Vorschlägen, Validierung und Zauberlink-Unterstützung für Widgets benutzerdefinierter Bedingungen erstellen.
Conditions.common.Widget_UnitWidget öffentlichEine konfigurierte Einheitenauswahl erstellen, die an einen Bedingungswert-Datensatz gebunden ist.
Conditions.edition_state.eclipseMeasures AbhängigkeitLists the two measures of the Eclipse condition with their editor labels.
Conditions.edition_state.validCompare AbhängigkeitChecks that a condition value carries a known comparison operator and a finite, non-negative number to compare against.
Conditions.encounter_state.validCompare AbhängigkeitChecks that a condition value carries a known comparison operator and a finite, non-negative number to compare against.
Conditions.encounter_state.validNumber AbhängigkeitChecks that a value is a finite number of zero or more (not NaN, not infinite).
Conditions.engraving.identifier AbhängigkeitTrue when value is a positive whole number below 2^31; RUNE_ENGRAVED uses it to validate a saved rune ID.
Conditions.engraving.runeLabel AbhängigkeitNames the rune selected in a RUNE_ENGRAVED condition: the known rune's name when the platform finds it, else the rune spell's name, else "rune spell N" or "rune N".
Conditions.equipment.matches AbhängigkeitTests one equipment slot record against a WEAPON_TYPE condition: empty slot, shield, any weapon, holdable, one-hand, two-hand, ranged, or a specific weapon subclass.
Conditions.equipment.subclassID AbhängigkeitTrue when value is a whole number from 0 to 31, the range of weapon subclass IDs WEAPON_TYPE accepts.
Conditions.equipment.subclassName AbhängigkeitNames a weapon subclass for WEAPON_TYPE descriptions, using the client's GetItemSubClassInfo when it returns a readable name, else the addon's built-in name, else "weapon type N".
Conditions.group_state.measureNames AbhängigkeitLists what the Group Count condition can count, with the editor label of each.
Conditions.group_state.validCompare AbhängigkeitChecks that a Group Count value carries a known operator and a finite, non-negative number, which is at most 100 when the count is a percent of the group.
Conditions.hero_talent.listedSpec AbhängigkeitReturns the specialization ID when it is one of the player's own class's specializations, which are the only ones whose hero talent trees the game can list.
Conditions.hero_talent.treeName AbhängigkeitNames a hero talent tree: the game's own name for it when Platform:GetHeroTreeName can read one, else "hero talent tree" followed by the ID.
Conditions.hero_talent.validTree AbhängigkeitChecks that a value can be a hero talent tree ID: a positive whole number below 2^31.
Conditions.item.get_item_desc AbhängigkeitDescribes an item reference for the item condition descriptions: an item set name (white for a profile set, cyan for a global one), or the first item's link or name followed by how many others are listed.
Conditions.item.itemHelp AbhängigkeitAdds the item condition editors' help text to frame: the shared item widget help, a gap, and a note on how item sets, bag counts and restricted observations are evaluated.
Conditions.known_spell.validID AbhängigkeitTrue when value is a positive, finite whole number; SPELL_KNOWN uses it to validate the saved spell ID.
Conditions.misc.difficultyKind AbhängigkeitNames the kind of group a difficulty is for, from the group GetDifficultyInfo reports.
Conditions.misc.difficultyName AbhängigkeitThe display name of an instance difficulty ID: the game's name for it (GetDifficultyInfo) with the kind of group in parentheses when the game gives one.
Conditions.misc.validWhole AbhängigkeitChecks that a value can be a difficulty or instance ID: a whole number from 0 up to 2^31.
Conditions.player_state.stateNames AbhängigkeitLists the states the Player State condition offers, with the editor label of each.
Conditions.player_state.statePhrase AbhängigkeitThe readable sentence for one Player State, such as "you are mounted", worded so a Not flips it to "you are not mounted".
Conditions.raid_marks.markListText AbhängigkeitFormats a valid list of markers in priority order.
Conditions.raid_marks.markName AbhängigkeitReturns the game's localized name for a raid marker, falling back to its English name.
Conditions.raid_marks.modeNames AbhängigkeitReturns the localized labels for the any, none and selected-mark modes.
Conditions.raid_marks.validMark AbhängigkeitChecks a saved marker mode or a comma-separated list of distinct marker names.
Conditions.spatial_stats.aggregate AbhängigkeitReduces the per-unit readings a PROXIMITY_* condition collected to one statistic: their average, minimum or maximum.
Conditions.spatial_stats.observation AbhängigkeitReads one health or mana number for a PROXIMITY_* condition through the evaluation cache, protected against errors.
Conditions.spatial_stats.statistic AbhängigkeitReads one unit's health or mana for the PROXIMITY_* conditions as an absolute value, a percentage of the maximum, or the deficit below the maximum.
Conditions.spatial.booleanRead AbhängigkeitCalls a yes/no game API through the evaluation cache, protected against errors, for the distance conditions.
Conditions.spatial.combatFilter AbhängigkeitApplies the In Combat option of Distance Count to one unit: with the option off every unit passes, with it on the unit must be in combat (UnitAffectingCombat).
Conditions.spatial.finite AbhängigkeitTrue when value is a number that is neither NaN nor infinite.
Conditions.spatial.nameplateDistanceCount AbhängigkeitCounts units for DISTANCE_COUNT from a nameplate unit snapshot: units that exist, whose hostility matches value.enemy, and that are definitely within value.distance yards.
Conditions.spatial.protectedRead AbhängigkeitMitgelieferte Hilfsfunktion aus Conditions/spatial.lua.
Conditions.spatial.rangeMember AbhängigkeitDecides whether unit is within distance yards from the platform's cached range-check bounds: true when the maximum bound is at or inside distance, false when the minimum bound is beyond it (or equals a nonzero distance), otherwise unavailable.
Conditions.spatial.rcf AbhängigkeitReturns the LibRangeCheck-3.0 range estimate for a unit as minimum and maximum yards.
Conditions.specialization.classChoices AbhängigkeitBuilds the specialization choices for one class in the SPECIALIZATION editor.
Conditions.specialization.playerClass AbhängigkeitReturns the player's class file token (such as "MAGE") from UnitClass, or nil when the call fails or the value is restricted.
Conditions.specialization.specClass AbhängigkeitLooks up which class a specialization ID belongs to, from the built-in specialization table or else the platform's specialization display data.
Conditions.specialization.specID AbhängigkeitTrue when value is a positive, finite whole number, the accepted shape of a saved specialization ID.
Conditions.specialization.specName AbhängigkeitNames a specialization for SPECIALIZATION descriptions: the platform's display name and icon, else the built-in localized name, else "specialization N".
Conditions.talent.block AbhängigkeitAdds a full-width group laid out as icon rows (the icon on the left, the picker rows beside it) to a condition widget.
Conditions.talent.classSpecs AbhängigkeitLists the specializations of the player's class for the Talent condition's Specialization picker, so a rotation can pick the talents of a specialization other than the one being played.
Conditions.talent.dropdown AbhängigkeitCreates a full-width condition dropdown labeled title for the talent condition editors, forwards each selection to changed, and adds it to parent.
Conditions.talent.gridWidget AbhängigkeitBuilds the TALENT editor controls for the tier-and-column grid talent layout: a talent icon and a dropdown of the client's grid talents (up to 18).
Conditions.talent.group AbhängigkeitReturns the talent group to query for spec: spec itself on progression clients when it is a whole number from 1 to 4, otherwise nil so the platform uses its default group.
Conditions.talent.groupLabel AbhängigkeitThe heading above one group of talents in the Retail and Forever talent list: class talents, specialization talents, both, one hero tree, or a plain name.
Conditions.talent.icon AbhängigkeitCreates the 44-pixel talent icon for the TALENT editors, showing the referenced talent's icon and, on hover, its spell tooltip (or its name), and adds it to parent.
Conditions.talent.info AbhängigkeitLooks up the talent a TALENT condition refers to, according to its layout: a trait node and entry, a grid index, or a tree and talent index.
Conditions.talent.integer AbhängigkeitTrue when value is a whole number between minimum and maximum, inclusive.
Conditions.talent.legacySlot AbhängigkeitTrue when a TALENT condition still uses the historical single-number layout: no layout, tree or talent field, and value.value a whole number from 1 to 21.
Conditions.talent.ownTrees AbhängigkeitWhether the talent trees shown are the player's own class's, so the game can name them, rather than another class's trees from the addon's shipped list.
Conditions.talent.text AbhängigkeitAdds a full-width explanatory label to a talent condition editor.
Conditions.talent.traitFamily AbhängigkeitTrue when the client uses trait talents, that is the retail or forever client families.
Conditions.talent.traitShape AbhängigkeitTrue when value.layout is "traits", meaning the TALENT condition names a trait node.
Conditions.talent.traitsWidget AbhängigkeitBuilds the TALENT editor controls for trait talents: a talent tree dropdown when there are several, a talent dropdown, Talent Node ID and Choice Entry ID edit boxes, and a Rank comparison.
Conditions.talent.treeExists AbhängigkeitChecks that a talent condition's tree index exists on this client, using the cached platform talent tree count.
Conditions.talent.treeName AbhängigkeitNames the talent tree in a talent tree condition's description: the client's tree name, else "Talent tree N", else "<talent tree>" when no tree is set.
Conditions.talent.treePicker AbhängigkeitBuilds the Talent tree dropdown for the TALENT_TREE_POINTS and PRIMARY_TALENT_TREE editors, listing the client's talent trees, storing the selection in value.tree and calling update.
Conditions.talent.treeShape AbhängigkeitTrue when a TALENT condition uses the tree layout (layout nil or "tree") with both tree and talent set.
Conditions.talent.treeWidget AbhängigkeitBuilds the TALENT editor controls for Classic talent trees: a tree dropdown, a talent icon, a talent dropdown for the chosen tree, and a Points comparison.
Conditions.totem.amount AbhängigkeitTrue when a totem condition's comparison is usable: value.value is a nonnegative finite number and value.operator is one of addon.operators.
Conditions.totem.element AbhängigkeitTrue when value.spell is a valid spell ID of 4 or less, meaning the condition names a totem element slot rather than a totem spell.
Conditions.totem.findSpecific AbhängigkeitSearches the totem slots for an active totem matching value.spell, by spell ID or name (only the exact spell ID when value.ranked is set).
Conditions.totem.observe AbhängigkeitCalls a totem platform method through the evaluation cache, passing the platform as its self argument.
Conditions.totem.remaining AbhängigkeitSeconds left on a totem slot record at time start (or now): zero when the totem is inactive, and never negative.
Conditions.totem.specific AbhängigkeitTrue when a totem spell condition names a valid spell ID and value.ranked is nil or a boolean.
Conditions.weapon.enchantObservation AbhängigkeitReads whether the main hand, or the off hand when value.offhand is set, has a temporary weapon enchant for the weapon conditions, with its expiration and charges.
Conditions.weapon.numericObservation AbhängigkeitAccepts a readable, nonnegative, finite number from a weapon observation and returns it unchanged; anything else becomes nil with a reason.
Conditions.weapon.swingSpeed AbhängigkeitReads the player's main-hand, or off-hand when value.offhand is set, attack speed from the cached UnitAttackSpeed for the swing timer conditions.
Core.class_group_conditions.GetClassGroupCount öffentlichPassende Klassenkennungen in der aktuellen festen Mitgliederliste zählen.
Core.creature_conditions.configuredID AbhängigkeitMaps a stored CREATURE condition key to its numeric creature type, from BEAST (1) to GAS_CLUUD (13).
Core.creature_conditions.GetConditionCreatureTypeMatch öffentlichDie Kreatur-ID der ausgewählten Einheit mit einem vorhandenen gespeicherten Kreaturtyp-Schlüssel vergleichen.
Core.health_forecast_conditions.finite AbhängigkeitChecks that a health-forecast number is readable and finite.
Core.health_forecast_conditions.GetConditionHealthForecast öffentlichZeit bis zur ausgewählten Gesundheit schätzen.
Core.health_forecast_conditions.nativeValue AbhängigkeitReads a unit's current or maximum health through the platform's health-forecast observer and the evaluation cache, rejecting restricted, missing, nonfinite or negative values.
Core.health_forecast_conditions.readField AbhängigkeitReads object[key] for the health-forecast conditions without letting a restricted value, a non-table object or an index error escape.
Core.level_conditions.GetConditionUnitLevel öffentlichEine lesbare rohe Einheitenstufe für die Bedingungsauswertung auflösen.
Core.point_conditions.editionPointResource AbhängigkeitSelects the point resource for era and progression clients from the addon's per-edition map (combo points, Holy Power, Soul Shards, Chi, Shadow Orbs and similar).
Core.point_conditions.GetConditionPointResource öffentlichDen Punktressourcen-Selektor der ausgewählten Einheit über die Live-Zuordnung von Klasse zu Ressource und den ComboPoints-Rückgriff auflösen.
Core.point_conditions.GetConditionPointResourceV2 öffentlichPunktressourcen mit der ursprünglichen Live-Klassenzuordnung und dem Identitäts-Cache auflösen, mit einer expliziten Transportrichtlinie für den ComboPoints-Rückgriff des TBC-Spielers.
Core.point_conditions.pointIdentity AbhängigkeitObserves whether unit exists and, if so, its class, for the point-resource selectors.
Core.threat_count_conditions.finite AbhängigkeitChecks that a threat-count number is readable and finite.
Core.threat_count_conditions.GetConditionThreatCount öffentlichNur Einheiten mit GUID-Schlüssel zählen, die bereits in der beobachteten Momentaufnahme der Zugehörigkeit stehen.
Core.threat_count_conditions.readField AbhängigkeitReads object[key] for the threat-count conditions without letting a restricted value, a non-table object or an index error escape.
Functions.cache.getCached öffentlichEine Beobachtung einmal pro Cache und exaktem Argumenttupel aufrufen, nil-Ergebnisse eingeschlossen.
Functions.cache.getRetryCached öffentlichEine Beobachtung zwischenspeichern, sobald sie einen Wert ungleich nil zurückgibt; Beobachtungen, deren gesamtes Rückgabetupel nil ist, erneut versuchen.
Functions.collections.cleanArray öffentlichEinträge direkt entfernen; standardmäßig bleiben nur Schlüssel erhalten, die unter den except-Werten aufgeführt sind.
Functions.collections.compareArray öffentlichEinträge in beiden Tabellen besuchen und jeden Wert per Lua-Gleichheit mit dem gleich indizierten Wert der anderen Tabelle vergleichen.
Functions.collections.deepcopy öffentlichTrotz des historischen Namens deepcopy eine flache gefilterte Kopie erstellen.
Functions.collections.index öffentlichDen ersten Schlüssel zurückgeben, dessen Wert beim pairs-Durchlauf dem übergebenen Wert entspricht.
Functions.collections.keys öffentlichTabellenschlüssel sammeln und mit dem Lua-Kleiner-als-Vergleich nach ihren zugehörigen Werten sortieren.
Functions.collections.multiinsert öffentlichJeden von ipairs besuchten Wert am entsprechenden vorderen Index in das Ziel-Array einfügen.
Functions.collections.spairs öffentlichEinen Iterator über eine sortierte Momentaufnahme der Tabellenschlüssel erstellen.
Functions.collections.tablelength öffentlichAlle von pairs besuchten Einträge zählen, einschließlich false-Werten und dünn besetzter numerischer oder nichtnumerischer Schlüssel.
Functions.collections.tomap öffentlichEine Tabelle kopieren, wobei tostring jedes ursprünglichen Schlüssels als Zielschlüssel dient.
Functions.forecast.calculate öffentlichEine geprüfte Rate aus dem Gesundheitsverlauf mit explizitem endlichem Fenster und expliziter Uhr berechnen.
Functions.forecast.finite AbhängigkeitChecks that a number used by Functions.forecast.calculate is readable and finite.
Functions.forecast.readField AbhängigkeitReads object[key] for Functions.forecast.calculate without letting a restricted value, a non-table object or an index error escape.
Functions.presentation.compareString öffentlichVergleichsformulierung mit benannten booleschen Alternativen formatieren, wenn der Operator eine negative Form hat.
Functions.presentation.nullable öffentlichEinen vorhandenen Wert unverändert zurückgeben oder für nil einen roten Anzeigeplatzhalter.
Functions.presentation.nullable_value öffentlichEinen Tabellenschlüssel zur Anzeige nachschlagen, wobei Ergebnisse ungleich nil erhalten bleiben; ungültige Tabellen, fehlende Schlüssel und nil-Schlüssel verwenden den Platzhaltertext von nullable.
Functions.presentation.phrase öffentlichEine flüchtige benannte Bedingungszusammenfassung erstellen.
Functions.presentation.playerize öffentlichDen übergebenen Spielerwert nur für die literale Einheitenkennung player wählen; jede andere Einheit wählt den Nicht-Spieler-Wert.
Functions.presentation.predicate öffentlichEin typisiertes Vergleichsprädikat für eine benannte Bedingungsphrase erstellen.
Functions.text.ends_with öffentlichEin literales Byte-Suffix mittels Lua-Teilstring prüfen.
Functions.text.split öffentlichEine Zeichenkette in nichtleere Abschnitte zwischen Trennzeichen aufteilen.
Functions.text.starts_with öffentlichEin literales Byte-Präfix mittels Lua-Teilstring prüfen.
Functions.text.trim öffentlichFührenden und nachgestellten Leerraum (im Sinne von Lua-Mustern) aus einer Zeichenkette entfernen.
Functions.text.wrap öffentlichText an Leerraumgrenzen nahe einer Ziel-Spaltenzahl umbrechen.
Functions.trends.calculate öffentlichVorzeichenbehaftete Gesundheitsänderung aus gewichtetem Schadens- und Heilungsverlauf schätzen.
Functions.trends.calculateOld öffentlichDie historische Trendformel für Gesundheits-Momentaufnahmen mit dem Live-Verlaufsfenster des Profils, der Uhr und dem alten Rundungsdienst ausführen.
Functions.values.compare öffentlichZwei Werte mit einer RM-Operatorkennung vergleichen: LESSTHAN, LESSTHANOREQUALS, GREATERTHAN, GREATERTHANOREQUALS, EQUALS, NOTEQUALS oder DIVISIBLE.
Functions.values.isin öffentlichPrüfen, ob eine Tabelle unter einem Schlüssel einen Wert ungleich nil hat.
Functions.values.isint öffentlichDen alten Test auf Ganzzahl oder kanonische numerische Zeichenkettenschreibweise anwenden.
Functions.values.round öffentlichMit der bestehenden Formel floor(num * 10^places + 0.5) / 10^places runden.
Platform.actions.call AbhängigkeitCalls a native API function in protected mode and returns its first result only when Rotation Master can read it.
Platform.actions.findSlot AbhängigkeitFinds the spell-book slot of a spell with FindSpellBookSlotBySpellID.
Platform.actions.GetSpellRangeState öffentlichDie zauberspezifische Reichweite für eine Einheit über die passende Client-API oder den Platz im Zauberbuch lesen.
Platform.actions.spellID AbhängigkeitValidates a spell ID argument.
Platform.announcement_recipient.GetAnnouncementRecipientGroupMembership öffentlichEinen exakten Zauberempfängernamen anhand der aktuellen begrenzten Mitgliederliste von Gruppe oder Schlachtzug auflösen und dann die Zugehörigkeit über eine Einheitenkennung beobachten.
Platform.casting.durationSeconds AbhängigkeitComputes the total length of a cast or channel in seconds from the millisecond start and end times in a UnitCastingInfo or UnitChannelInfo result.
Platform.casting.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.casting.GetUnitCastObservation öffentlichWirken oder Kanalisieren einer Einheit auf Clients mit Probe- oder Restricted-Richtlinie beobachten.
Platform.casting.interruptibility AbhängigkeitConverts the native notInterruptible flag of a cast or channel into an interruptible Boolean (its inverse).
Platform.casting.remainingSeconds AbhängigkeitConverts the millisecond end time of a cast or channel into the seconds left, measured against a fresh GetTime() and clamped at zero.
Platform.casting.spellIdentity AbhängigkeitValidates the spell ID field of a cast or channel result.
Platform.creature_type.GetUnitCreatureTypeID öffentlichDie Kreaturidentität aus Rückgabewert zwei des nativen UnitCreatureType auf Clients mit Probe- oder Restricted-Richtlinie beobachten.
Platform.form.GetPlayerFormObservation öffentlichDie aktuelle Gestalt des Spielers mit einem geschützten Aufruf von GetShapeshiftForm ohne Argumente beobachten.
Platform.glyphs.GetGlyphItemInfo öffentlichEinen numerischen Gegenstand anhand abgesicherter nativer Gegenstandsmetadaten als Glyphe für die angefragte Klasse klassifizieren.
Platform.glyphs.GetGlyphSocketSnapshot öffentlichGlyphensockel auf verifizierten Client-Layouts von Wrath, Cata und Mists beobachten.
Platform.glyphs.integer AbhängigkeitReturns true when value is a finite whole number no smaller than minimum, and false for anything else (including NaN and infinity).
Platform.glyphs.layout AbhängigkeitMaps client information to the position in the GetGlyphSocketInfo result that holds the glyph spell ID.
Platform.glyphs.socket AbhängigkeitReads one glyph socket by calling fn(index) in protected mode and always returns a slot record with slot=index.
Platform.groups.GetGroupMembership öffentlichÖffentliche Gruppenzugehörigkeit auf identifizierten Client-Familien lesen.
Platform.groups.GetUnitGroupMembership öffentlichDie Zugehörigkeit einer angegebenen Einheit zur Gruppe oder zum Schlachtzug des Spielers lesen.
Platform.health_forecast.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.health_forecast.GetHealthForecastIdentityObservation öffentlichAuf Clients mit Probe- oder Restricted-Richtlinie exakt UnitExists(unit) beobachten, dann UnitGUID(unit) nur für eine vorhandene Einheit.
Platform.health_forecast.GetHealthForecastProviderObservation öffentlichOptionales RealMobHealth über seinen exakten Punktaufruf mit einem Argument lesen.
Platform.health_forecast.GetHealthForecastTimeObservation öffentlichEin frisches geschütztes GetTime ohne Argumente für eine benötigte Gesundheitsprognose beobachten.
Platform.health_forecast.GetHealthForecastValueObservation öffentlichNach einer separaten Identitätsprüfung einen verzögerten Gesundheitsskalar lesen.
Platform.health_forecast.providerValue AbhängigkeitNormalizes one health figure returned by the RealMobHealth provider.
Platform.health_forecast.readField AbhängigkeitReads object[key] in protected mode.
Platform.instance.GetInstanceObservation öffentlichEin geschütztes IsInInstance-Tupel ohne Argumente beobachten.
Platform.items.finite AbhängigkeitReturns true when value is a finite, nonnegative number (not NaN or infinity), and false for anything else.
Platform.items.GetItemInfoInstant öffentlichNormalisierte native Klassifizierungsmetadaten eines Gegenstands lesen.
Platform.items.identifier AbhängigkeitValidates an item argument.
Platform.loss_of_control.GetLossOfControlCount öffentlichDie dokumentierte Anzahl aktiver Kontrollverluste mit einem geschützten Punktaufruf ohne Argumente lesen.
Platform.loss_of_control.GetLossOfControlEvent öffentlichEine dokumentierte aktive Kontrollverlust-Zeile über ihren nativen Index und die angefragte Subjektart lesen.
Platform.mobinfo2.finite AbhängigkeitChecks that a value is a readable finite number.
Platform.mobinfo2.GetMobInfo2Observation öffentlichOptionale historische Beobachtungen von MobInfo2 auf Clients mit Probe- oder Restricted-Richtlinie lesen.
Platform.mobinfo2.hitCount AbhängigkeitReads the hit count for a spell school from a MobInfo2 resists table (the field named school.."Hits").
Platform.mobinfo2.presence AbhängigkeitChecks whether a unit exists with one protected UnitExists call.
Platform.mobinfo2.readField AbhängigkeitReads object[key] in protected mode for MobInfo2 data.
Platform.pet.GetPetObservation öffentlichDie exakte Existenz des Begleiters und optional seinen formatierten Anzeigenamen per GetUnitName beobachten.
Platform.player_flags.GetPlayerFlagObservation öffentlichEin unabhängiges Spieler-Flag ohne Argumente beobachten: stealthed nutzt IsStealthed, control nutzt HasFullControl und outdoors nutzt IsOutdoors.
Platform.player_movement.GetPlayerMovementObservation öffentlichDie aktuelle Bewegungsgeschwindigkeit des Spielers auf unterstützten lesbaren Clients beobachten.
Platform.points.GetPlayerComboPointObservation öffentlichDen explizit ausgewählten TBC-Combo-Transport des Spielers beobachten.
Platform.points.GetUnitPointFragmentObservation öffentlichEine Punktressource beobachten, die der Client in Fragmenten meldet (Instabile Funken in Mists of Pandaria).
Platform.points.GetUnitPointIdentityObservation öffentlichFür Punktressourcen-Bedingungen die exakte Existenz der ausgewählten Einheit und optional ihren Klassen-Dateinamen beobachten.
Platform.points.GetUnitPointPowerObservation öffentlichEine explizit ausgewählte Punktressourcenmenge mit einer exakten UnitPower- oder UnitPowerMax-Abfrage mit zwei Argumenten lesen.
Platform.range.GetNameplateMaxDistance öffentlichDie aktuelle positive Sichtweite der Namensplaketten über die unterstützte CVar-API lesen.
Platform.range.GetRangeCheckBounds öffentlichDas öffentliche LibRangeCheck-Intervall für eine Einheit lesen.
Platform.role.GetInspectRoleObservation öffentlichDie Rolle einer ausgewählten Einheit auf Clients mit Probe- oder Restricted-Richtlinie beobachten, ohne Betrachtungsanfragen auszulösen.
Platform.role.GetTalentGroupRoleObservation öffentlichDas erste Rollenergebnis des exakten alten Punktaufrufs GetTalentGroupRole(group) auf Clients mit Probe- oder Restricted-Richtlinie beobachten.
Platform.role.readField AbhängigkeitReads object[key] in protected mode, used to look up optional APIs.
Platform.role.roleValue AbhängigkeitValidates a role returned by a native API.
Platform.roster_class.GetRosterClassObservation öffentlichÖffentliche Identität der Gruppenmitglieder auf identifizierten Client-Familien lesen.
Platform.roster_class.rosterUnit AbhängigkeitReturns true when unit is exactly player, party1 through party4, or raid1 through raid40 (no leading zeros), and false for any other string.
Platform.rotation_owner.GetPlayerOwnerClassObservation öffentlichEine frische geschützte UnitClass-Beobachtung von player für die Rotationszuordnung lesen.
Platform.runes.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.runes.GetRuneCooldownObservation öffentlichEin geschütztes GetRuneCooldown-Tupel für einen exakten nativen Platz lesen.
Platform.runes.GetRuneEvaluationTime öffentlichEin frisches geschütztes GetTime ohne Argumente für die Abklingzeit-Arithmetik der Runen lesen.
Platform.runes.GetRuneTypeObservation öffentlichEinen exakten nativen Runenplatz mit GetRuneType und seinem einzigen Index-Argument beobachten.
Platform.runes.numberField AbhängigkeitNormalizes one numeric field of a native result.
Platform.runes.validIndex AbhängigkeitValidates a rune slot index.
Platform.spells.cooldownFlags AbhängigkeitExtracts the never-secret isEnabled, isActive and isOnGCD flags from a C_Spell.GetSpellCooldown record whose times are secret.
Platform.spells.cooldownValues AbhängigkeitReads a spell cooldown as separate values for the readiness checks.
Platform.spells.copy AbhängigkeitCopies the expected fields of a native result table into a new table, checking each type.
Platform.spells.finiteNonNegative AbhängigkeitReturns true when value is a nonnegative number that is not NaN or infinity, and false for anything else.
Platform.spells.flagReadiness AbhängigkeitDecides cooldown readiness from the never-secret flags when the cooldown times are hidden.
Platform.spells.gcdRunning AbhängigkeitReports whether the global cooldown is running at time now.
Platform.spells.GetSpellCharges öffentlichEinen normalisierten Aufladungs-Datensatz lesen: currentCharges, maxCharges, cooldownStartTime, cooldownDuration, chargeModRate und isActive.
Platform.spells.GetSpellCooldown öffentlichLiest die Abklingzeit eines Zaubers und normalisiert sie über alle unterstützten Clients.
Platform.spells.identifier AbhängigkeitValidates a spell argument.
Platform.spells.IsAutoRepeatActive öffentlichDen Status der automatischen Wiederholung des Spielers für einen Zauber wie Schießen oder Automatischer Schuss lesen.
Platform.spells.IsSpellReady öffentlichPrüft, ob ein Zauber jetzt empfohlen werden kann, wobei ein Zauber zugelassen wird, dessen verbleibende Abklingzeit mit der aktuellen globalen Abklingzeit endet.
Platform.spells.own AbhängigkeitReturns a record holding only the expected fields, each checked by type.
Platform.threat.GetUnitThreatObservation öffentlichDer Reihe nach die Existenz der ausgewählten Einheit, ihre Feindseligkeit gegenüber dem Spieler und dann den Bedrohungsstatus des Spielers auf dieser Einheit beobachten.
Platform.unit_attackability.GetUnitAttackabilityObservation öffentlichBeobachten, ob der Spieler eine ausgewählte, nicht tote Einheit angreifen kann, mit den exakten Prädikaten UnitExists, UnitCanAttack und UnitIsDead.
Platform.unit_flags.GetUnitFlagObservation öffentlichEin aktuelles Einheiten-Flag beobachten: combat nutzt UnitAffectingCombat, enemy nutzt UnitIsEnemy mit player als erster Einheit und pvp nutzt UnitIsPVP.
Platform.unit_health.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_health.GetUnitHealthObservation öffentlichLesbare aktuelle Gesundheit und optional die maximale Gesundheit auf unterstützten Clients beobachten.
Platform.unit_identity.GetUnitIdentityObservation öffentlichZwei exakte Einheitenkennungen mit UnitIsUnit vergleichen, nachdem nur die erste Kennung mit UnitExists geprüft wurde.
Platform.unit_level.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_level.GetUnitLevelObservation öffentlichEine lesbare rohe Einheitenstufe auf bekannten Clients beobachten.
Platform.unit_metadata.GetUnitMetadataObservation öffentlichNach Prüfung von UnitExists genau ein verwendetes natives Metadatenfeld der Einheit beobachten: class nutzt Rückgabewert zwei von UnitClass, creature den lokalisierten Namen aus UnitCreatureType und classification UnitClassification.
Platform.unit_power.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_power.GetUnitPowerObservation öffentlichExplizit Mana oder die aktuelle rohe Ressource auf unterstützten lesbaren Clients beobachten.
Platform.unit_presence.GetUnitPresenceObservation öffentlichDie Anwesenheit einer Einheit auf identifizierten Client-Familien beobachten.
Platform.unit_stat.finite AbhängigkeitReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_stat.GetUnitStatObservation öffentlichDen effektiven Wert nur aus dem nativen Rückgabewert zwei beobachten.
Platform.unit_states.GetUnitStateObservation öffentlichTod- oder Geisterzustand bzw.
Platform.zone_pvp.GetZonePVPObservation öffentlichDas erste Ergebnis der PvP-Klassifizierung der Zone mit einem geschützten Punktaufruf ohne Argumente beobachten.
UI.checkbox.constructor AbhängigkeitConstructs a new RM-CheckBox condition widget: a 180 by 24 frame holding a workbench check box, with SetLabel, SetValue, GetValue and SetDisabled, firing OnValueChanged when clicked.
UI.checkbox.CreateConditionCheckBox öffentlichEin natives boolesches Bedingungssteuerelement erstellen.
UI.condition_display.buttonConstructor AbhängigkeitConstructs a new RM-ConditionButton widget around a 200-pixel workbench button, with SetText, SetAutoWidth and SetDisabled, firing OnClick (with the mouse button), OnEnter and OnLeave only while its lease is live.
UI.condition_display.CreateConditionButton öffentlichEinen nativen Button mit dem gemeinsamen Widget-Lebenszyklus für Bedingungen und dem Workbench-Design erstellen.
UI.condition_display.CreateConditionLabel öffentlichNativen umbrechenden Text erstellen, der seine Höhe aus Breite und Schriftart misst.
UI.condition_display.CreateConditionLink öffentlichNativen umbrechenden Text mit optionalem vorangestelltem Bild und Zeiger-Callbacks erstellen.
UI.condition_display.defaultFont AbhängigkeitReturns the default font for condition labels and buttons: the GameFontHighlightSmall font object, or its name when the object is not defined.
UI.condition_display.labelConstructor AbhängigkeitConstructs a new condition text widget: a plain wrapping RM-ConditionLabel, or with interactive set an RM-ConditionLink button that adds a leading image and OnEnter, OnLeave and OnClick callbacks.
UI.condition_icon.constructor AbhängigkeitConstructs a new RM-ConditionIcon widget: a clickable image with an optional caption below it, with SetImage, SetImageByAtlas, SetImageSize, SetLabel and SetDisabled, firing OnClick, OnEnter and OnLeave while its lease is live.
UI.condition_icon.CreateConditionIcon öffentlichEin natives Bildsteuerelement mit dem Widget-Lebenszyklus für Bedingungen erstellen.
UI.condition_inputs.constructor AbhängigkeitConstructs a new condition input widget: an RM-ConditionEditBox text box, or with numeric set an RM-ConditionSlider pairing a slider with a numeric box (with range, step and percent display).
UI.condition_inputs.CreateConditionEditBox öffentlichEine native Texteingabe nach dem Widget-Vertrag für Bedingungen erstellen.
UI.condition_inputs.CreateConditionSlider öffentlichEine native numerische Bedingungseingabe mit Schieberegler und Zahlenfeld erstellen.
UI.condition_inputs.finite AbhängigkeitTrue when value is a number that is neither NaN nor infinite; the condition inputs use it to validate entered and slider values.
UI.condition_layout.constructor AbhängigkeitConstructs a new RM-ConditionGroup container that stacks condition widgets in List, Table or RM-SpellField layout, resizing itself to its contents and relaying out its parent.
UI.condition_layout.CreateConditionGroup öffentlichEinen Feldcontainer für Bedingungen mit RM-eigenen Layouts List, Table und responsivem Zauberfeld erstellen.
UI.condition_layout.layoutIconRows AbhängigkeitLays out the "RM-IconRows" container: an icon on the left, vertically centered beside the rows of fields, and an optional side widget (marked with the side user data) that sits beside the last row when there is room and below the rows when there is not.
UI.condition_layout.verticalAlignment AbhängigkeitConverts a table cell's alignV setting to a vertical offset fraction for the condition group's Table layout: 0 for nil, start or top, 0.5 for middle or center, and 1 for end or bottom (case-insensitive prefixes).
UI.condition_position.constructor AbhängigkeitConstructs a new RM-ConditionPositionPad widget around the shared workbench directional pad, with SetDisabled, firing OnOffsetChanged (horizontal and vertical direction, whether Center was pressed, and the step) only while its lease is live and it is enabled.
UI.condition_position.CreateConditionPositionPad öffentlichEin natives Positionsfeld mit den gemeinsamen Richtungssteuerelementen erstellen.
UI.selector.CreateConditionDropdown öffentlichEine native Bedingungsauswahl erstellen.
UI.selector.selectorWidget AbhängigkeitConstructs a new RM-Selector dropdown widget: an optional caption over a button that opens the workbench selector popup.
utils.getCachedInternal AbhängigkeitMitgelieferte Hilfsfunktion aus utils.lua.
utils.packResults AbhängigkeitMitgelieferte Hilfsfunktion aus utils.lua.