Referencia

Referencia de funciones

Callbacks de las condiciones personalizadas

Una condición personalizada es un conjunto de cuerpos de funciones Lua. Cada uno recibe estos argumentos; addon y L están disponibles en todos ellos.

evaluate(value, cache, evalStart)

Decide si esta condición coincide en este momento.

valuetableLos valores guardados de esta condición.
cachetableDatos compartidos de este ciclo de evaluación.
evalStartnumberMomento de inicio de la evaluación, en segundos según GetTime().
Retornosboolean | nilVerdadero coincide; falso o nil no coincide.

valid(spec, value)

Comprueba si los valores guardados de la condición están completos y son válidos.

specnumberÁmbito de especialización de la rotación.
valuetableLos valores guardados de esta condición.
RetornosbooleanVerdadero cuando la condición se puede evaluar.

print(spec, value)

Describe la condición con palabras legibles.

specnumberÁmbito de especialización de la rotación.
valuetableLos valores guardados de esta condición.
Retornosstring | RMConditionPhraseUna cadena legible o una frase con nombre transitoria de Functions.presentation.phrase. Los valores con nombre se mantienen literales; los predicados tipados eligen la redacción positiva o negativa. El formato de cadena antiguo sigue siendo compatible.

widget(parent, spec, value)

Crea los controles usados para editar esta condición.

parentRMConditionGroupEl contenedor de campos de la condición que proporciona el adaptador de interfaz.
specnumberÁmbito de especialización de la rotación.
valuetableLos valores guardados de esta condición.
RetornosnilAgrega controles al contenedor proporcionado.

help(frame)

Crea el contenido de ayuda de esta condición.

frameRMConditionGroupEl contenedor de ayuda que proporciona el adaptador de interfaz.
RetornosnilAgrega contenido de ayuda al contenedor proporcionado.

on_register(tag)

Inicializa recursos cuando se registra la condición.

tagstringEl identificador de la condición.
RetornosnilNo se usa ningún valor de retorno.

on_unregister(tag)

Libera recursos cuando la condición se quita o se sustituye.

tagstringEl identificador de la condición.
RetornosnilNo se usa ningún valor de retorno.

Valores que tu código puede usar

addonRMAddonInstancia del addon Rotation Master. Las funciones auxiliares públicas están documentadas en Funciones.
LtableTexto localizado de Rotation Master, indexado por su clave en inglés.
addon.unitstable<string, string>Tabla de búsqueda de token de unidad a nombre de unidad localizado. Usa value.unit como clave; por ejemplo, addon.units[value.unit]. Los tokens disponibles varían según el cliente.
addon.unitsPossessivetable<string, string>Tabla de búsqueda de token de unidad a nombre posesivo localizado de la unidad, como «de tu objetivo».
addon.PlatformRMPlatformAdaptador de compatibilidad con el cliente de Rotation Master. Sus métodos devuelven resultados legibles normales, o nil con un motivo cuando una observación no está disponible. Usa una llamada con dos puntos o pasa addon.Platform explícitamente como self con una referencia con punto.
addon.SpellCatalogRMSpellCatalogCatálogo de hechizos de Rotation Master para resolver los ID, rangos, nombres, iconos y enlaces de hechizos específicos de cada cliente.
functionstable<string, function>Funciones de utilidad vinculadas explícitamente a esta condición o función. Elige un autocompletado para vincular una función personalizada disponible antes de insertar su referencia.

API de WoW para código personalizado

Funciones auxiliares integradas

Las funciones auxiliares que la pestaña Funciones del juego muestra como integradas. Las públicas se llaman por su nombre; las demás se vinculan como dependencia (elige la sugerencia de autocompletado o agrégala en Dependencias) y se llaman por su nombre completo.

240 de 240 funciones auxiliares.

