Riferimento

Riferimento delle funzioni

Callback delle condizioni personalizzate

Una condizione personalizzata è un insieme di corpi di funzione Lua. Ognuno riceve questi argomenti; addon e L sono disponibili in tutti.

evaluate(value, cache, evalStart)

Stabilisce se questa condizione è attualmente soddisfatta.

valuetableI valori memorizzati per questa condizione.
cachetableDati condivisi per questo ciclo di valutazione.
evalStartnumberIstante di inizio della valutazione, in secondi da GetTime().
Valori restituitiboolean | niltrue corrisponde; false o nil non corrisponde.

valid(spec, value)

Controlla se i valori memorizzati della condizione sono completi e validi.

specnumberAmbito di specializzazione della rotazione.
valuetableI valori memorizzati per questa condizione.
Valori restituitibooleantrue quando la condizione può essere valutata.

print(spec, value)

Descrive la condizione a parole.

specnumberAmbito di specializzazione della rotazione.
valuetableI valori memorizzati per questa condizione.
Valori restituitistring | RMConditionPhraseUna stringa leggibile, oppure una frase con nome temporanea da Functions.presentation.phrase. I valori con nome restano letterali; i predicati tipizzati scelgono la formulazione positiva o negativa. Il formato stringa precedente resta supportato.

widget(parent, spec, value)

Crea i controlli usati per modificare questa condizione.

parentRMConditionGroupIl contenitore dei campi della condizione fornito dall'adattatore dell'interfaccia.
specnumberAmbito di specializzazione della rotazione.
valuetableI valori memorizzati per questa condizione.
Valori restituitinilAggiunge i controlli al contenitore fornito.

help(frame)

Crea il contenuto dell'aiuto per questa condizione.

frameRMConditionGroupIl contenitore dell'aiuto fornito dall'adattatore dell'interfaccia.
Valori restituitinilAggiunge il contenuto dell'aiuto al contenitore fornito.

on_register(tag)

Inizializza le risorse quando la condizione viene registrata.

tagstringL'identificativo della condizione.
Valori restituitinilIl valore restituito non viene usato.

on_unregister(tag)

Rilascia le risorse quando la condizione viene rimossa o sostituita.

tagstringL'identificativo della condizione.
Valori restituitinilIl valore restituito non viene usato.

Valori che il tuo codice può usare

addonRMAddonIstanza dell'addon Rotation Master. Le funzioni helper pubbliche sono documentate in Functions.
LtableTesto localizzato di Rotation Master, indicizzato dalla sua chiave inglese.
addon.unitstable<string, string>Tabella supportata da identificativo unità a nome localizzato dell'unità. Usa value.unit come chiave; per esempio addon.units[value.unit]. Gli identificativi disponibili variano in base al client.
addon.unitsPossessivetable<string, string>Tabella supportata da identificativo unità a nome possessivo localizzato dell'unità, come "il tuo bersaglio".
addon.PlatformRMPlatformAdattatore di compatibilità del client di Rotation Master. I suoi metodi restituiscono normali risultati leggibili, oppure nil con un motivo quando un'osservazione non è disponibile. Usa una chiamata con i due punti, oppure passa esplicitamente addon.Platform come self con un riferimento col punto.
addon.SpellCatalogRMSpellCatalogCatalogo degli incantesimi di Rotation Master per risolvere ID, gradi, nomi, icone e link degli incantesimi specifici del client.
functionstable<string, function>Funzioni di utilità associate esplicitamente a questa condizione o funzione. Scegli un completamento per associare una funzione personalizzata disponibile prima di inserirne il riferimento.

API di WoW per il codice personalizzato

Funzioni di supporto integrate

Le funzioni di supporto che la scheda Funzioni del gioco elenca come Integrate. Quelle pubbliche si chiamano per nome; le altre si collegano come dipendenza (scegli il completamento o aggiungila in Dipendenze) e si chiamano con il loro nome qualificato.

240 di 240 funzioni di supporto.

Conditions.bossmod.encounterNote dipendenzaBuilds the status line the boss-mod condition editors show about the current encounter.
Conditions.bossmod.idEditor dipendenzaBuilds a full-width edit box for an optional boss-mod ID (such as the encounter ID) and adds it to parent.
Conditions.bossmod.note dipendenzaAdds a full-width text label to a boss-mod condition editor; used for the encounter and timer status lines.
Conditions.bossmod.timerNote dipendenzaBuilds the status line the boss-mod condition editors show about running boss-mod timers.
Conditions.bossmod.validCompare dipendenzaValidation 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 dipendenzaTrue 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 dipendenzaReads 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 dipendenzaFormats 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 dipendenzaTrue when value is a positive, finite whole number; SET_PIECES uses it to validate the saved item set ID.
Conditions.common.Widget_GetSpellId pubblicaRisolve l'identificatore dell'incantesimo memorizzato da una condizione.
Conditions.common.Widget_SpellWidget pubblicaCrea un campo per incantesimi con suggerimenti, convalida e supporto ai link degli incantesimi per i widget delle condizioni personalizzate.
Conditions.common.Widget_UnitWidget pubblicaCrea un selettore di unità configurato, associato a un record del valore della condizione.
Conditions.edition_state.eclipseMeasures dipendenzaLists the two measures of the Eclipse condition with their editor labels.
Conditions.edition_state.validCompare dipendenzaChecks that a condition value carries a known comparison operator and a finite, non-negative number to compare against.
Conditions.encounter_state.validCompare dipendenzaChecks that a condition value carries a known comparison operator and a finite, non-negative number to compare against.
Conditions.encounter_state.validNumber dipendenzaChecks that a value is a finite number of zero or more (not NaN, not infinite).
Conditions.engraving.identifier dipendenzaTrue when value is a positive whole number below 2^31; RUNE_ENGRAVED uses it to validate a saved rune ID.
Conditions.engraving.runeLabel dipendenzaNames 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 dipendenzaTests 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 dipendenzaTrue when value is a whole number from 0 to 31, the range of weapon subclass IDs WEAPON_TYPE accepts.
Conditions.equipment.subclassName dipendenzaNames 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 dipendenzaLists what the Group Count condition can count, with the editor label of each.
Conditions.group_state.validCompare dipendenzaChecks 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 dipendenzaReturns 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 dipendenzaNames 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 dipendenzaChecks that a value can be a hero talent tree ID: a positive whole number below 2^31.
Conditions.item.get_item_desc dipendenzaDescribes 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 dipendenzaAdds 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 dipendenzaTrue when value is a positive, finite whole number; SPELL_KNOWN uses it to validate the saved spell ID.
Conditions.misc.difficultyKind dipendenzaNames the kind of group a difficulty is for, from the group GetDifficultyInfo reports.
Conditions.misc.difficultyName dipendenzaThe 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 dipendenzaChecks that a value can be a difficulty or instance ID: a whole number from 0 up to 2^31.
Conditions.player_state.stateNames dipendenzaLists the states the Player State condition offers, with the editor label of each.
Conditions.player_state.statePhrase dipendenzaThe 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 dipendenzaFormats a valid list of markers in priority order.
Conditions.raid_marks.markName dipendenzaReturns the game's localized name for a raid marker, falling back to its English name.
Conditions.raid_marks.modeNames dipendenzaReturns the localized labels for the any, none and selected-mark modes.
Conditions.raid_marks.validMark dipendenzaChecks a saved marker mode or a comma-separated list of distinct marker names.
Conditions.spatial_stats.aggregate dipendenzaReduces the per-unit readings a PROXIMITY_* condition collected to one statistic: their average, minimum or maximum.
Conditions.spatial_stats.observation dipendenzaReads one health or mana number for a PROXIMITY_* condition through the evaluation cache, protected against errors.
Conditions.spatial_stats.statistic dipendenzaReads 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 dipendenzaCalls a yes/no game API through the evaluation cache, protected against errors, for the distance conditions.
Conditions.spatial.combatFilter dipendenzaApplies 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 dipendenzaTrue when value is a number that is neither NaN nor infinite.
Conditions.spatial.nameplateDistanceCount dipendenzaCounts 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 dipendenzaFunzione di supporto inclusa da Conditions/spatial.lua.
Conditions.spatial.rangeMember dipendenzaDecides 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 dipendenzaReturns the LibRangeCheck-3.0 range estimate for a unit as minimum and maximum yards.
Conditions.specialization.classChoices dipendenzaBuilds the specialization choices for one class in the SPECIALIZATION editor.
Conditions.specialization.playerClass dipendenzaReturns 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 dipendenzaLooks 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 dipendenzaTrue when value is a positive, finite whole number, the accepted shape of a saved specialization ID.
Conditions.specialization.specName dipendenzaNames a specialization for SPECIALIZATION descriptions: the platform's display name and icon, else the built-in localized name, else "specialization N".
Conditions.talent.block dipendenzaAdds 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 dipendenzaLists 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 dipendenzaCreates 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 dipendenzaBuilds 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 dipendenzaReturns 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 dipendenzaThe 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 dipendenzaCreates 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 dipendenzaLooks 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 dipendenzaTrue when value is a whole number between minimum and maximum, inclusive.
Conditions.talent.legacySlot dipendenzaTrue 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 dipendenzaWhether 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 dipendenzaAdds a full-width explanatory label to a talent condition editor.
Conditions.talent.traitFamily dipendenzaTrue when the client uses trait talents, that is the retail or forever client families.
Conditions.talent.traitShape dipendenzaTrue when value.layout is "traits", meaning the TALENT condition names a trait node.
Conditions.talent.traitsWidget dipendenzaBuilds 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 dipendenzaChecks that a talent condition's tree index exists on this client, using the cached platform talent tree count.
Conditions.talent.treeName dipendenzaNames 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 dipendenzaBuilds 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 dipendenzaTrue when a TALENT condition uses the tree layout (layout nil or "tree") with both tree and talent set.
Conditions.talent.treeWidget dipendenzaBuilds 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 dipendenzaTrue 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 dipendenzaTrue 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 dipendenzaSearches 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 dipendenzaCalls a totem platform method through the evaluation cache, passing the platform as its self argument.
Conditions.totem.remaining dipendenzaSeconds left on a totem slot record at time start (or now): zero when the totem is inactive, and never negative.
Conditions.totem.specific dipendenzaTrue when a totem spell condition names a valid spell ID and value.ranked is nil or a boolean.
Conditions.weapon.enchantObservation dipendenzaReads 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 dipendenzaAccepts a readable, nonnegative, finite number from a weapon observation and returns it unchanged; anything else becomes nil with a reason.
Conditions.weapon.swingSpeed dipendenzaReads 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 pubblicaConta gli identificativi di classe corrispondenti nell'elenco fisso attuale dei membri.
Core.creature_conditions.configuredID dipendenzaMaps a stored CREATURE condition key to its numeric creature type, from BEAST (1) to GAS_CLUUD (13).
Core.creature_conditions.GetConditionCreatureTypeMatch pubblicaConfronta l'ID creatura dell'unità selezionata con una chiave di tipo di creatura salvata esistente.
Core.health_forecast_conditions.finite dipendenzaChecks that a health-forecast number is readable and finite.
Core.health_forecast_conditions.GetConditionHealthForecast pubblicaStima il tempo necessario per raggiungere la salute selezionata.
Core.health_forecast_conditions.nativeValue dipendenzaReads 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 dipendenzaReads 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 pubblicaRisolve un livello grezzo leggibile dell'unità per la valutazione delle condizioni.
Core.point_conditions.editionPointResource dipendenzaSelects 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 pubblicaRisolve il selettore delle risorse a punti dell'unità selezionata usando la mappa attuale classe-risorsa e il ripiego su ComboPoints.
Core.point_conditions.GetConditionPointResourceV2 pubblicaRisolve le risorse a punti usando la corrispondenza originale attuale delle classi e la cache dell'identità, con una policy di trasporto esplicita di ripiego su ComboPoints per il giocatore di TBC.
Core.point_conditions.pointIdentity dipendenzaObserves whether unit exists and, if so, its class, for the point-resource selectors.
Core.threat_count_conditions.finite dipendenzaChecks that a threat-count number is readable and finite.
Core.threat_count_conditions.GetConditionThreatCount pubblicaConta solo le unità indicizzate per GUID già presenti nell'istantanea dei membri osservata.
Core.threat_count_conditions.readField dipendenzaReads object[key] for the threat-count conditions without letting a restricted value, a non-table object or an index error escape.
Functions.cache.getCached pubblicaChiama un'osservazione una sola volta per cache e per tupla esatta di argomenti, inclusi i risultati nil.
Functions.cache.getRetryCached pubblicaMemorizza in cache un'osservazione dopo che ha restituito un valore non nil; ritenta le osservazioni la cui intera tupla restituita è nil.
Functions.collections.cleanArray pubblicaRimuove voci sul posto, mantenendo per impostazione predefinita solo le chiavi elencate tra i valori di except.
Functions.collections.compareArray pubblicaVisita le voci di entrambe le tabelle e confronta ogni valore con il valore allo stesso indice nell'altra tabella usando l'uguaglianza di Lua.
Functions.collections.deepcopy pubblicaCrea una copia superficiale filtrata, nonostante il nome storico deepcopy.
Functions.collections.index pubblicaRestituisce la prima chiave il cui valore è uguale al valore fornito durante l'attraversamento con pairs.
Functions.collections.keys pubblicaRaccoglie le chiavi della tabella e le ordina in base ai valori associati usando il confronto minore-di di Lua.
Functions.collections.multiinsert pubblicaInserisce ogni valore visitato da ipairs nel corrispondente indice iniziale dell'array di destinazione.
Functions.collections.spairs pubblicaCrea un iteratore su un'istantanea ordinata delle chiavi della tabella.
Functions.collections.tablelength pubblicaConta tutte le voci visitate da pairs, inclusi i valori false e le chiavi numeriche sparse o non numeriche.
Functions.collections.tomap pubblicaCopia una tabella usando tostring di ogni chiave originale come chiave di destinazione.
Functions.forecast.calculate pubblicaCalcola un tasso verificato dalla cronologia della salute usando una finestra e un orologio finiti ed espliciti.
Functions.forecast.finite dipendenzaChecks that a number used by Functions.forecast.calculate is readable and finite.
Functions.forecast.readField dipendenzaReads object[key] for Functions.forecast.calculate without letting a restricted value, a non-table object or an index error escape.
Functions.presentation.compareString pubblicaFormatta la formulazione del confronto con alternative booleane con nome quando l'operatore ha una forma negativa.
Functions.presentation.nullable pubblicaRestituisce invariato un valore presente, oppure un segnaposto rosso di visualizzazione per nil.
Functions.presentation.nullable_value pubblicaCerca una chiave della tabella per la visualizzazione, preservando i risultati non nil; tabelle non valide, chiavi mancanti e chiavi nil usano un testo segnaposto per valori nulli.
Functions.presentation.phrase pubblicaCrea un riepilogo temporaneo della condizione con nome.
Functions.presentation.playerize pubblicaSceglie il valore fornito per il giocatore solo per l'identificativo unità letterale player; ogni altra unità seleziona il valore per i non giocatori.
Functions.presentation.predicate pubblicaCrea un predicato di confronto tipizzato per una frase di condizione con nome.
Functions.text.ends_with pubblicaVerifica un suffisso letterale di byte usando una sottostringa Lua.
Functions.text.split pubblicaDivide una stringa in sequenze non vuote tra i caratteri separatori.
Functions.text.starts_with pubblicaVerifica un prefisso letterale di byte usando una sottostringa Lua.
Functions.text.trim pubblicaRimuove da una stringa gli spazi iniziali e finali secondo i pattern Lua.
Functions.text.wrap pubblicaManda a capo il testo in corrispondenza degli spazi vicino a un numero di colonne desiderato.
Functions.trends.calculate pubblicaStima la variazione di salute con segno dalla cronologia ponderata di danni e cure.
Functions.trends.calculateOld pubblicaEsegue la formula storica di tendenza delle istantanee della salute usando la finestra attuale della cronologia del profilo, l'orologio e il servizio di arrotondamento precedente.
Functions.values.compare pubblicaConfronta due valori usando un identificativo di operatore RM: LESSTHAN, LESSTHANOREQUALS, GREATERTHAN, GREATERTHANOREQUALS, EQUALS, NOTEQUALS o DIVISIBLE.
Functions.values.isin pubblicaControlla se una tabella ha un valore non nil in corrispondenza di una chiave.
Functions.values.isint pubblicaApplica il test precedente sulla rappresentazione come intero o come stringa numerica canonica.
Functions.values.round pubblicaArrotonda con la formula esistente floor(num * 10^places + 0.5) / 10^places.
Platform.actions.call dipendenzaCalls a native API function in protected mode and returns its first result only when Rotation Master can read it.
Platform.actions.findSlot dipendenzaFinds the spell-book slot of a spell with FindSpellBookSlotBySpellID.
Platform.actions.GetSpellRangeState pubblicaLegge la portata specifica di un incantesimo per un'unità usando l'API del client appropriata o lo slot del libro degli incantesimi.
Platform.actions.spellID dipendenzaValidates a spell ID argument.
Platform.announcement_recipient.GetAnnouncementRecipientGroupMembership pubblicaRisolve il nome esatto del destinatario di un lancio rispetto all'elenco limitato attuale dei membri del gruppo o dell'incursione, poi osserva l'appartenenza tramite un identificativo unità.
Platform.casting.durationSeconds dipendenzaComputes 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 dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.casting.GetUnitCastObservation pubblicaOsserva il lancio o la canalizzazione di un'unità sui client con policy di sondaggio o ristretta.
Platform.casting.interruptibility dipendenzaConverts the native notInterruptible flag of a cast or channel into an interruptible Boolean (its inverse).
Platform.casting.remainingSeconds dipendenzaConverts 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 dipendenzaValidates the spell ID field of a cast or channel result.
Platform.creature_type.GetUnitCreatureTypeID pubblicaOsserva l'identità della creatura dal secondo valore restituito da UnitCreatureType nativo sui client con policy di sondaggio o ristretta.
Platform.form.GetPlayerFormObservation pubblicaOsserva la forma attuale del giocatore con un'unica chiamata protetta a GetShapeshiftForm senza argomenti.
Platform.glyphs.GetGlyphItemInfo pubblicaClassifica un oggetto numerico come glifo per la classe richiesta, usando in modo protetto i metadati nativi dell'oggetto.
Platform.glyphs.GetGlyphSocketSnapshot pubblicaOsserva gli alloggiamenti dei glifi sui layout verificati dei client Wrath, Cata e Mists.
Platform.glyphs.integer dipendenzaReturns true when value is a finite whole number no smaller than minimum, and false for anything else (including NaN and infinity).
Platform.glyphs.layout dipendenzaMaps client information to the position in the GetGlyphSocketInfo result that holds the glyph spell ID.
Platform.glyphs.socket dipendenzaReads one glyph socket by calling fn(index) in protected mode and always returns a slot record with slot=index.
Platform.groups.GetGroupMembership pubblicaLegge l'appartenenza pubblica al gruppo sulle famiglie di client identificate.
Platform.groups.GetUnitGroupMembership pubblicaLegge l'appartenenza di un'unità specificata al gruppo o all'incursione del giocatore.
Platform.health_forecast.finite dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.health_forecast.GetHealthForecastIdentityObservation pubblicaSui client con policy di sondaggio o ristretta osserva esattamente UnitExists(unit), poi UnitGUID(unit) solo per un'unità presente.
Platform.health_forecast.GetHealthForecastProviderObservation pubblicaLegge RealMobHealth facoltativo usando la sua chiamata con punto esatta a un argomento.
Platform.health_forecast.GetHealthForecastTimeObservation pubblicaOsserva un GetTime protetto senza argomenti, appena letto, per una previsione della salute necessaria.
Platform.health_forecast.GetHealthForecastValueObservation pubblicaLegge un valore scalare pigro della salute dopo un controllo separato dell'identità.
Platform.health_forecast.providerValue dipendenzaNormalizes one health figure returned by the RealMobHealth provider.
Platform.health_forecast.readField dipendenzaReads object[key] in protected mode.
Platform.instance.GetInstanceObservation pubblicaOsserva una singola tupla protetta di IsInInstance senza argomenti.
Platform.items.finite dipendenzaReturns true when value is a finite, nonnegative number (not NaN or infinity), and false for anything else.
Platform.items.GetItemInfoInstant pubblicaLegge i metadati nativi normalizzati di classificazione dell'oggetto.
Platform.items.identifier dipendenzaValidates an item argument.
Platform.loss_of_control.GetLossOfControlCount pubblicaLegge il conteggio documentato delle perdite di controllo attive con una chiamata con punto protetta senza argomenti.
Platform.loss_of_control.GetLossOfControlEvent pubblicaLegge una riga documentata di perdita di controllo attiva tramite il suo indice nativo e il tipo di soggetto richiesto.
Platform.mobinfo2.finite dipendenzaChecks that a value is a readable finite number.
Platform.mobinfo2.GetMobInfo2Observation pubblicaLegge le osservazioni storiche facoltative di MobInfo2 sui client con policy di sondaggio o ristretta.
Platform.mobinfo2.hitCount dipendenzaReads the hit count for a spell school from a MobInfo2 resists table (the field named school.."Hits").
Platform.mobinfo2.presence dipendenzaChecks whether a unit exists with one protected UnitExists call.
Platform.mobinfo2.readField dipendenzaReads object[key] in protected mode for MobInfo2 data.
Platform.pet.GetPetObservation pubblicaOsserva l'esistenza esatta del famiglio e, facoltativamente, il suo nome visualizzato formattato da GetUnitName.
Platform.player_flags.GetPlayerFlagObservation pubblicaOsserva un singolo indicatore indipendente del giocatore senza argomenti: stealthed usa IsStealthed, control usa HasFullControl e outdoors usa IsOutdoors.
Platform.player_movement.GetPlayerMovementObservation pubblicaOsserva la velocità di movimento attuale del giocatore sui client leggibili supportati.
Platform.points.GetPlayerComboPointObservation pubblicaOsserva il trasporto dei punti combo del giocatore di TBC selezionato esplicitamente.
Platform.points.GetUnitPointFragmentObservation pubblicaOsserva una risorsa a punti che il client riporta in frammenti (Braci Ardenti di Mists of Pandaria).
Platform.points.GetUnitPointIdentityObservation pubblicaOsserva l'esistenza esatta dell'unità selezionata e, facoltativamente, il nome file della sua classe per le condizioni sulle risorse a punti.
Platform.points.GetUnitPointPowerObservation pubblicaLegge la quantità di una singola risorsa a punti selezionata esplicitamente, con una query esatta a due argomenti UnitPower o UnitPowerMax.
Platform.range.GetNameplateMaxDistance pubblicaLegge l'attuale distanza positiva di visibilità delle targhette usando l'API CVar supportata.
Platform.range.GetRangeCheckBounds pubblicaLegge l'intervallo pubblico di LibRangeCheck per un'unità.
Platform.role.GetInspectRoleObservation pubblicaOsserva il ruolo di un'unità selezionata sui client con policy di sondaggio o ristretta, senza inviare richieste di ispezione.
Platform.role.GetTalentGroupRoleObservation pubblicaOsserva il primo risultato di ruolo della chiamata con punto esatta GetTalentGroupRole(group), del sistema precedente, sui client con policy di sondaggio o ristretta.
Platform.role.readField dipendenzaReads object[key] in protected mode, used to look up optional APIs.
Platform.role.roleValue dipendenzaValidates a role returned by a native API.
Platform.roster_class.GetRosterClassObservation pubblicaLegge l'identità pubblica dei membri sulle famiglie di client identificate.
Platform.roster_class.rosterUnit dipendenzaReturns 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 pubblicaLegge un'osservazione protetta e appena letta di UnitClass del giocatore per la proprietà della rotazione.
Platform.runes.finite dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.runes.GetRuneCooldownObservation pubblicaLegge una singola tupla protetta di GetRuneCooldown per uno slot nativo esatto.
Platform.runes.GetRuneEvaluationTime pubblicaLegge un GetTime protetto, appena letto e senza argomenti, per l'aritmetica dei tempi di recupero delle rune.
Platform.runes.GetRuneTypeObservation pubblicaOsserva un singolo slot di runa nativo esatto usando GetRuneType con il suo unico argomento indice.
Platform.runes.numberField dipendenzaNormalizes one numeric field of a native result.
Platform.runes.validIndex dipendenzaValidates a rune slot index.
Platform.spells.cooldownFlags dipendenzaExtracts the never-secret isEnabled, isActive and isOnGCD flags from a C_Spell.GetSpellCooldown record whose times are secret.
Platform.spells.cooldownValues dipendenzaReads a spell cooldown as separate values for the readiness checks.
Platform.spells.copy dipendenzaCopies the expected fields of a native result table into a new table, checking each type.
Platform.spells.finiteNonNegative dipendenzaReturns true when value is a nonnegative number that is not NaN or infinity, and false for anything else.
Platform.spells.flagReadiness dipendenzaDecides cooldown readiness from the never-secret flags when the cooldown times are hidden.
Platform.spells.gcdRunning dipendenzaReports whether the global cooldown is running at time now.
Platform.spells.GetSpellCharges pubblicaLegge un record normalizzato delle cariche: currentCharges, maxCharges, cooldownStartTime, cooldownDuration, chargeModRate e isActive.
Platform.spells.GetSpellCooldown pubblicaLegge e normalizza il tempo di recupero di un incantesimo su tutti i client supportati.
Platform.spells.identifier dipendenzaValidates a spell argument.
Platform.spells.IsAutoRepeatActive pubblicaLegge lo stato di ripetizione automatica del giocatore per un incantesimo come Shoot o Auto Shot.
Platform.spells.IsSpellReady pubblicaVerifica se un incantesimo può essere consigliato ora, ammettendo un incantesimo il cui tempo di recupero residuo termina con il tempo di recupero globale in corso.
Platform.spells.own dipendenzaReturns a record holding only the expected fields, each checked by type.
Platform.threat.GetUnitThreatObservation pubblicaOsserva in ordine l'esistenza dell'unità selezionata, l'ostilità rispetto al giocatore e poi lo stato di minaccia del giocatore su quell'unità.
Platform.unit_attackability.GetUnitAttackabilityObservation pubblicaOsserva se il giocatore può attaccare un'unità selezionata non morta, usando esattamente i predicati UnitExists, UnitCanAttack e UnitIsDead.
Platform.unit_flags.GetUnitFlagObservation pubblicaOsserva un singolo indicatore attuale dell'unità: combat usa UnitAffectingCombat, enemy usa UnitIsEnemy con player come prima unità e pvp usa UnitIsPVP.
Platform.unit_health.finite dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_health.GetUnitHealthObservation pubblicaOsserva la salute attuale leggibile e, facoltativamente, la salute massima sui client supportati.
Platform.unit_identity.GetUnitIdentityObservation pubblicaConfronta due identificativi unità esatti usando UnitIsUnit, dopo aver verificato con UnitExists solo il primo.
Platform.unit_level.finite dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_level.GetUnitLevelObservation pubblicaOsserva il livello grezzo leggibile di un'unità sui client noti.
Platform.unit_metadata.GetUnitMetadataObservation pubblicaOsserva un singolo campo di metadati nativi dell'unità consumato, dopo aver verificato UnitExists: class usa il secondo valore restituito da UnitClass, creature usa il nome localizzato di UnitCreatureType e classification usa UnitClassification.
Platform.unit_power.finite dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_power.GetUnitPowerObservation pubblicaOsserva il mana esplicito o la risorsa grezza attuale sui client leggibili supportati.
Platform.unit_presence.GetUnitPresenceObservation pubblicaOsserva la presenza dell'unità sulle famiglie di client identificate.
Platform.unit_stat.finite dipendenzaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_stat.GetUnitStatObservation pubblicaOsserva la statistica effettiva solo dal secondo valore nativo restituito.
Platform.unit_states.GetUnitStateObservation pubblicaOsserva lo stato di morte o di spirito, oppure l'amicizia verso il giocatore, per l'unità selezionata esatta sui client con policy di sondaggio o ristretta.
Platform.zone_pvp.GetZonePVPObservation pubblicaOsserva il primo risultato della classificazione PvP della zona con un'unica chiamata con punto protetta senza argomenti.
UI.checkbox.constructor dipendenzaConstructs 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 pubblicaCrea un controllo booleano nativo per le condizioni.
UI.condition_display.buttonConstructor dipendenzaConstructs 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 pubblicaCrea un pulsante nativo usando il ciclo di vita condiviso dei widget di condizione e il tema del workbench.
UI.condition_display.CreateConditionLabel pubblicaCrea un testo nativo a capo automatico che misura la propria altezza in base a larghezza e carattere.
UI.condition_display.CreateConditionLink pubblicaCrea un testo nativo a capo automatico con immagine iniziale facoltativa e callback del puntatore.
UI.condition_display.defaultFont dipendenzaReturns 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 dipendenzaConstructs 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 dipendenzaConstructs 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 pubblicaCrea un controllo immagine nativo usando il ciclo di vita dei widget di condizione.
UI.condition_inputs.constructor dipendenzaConstructs 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 pubblicaCrea un campo di testo nativo usando il contratto dei widget di condizione.
UI.condition_inputs.CreateConditionSlider pubblicaCrea un campo numerico nativo per le condizioni, con un cursore e un campo numerico digitabile.
UI.condition_inputs.finite dipendenzaTrue 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 dipendenzaConstructs 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 pubblicaCrea un contenitore di campi di condizione con layout List, Table e campi incantesimo adattivi gestiti da RM.
UI.condition_layout.layoutIconRows dipendenzaLays 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 dipendenzaConverts 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 dipendenzaConstructs 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 pubblicaCrea un pad di posizionamento nativo usando i controlli direzionali condivisi.
UI.selector.CreateConditionDropdown pubblicaCrea un selettore nativo per le condizioni.
UI.selector.selectorWidget dipendenzaConstructs a new RM-Selector dropdown widget: an optional caption over a button that opens the workbench selector popup.
utils.getCachedInternal dipendenzaFunzione di supporto inclusa da utils.lua.
utils.packResults dipendenzaFunzione di supporto inclusa da utils.lua.