Conditions.bossmod.encounterNote dependenciaBuilds the status line the boss-mod condition editors show about the current encounter.
Conditions.bossmod.idEditor dependenciaBuilds a full-width edit box for an optional boss-mod ID (such as the encounter ID) and adds it to parent.
Conditions.bossmod.note dependenciaAdds a full-width text label to a boss-mod condition editor; used for the encounter and timer status lines.
Conditions.bossmod.timerNote dependenciaBuilds the status line the boss-mod condition editors show about running boss-mod timers.
Conditions.bossmod.validCompare dependenciaValidation 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 dependenciaTrue 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 dependenciaReads 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 dependenciaFormats 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 dependenciaTrue when value is a positive, finite whole number; SET_PIECES uses it to validate the saved item set ID.
Conditions.common.Widget_GetSpellId públicaResuelve el identificador de hechizo guardado por una condición.
Conditions.common.Widget_SpellWidget públicaCrea una entrada de hechizo con sugerencias, validación y compatibilidad con enlaces de hechizo para los widgets de condiciones personalizadas.
Conditions.common.Widget_UnitWidget públicaCrea un selector de unidad configurado vinculado a un registro de valores de condición.
Conditions.edition_state.eclipseMeasures dependenciaLists the two measures of the Eclipse condition with their editor labels.
Conditions.edition_state.validCompare dependenciaChecks that a condition value carries a known comparison operator and a finite, non-negative number to compare against.
Conditions.encounter_state.validCompare dependenciaChecks that a condition value carries a known comparison operator and a finite, non-negative number to compare against.
Conditions.encounter_state.validNumber dependenciaChecks that a value is a finite number of zero or more (not NaN, not infinite).
Conditions.engraving.identifier dependenciaTrue when value is a positive whole number below 2^31; RUNE_ENGRAVED uses it to validate a saved rune ID.
Conditions.engraving.runeLabel dependenciaNames 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 dependenciaTests 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 dependenciaTrue when value is a whole number from 0 to 31, the range of weapon subclass IDs WEAPON_TYPE accepts.
Conditions.equipment.subclassName dependenciaNames 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 dependenciaLists what the Group Count condition can count, with the editor label of each.
Conditions.group_state.validCompare dependenciaChecks 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 dependenciaReturns 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 dependenciaNames 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 dependenciaChecks that a value can be a hero talent tree ID: a positive whole number below 2^31.
Conditions.item.get_item_desc dependenciaDescribes 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 dependenciaAdds 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 dependenciaTrue when value is a positive, finite whole number; SPELL_KNOWN uses it to validate the saved spell ID.
Conditions.misc.difficultyKind dependenciaNames the kind of group a difficulty is for, from the group GetDifficultyInfo reports.
Conditions.misc.difficultyName dependenciaThe 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 dependenciaChecks that a value can be a difficulty or instance ID: a whole number from 0 up to 2^31.
Conditions.player_state.stateNames dependenciaLists the states the Player State condition offers, with the editor label of each.
Conditions.player_state.statePhrase dependenciaThe 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 dependenciaFormats a valid list of markers in priority order.
Conditions.raid_marks.markName dependenciaReturns the game's localized name for a raid marker, falling back to its English name.
Conditions.raid_marks.modeNames dependenciaReturns the localized labels for the any, none and selected-mark modes.
Conditions.raid_marks.validMark dependenciaChecks a saved marker mode or a comma-separated list of distinct marker names.
Conditions.spatial_stats.aggregate dependenciaReduces the per-unit readings a PROXIMITY_* condition collected to one statistic: their average, minimum or maximum.
Conditions.spatial_stats.observation dependenciaReads one health or mana number for a PROXIMITY_* condition through the evaluation cache, protected against errors.
Conditions.spatial_stats.statistic dependenciaReads 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 dependenciaCalls a yes/no game API through the evaluation cache, protected against errors, for the distance conditions.
Conditions.spatial.combatFilter dependenciaApplies 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 dependenciaTrue when value is a number that is neither NaN nor infinite.
Conditions.spatial.nameplateDistanceCount dependenciaCounts 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 dependenciaFunción auxiliar incluida de Conditions/spatial.lua.
Conditions.spatial.rangeMember dependenciaDecides 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 dependenciaReturns the LibRangeCheck-3.0 range estimate for a unit as minimum and maximum yards.
Conditions.specialization.classChoices dependenciaBuilds the specialization choices for one class in the SPECIALIZATION editor.
Conditions.specialization.playerClass dependenciaReturns 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 dependenciaLooks 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 dependenciaTrue when value is a positive, finite whole number, the accepted shape of a saved specialization ID.
Conditions.specialization.specName dependenciaNames a specialization for SPECIALIZATION descriptions: the platform's display name and icon, else the built-in localized name, else "specialization N".
Conditions.talent.block dependenciaAdds 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 dependenciaLists 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 dependenciaCreates 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 dependenciaBuilds 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 dependenciaReturns 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 dependenciaThe 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 dependenciaCreates 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 dependenciaLooks 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 dependenciaTrue when value is a whole number between minimum and maximum, inclusive.
Conditions.talent.legacySlot dependenciaTrue 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 dependenciaWhether 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 dependenciaAdds a full-width explanatory label to a talent condition editor.
Conditions.talent.traitFamily dependenciaTrue when the client uses trait talents, that is the retail or forever client families.
Conditions.talent.traitShape dependenciaTrue when value.layout is "traits", meaning the TALENT condition names a trait node.
Conditions.talent.traitsWidget dependenciaBuilds 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 dependenciaChecks that a talent condition's tree index exists on this client, using the cached platform talent tree count.
Conditions.talent.treeName dependenciaNames 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 dependenciaBuilds 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 dependenciaTrue when a TALENT condition uses the tree layout (layout nil or "tree") with both tree and talent set.
Conditions.talent.treeWidget dependenciaBuilds 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 dependenciaTrue 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 dependenciaTrue 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 dependenciaSearches 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 dependenciaCalls a totem platform method through the evaluation cache, passing the platform as its self argument.
Conditions.totem.remaining dependenciaSeconds left on a totem slot record at time start (or now): zero when the totem is inactive, and never negative.
Conditions.totem.specific dependenciaTrue when a totem spell condition names a valid spell ID and value.ranked is nil or a boolean.
Conditions.weapon.enchantObservation dependenciaReads 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 dependenciaAccepts a readable, nonnegative, finite number from a weapon observation and returns it unchanged; anything else becomes nil with a reason.
Conditions.weapon.swingSpeed dependenciaReads 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 públicaCuenta los tokens de clase coincidentes en la lista fija actual.
Core.creature_conditions.configuredID dependenciaMaps a stored CREATURE condition key to its numeric creature type, from BEAST (1) to GAS_CLUUD (13).
Core.creature_conditions.GetConditionCreatureTypeMatch públicaCompara el ID de criatura de la unidad seleccionada con una clave de tipo de criatura guardada existente.
Core.health_forecast_conditions.finite dependenciaChecks that a health-forecast number is readable and finite.
Core.health_forecast_conditions.GetConditionHealthForecast públicaEstima el tiempo hasta alcanzar la salud seleccionada.
Core.health_forecast_conditions.nativeValue dependenciaReads 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 dependenciaReads 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 públicaResuelve un nivel de unidad en bruto legible para evaluar condiciones.
Core.point_conditions.editionPointResource dependenciaSelects 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 públicaResuelve el selector de recurso de puntos de la unidad seleccionada usando el mapa de clase a recurso en vivo y la alternativa ComboPoints.
Core.point_conditions.GetConditionPointResourceV2 públicaResuelve los recursos de puntos usando la correspondencia de clase en vivo original y la caché de identidad, con una política explícita de transporte alternativo de ComboPoints para el jugador de TBC.
Core.point_conditions.pointIdentity dependenciaObserves whether unit exists and, if so, its class, for the point-resource selectors.
Core.threat_count_conditions.finite dependenciaChecks that a threat-count number is readable and finite.
Core.threat_count_conditions.GetConditionThreatCount públicaCuenta solo las unidades indexadas por GUID que ya están en la instantánea de pertenencia observada.
Core.threat_count_conditions.readField dependenciaReads object[key] for the threat-count conditions without letting a restricted value, a non-table object or an index error escape.
Functions.cache.getCached públicaLlama a una observación una vez por caché y tupla exacta de argumentos, incluidos los resultados nil.
Functions.cache.getRetryCached públicaGuarda en caché una observación después de que devuelva un valor no nil; reintenta las observaciones cuya tupla de retorno completa es nil.
Functions.collections.cleanArray públicaElimina entradas en el sitio y, por defecto, conserva solo las claves que aparecen entre los valores de except.
Functions.collections.compareArray públicaRecorre las entradas de ambas tablas y compara cada valor con el valor indexado de la otra tabla usando la igualdad de Lua.
Functions.collections.deepcopy públicaCrea una copia filtrada superficial, a pesar del nombre histórico deepcopy.
Functions.collections.index públicaDevuelve la primera clave cuyo valor es igual al valor proporcionado durante el recorrido de pairs.
Functions.collections.keys públicaRecoge las claves de una tabla y las ordena según sus valores asociados usando la comparación menor que de Lua.
Functions.collections.multiinsert públicaInserta cada valor recorrido por ipairs en su índice inicial correspondiente de la matriz de destino.
Functions.collections.spairs públicaCrea un iterador sobre una instantánea ordenada de las claves de una tabla.
Functions.collections.tablelength públicaCuenta todas las entradas recorridas por pairs, incluidos los valores false y las claves numéricas dispersas o no numéricas.
Functions.collections.tomap públicaCopia una tabla usando tostring de cada clave original como clave de destino.
Functions.forecast.calculate públicaCalcula un ritmo comprobado del historial de salud usando una ventana y un reloj finitos explícitos.
Functions.forecast.finite dependenciaChecks that a number used by Functions.forecast.calculate is readable and finite.
Functions.forecast.readField dependenciaReads object[key] for Functions.forecast.calculate without letting a restricted value, a non-table object or an index error escape.
Functions.presentation.compareString públicaDa formato a la redacción de la comparación con alternativas booleanas con nombre cuando el operador tiene forma negativa.
Functions.presentation.nullable públicaDevuelve sin cambios un valor presente, o un marcador rojo para nil.
Functions.presentation.nullable_value públicaBusca una clave de tabla para mostrarla, conservando los resultados no nil; las tablas no válidas, las claves que faltan y las claves nil usan un texto de marcador nullable.
Functions.presentation.phrase públicaCrea un resumen de condición con nombre transitorio.
Functions.presentation.playerize públicaElige el valor de jugador proporcionado solo para el token de unidad literal player; cualquier otra unidad selecciona el valor de no jugador.
Functions.presentation.predicate públicaCrea un predicado de comparación tipado para una frase de condición con nombre.
Functions.text.ends_with públicaComprueba un sufijo literal de bytes usando un fragmento de cadena de Lua.
Functions.text.split públicaDivide una cadena en tramos no vacíos entre caracteres separadores.
Functions.text.starts_with públicaComprueba un prefijo literal de bytes usando un fragmento de cadena de Lua.
Functions.text.trim públicaElimina los espacios en blanco iniciales y finales de una cadena según los patrones de Lua.
Functions.text.wrap públicaAjusta el texto en los límites de espacios cerca de un número de columnas objetivo.
Functions.trends.calculate públicaEstima el cambio de salud con signo a partir del historial ponderado de daño y sanación.
Functions.trends.calculateOld públicaEjecuta la fórmula histórica de tendencia de instantáneas de salud usando la ventana de historial del perfil en vivo, el reloj y el servicio de redondeo antiguo.
Functions.values.compare públicaCompara dos valores usando un identificador de operador de RM: LESSTHAN, LESSTHANOREQUALS, GREATERTHAN, GREATERTHANOREQUALS, EQUALS, NOTEQUALS o DIVISIBLE.
Functions.values.isin públicaComprueba si una tabla tiene un valor no nil en una clave.
Functions.values.isint públicaAplica la prueba antigua de entero o de escritura canónica de cadena numérica.
Functions.values.round públicaRedondea con la fórmula existente floor(num * 10^places + 0.5) / 10^places.
Platform.actions.call dependenciaCalls a native API function in protected mode and returns its first result only when Rotation Master can read it.
Platform.actions.findSlot dependenciaFinds the spell-book slot of a spell with FindSpellBookSlotBySpellID.
Platform.actions.GetSpellRangeState públicaLee el alcance específico de un hechizo para una unidad usando la API del cliente adecuada o la casilla del libro de hechizos.
Platform.actions.spellID dependenciaValidates a spell ID argument.
Platform.announcement_recipient.GetAnnouncementRecipientGroupMembership públicaResuelve el nombre exacto del destinatario de un lanzamiento con la lista acotada actual del grupo o la banda y luego observa la pertenencia mediante un token de unidad.
Platform.casting.durationSeconds dependenciaComputes 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 dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.casting.GetUnitCastObservation públicaObserva el lanzamiento o la canalización de una unidad en clientes con política de sondeo o restringida.
Platform.casting.interruptibility dependenciaConverts the native notInterruptible flag of a cast or channel into an interruptible Boolean (its inverse).
Platform.casting.remainingSeconds dependenciaConverts 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 dependenciaValidates the spell ID field of a cast or channel result.
Platform.creature_type.GetUnitCreatureTypeID públicaObserva la identidad de la criatura a partir del segundo retorno nativo de UnitCreatureType en clientes con política de sondeo o restringida.
Platform.form.GetPlayerFormObservation públicaObserva la forma actual del jugador con una única llamada protegida a GetShapeshiftForm sin argumentos.
Platform.glyphs.GetGlyphItemInfo públicaClasifica un objeto numérico como glifo de la clase solicitada, usando metadatos de objeto nativos protegidos.
Platform.glyphs.GetGlyphSocketSnapshot públicaObserva las ranuras de glifos en las disposiciones de cliente verificadas de Wrath, Cata y Mists.
Platform.glyphs.integer dependenciaReturns true when value is a finite whole number no smaller than minimum, and false for anything else (including NaN and infinity).
Platform.glyphs.layout dependenciaMaps client information to the position in the GetGlyphSocketInfo result that holds the glyph spell ID.
Platform.glyphs.socket dependenciaReads one glyph socket by calling fn(index) in protected mode and always returns a slot record with slot=index.
Platform.groups.GetGroupMembership públicaLee la pertenencia pública al grupo en familias de cliente identificadas.
Platform.groups.GetUnitGroupMembership públicaLee la pertenencia de una unidad concreta al grupo o a la banda del jugador.
Platform.health_forecast.finite dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.health_forecast.GetHealthForecastIdentityObservation públicaEn clientes con política de sondeo o restringida observa exactamente UnitExists(unit) y luego UnitGUID(unit) solo para una unidad presente.
Platform.health_forecast.GetHealthForecastProviderObservation públicaLee el addon opcional RealMobHealth con su llamada con punto exacta de un argumento.
Platform.health_forecast.GetHealthForecastTimeObservation públicaObserva un GetTime nuevo, protegido y sin argumentos para una previsión de salud necesaria.
Platform.health_forecast.GetHealthForecastValueObservation públicaLee un valor escalar de salud diferido tras una comprobación de identidad aparte.
Platform.health_forecast.providerValue dependenciaNormalizes one health figure returned by the RealMobHealth provider.
Platform.health_forecast.readField dependenciaReads object[key] in protected mode.
Platform.instance.GetInstanceObservation públicaObserva una única tupla protegida de IsInInstance sin argumentos.
Platform.items.finite dependenciaReturns true when value is a finite, nonnegative number (not NaN or infinity), and false for anything else.
Platform.items.GetItemInfoInstant públicaLee los metadatos nativos normalizados de clasificación de objetos.
Platform.items.identifier dependenciaValidates an item argument.
Platform.loss_of_control.GetLossOfControlCount públicaLee el recuento documentado de pérdidas de control activas con una llamada con punto protegida y sin argumentos.
Platform.loss_of_control.GetLossOfControlEvent públicaLee una fila documentada de pérdida de control activa por su índice nativo y el tipo de sujeto solicitado.
Platform.mobinfo2.finite dependenciaChecks that a value is a readable finite number.
Platform.mobinfo2.GetMobInfo2Observation públicaLee las observaciones históricas opcionales de MobInfo2 en clientes con política de sondeo o restringida.
Platform.mobinfo2.hitCount dependenciaReads the hit count for a spell school from a MobInfo2 resists table (the field named school.."Hits").
Platform.mobinfo2.presence dependenciaChecks whether a unit exists with one protected UnitExists call.
Platform.mobinfo2.readField dependenciaReads object[key] in protected mode for MobInfo2 data.
Platform.pet.GetPetObservation públicaObserva la existencia exacta de la mascota y, opcionalmente, su nombre visible formateado de GetUnitName.
Platform.player_flags.GetPlayerFlagObservation públicaObserva un único indicador independiente del jugador sin argumentos: stealthed usa IsStealthed, control usa HasFullControl y outdoors usa IsOutdoors.
Platform.player_movement.GetPlayerMovementObservation públicaObserva la velocidad de movimiento actual del jugador en clientes legibles compatibles.
Platform.points.GetPlayerComboPointObservation públicaObserva el transporte de combo del jugador de TBC seleccionado explícitamente.
Platform.points.GetUnitPointFragmentObservation públicaObserva un recurso de puntos que el cliente informa en fragmentos (Ascuas ardientes de Mists of Pandaria).
Platform.points.GetUnitPointIdentityObservation públicaObserva la existencia exacta de la unidad seleccionada y, opcionalmente, su nombre de archivo de clase para condiciones de recursos de puntos.
Platform.points.GetUnitPointPowerObservation públicaLee una cantidad de un recurso de puntos seleccionado explícitamente con una consulta exacta de dos argumentos a UnitPower o UnitPowerMax.
Platform.range.GetNameplateMaxDistance públicaLee la distancia de visibilidad positiva actual de las placas de nombre usando la API de CVar compatible.
Platform.range.GetRangeCheckBounds públicaLee el intervalo público de LibRangeCheck para una unidad.
Platform.role.GetInspectRoleObservation públicaObserva el rol de una unidad seleccionada en clientes con política de sondeo o restringida sin emitir solicitudes de inspección.
Platform.role.GetTalentGroupRoleObservation públicaObserva el primer resultado de rol de la llamada con punto exacta y antigua GetTalentGroupRole(group) en clientes con política de sondeo o restringida.
Platform.role.readField dependenciaReads object[key] in protected mode, used to look up optional APIs.
Platform.role.roleValue dependenciaValidates a role returned by a native API.
Platform.roster_class.GetRosterClassObservation públicaLee la identidad pública de la lista del grupo en familias de cliente identificadas.
Platform.roster_class.rosterUnit dependenciaReturns 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 públicaLee una observación nueva y protegida de UnitClass del jugador para la propiedad de las rotaciones.
Platform.runes.finite dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.runes.GetRuneCooldownObservation públicaLee una tupla protegida de GetRuneCooldown para una casilla nativa exacta.
Platform.runes.GetRuneEvaluationTime públicaLee un GetTime nuevo, protegido y sin argumentos para la aritmética del tiempo de reutilización de las runas.
Platform.runes.GetRuneTypeObservation públicaObserva una única casilla de runa nativa exacta con GetRuneType y su único argumento de índice.
Platform.runes.numberField dependenciaNormalizes one numeric field of a native result.
Platform.runes.validIndex dependenciaValidates a rune slot index.
Platform.spells.cooldownFlags dependenciaExtracts the never-secret isEnabled, isActive and isOnGCD flags from a C_Spell.GetSpellCooldown record whose times are secret.
Platform.spells.cooldownValues dependenciaReads a spell cooldown as separate values for the readiness checks.
Platform.spells.copy dependenciaCopies the expected fields of a native result table into a new table, checking each type.
Platform.spells.finiteNonNegative dependenciaReturns true when value is a nonnegative number that is not NaN or infinity, and false for anything else.
Platform.spells.flagReadiness dependenciaDecides cooldown readiness from the never-secret flags when the cooldown times are hidden.
Platform.spells.gcdRunning dependenciaReports whether the global cooldown is running at time now.
Platform.spells.GetSpellCharges públicaLee un registro de cargas normalizado: currentCharges, maxCharges, cooldownStartTime, cooldownDuration, chargeModRate e isActive.
Platform.spells.GetSpellCooldown públicaLee y normaliza el tiempo de reutilización de un hechizo en todos los clientes compatibles.
Platform.spells.identifier dependenciaValidates a spell argument.
Platform.spells.IsAutoRepeatActive públicaLee el estado de repetición automática del jugador para un hechizo como Disparar o Disparo automático.
Platform.spells.IsSpellReady públicaComprueba si un hechizo se puede recomendar ahora, permitiendo un hechizo cuyo tiempo de reutilización restante termine con el tiempo de reutilización global actual.
Platform.spells.own dependenciaReturns a record holding only the expected fields, each checked by type.
Platform.threat.GetUnitThreatObservation públicaObserva en orden la existencia de la unidad seleccionada, la hostilidad desde el jugador y luego el estado de amenaza del jugador sobre esa unidad.
Platform.unit_attackability.GetUnitAttackabilityObservation públicaObserva si el jugador puede atacar a una unidad seleccionada que no esté muerta, usando exactamente los predicados UnitExists, UnitCanAttack y UnitIsDead.
Platform.unit_flags.GetUnitFlagObservation públicaObserva un único indicador actual de la unidad: combat usa UnitAffectingCombat, enemy usa UnitIsEnemy con player como primera unidad y pvp usa UnitIsPVP.
Platform.unit_health.finite dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_health.GetUnitHealthObservation públicaObserva la salud actual legible y, opcionalmente, la salud máxima en clientes compatibles.
Platform.unit_identity.GetUnitIdentityObservation públicaCompara dos tokens de unidad exactos con UnitIsUnit tras comprobar solo el primer token con UnitExists.
Platform.unit_level.finite dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_level.GetUnitLevelObservation públicaObserva un nivel de unidad en bruto legible en clientes conocidos.
Platform.unit_metadata.GetUnitMetadataObservation públicaObserva un único campo de metadatos nativos de la unidad tras comprobar UnitExists: class usa el segundo retorno de UnitClass, creature usa el nombre localizado de UnitCreatureType y classification usa UnitClassification.
Platform.unit_power.finite dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_power.GetUnitPowerObservation públicaObserva el maná explícito o el recurso de poder en bruto actual en clientes legibles compatibles.
Platform.unit_presence.GetUnitPresenceObservation públicaObserva la presencia de la unidad en familias de cliente identificadas.
Platform.unit_stat.finite dependenciaReturns true when value is a number that is neither NaN nor infinite, and false for anything else.
Platform.unit_stat.GetUnitStatObservation públicaObserva la estadística efectiva solo a partir del segundo retorno nativo.
Platform.unit_states.GetUnitStateObservation públicaObserva el estado de muerte o fantasma, o la amistad con el jugador, de la unidad seleccionada exacta en clientes con política de sondeo o restringida.
Platform.zone_pvp.GetZonePVPObservation públicaObserva el primer resultado de clasificación JcJ de la zona con una única llamada con punto protegida y sin argumentos.
UI.checkbox.constructor dependenciaConstructs 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 públicaCrea un control booleano de condición nativo.
UI.condition_display.buttonConstructor dependenciaConstructs 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 públicaCrea un botón nativo usando el ciclo de vida compartido de los widgets de condición y el tema del banco de trabajo.
UI.condition_display.CreateConditionLabel públicaCrea texto nativo con ajuste de línea que mide su altura a partir de su ancho y su fuente.
UI.condition_display.CreateConditionLink públicaCrea texto nativo con ajuste de línea, con una imagen inicial opcional y callbacks del puntero.
UI.condition_display.defaultFont dependenciaReturns 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 dependenciaConstructs 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 dependenciaConstructs 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 públicaCrea un control de imagen nativo usando el ciclo de vida de los widgets de condición.
UI.condition_inputs.constructor dependenciaConstructs 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 públicaCrea una entrada de texto nativa usando el contrato de los widgets de condición.
UI.condition_inputs.CreateConditionSlider públicaCrea una entrada numérica de condición nativa con un control deslizante y un campo numérico tipado.
UI.condition_inputs.finite dependenciaTrue 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 dependenciaConstructs 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 públicaCrea un contenedor de campos de condición con disposiciones de Lista, Tabla y campo de hechizo adaptable propias de RM.
UI.condition_layout.layoutIconRows dependenciaLays 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 dependenciaConverts 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 dependenciaConstructs 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 públicaCrea un panel de posición nativo usando los controles direccionales compartidos.
UI.selector.CreateConditionDropdown públicaCrea un selector de condición nativo.
UI.selector.selectorWidget dependenciaConstructs a new RM-Selector dropdown widget: an optional caption over a button that opens the workbench selector popup.
utils.getCachedInternal dependenciaFunción auxiliar incluida de utils.lua.
utils.packResults dependenciaFunción auxiliar incluida de utils.lua.