Referencia

Referencia de funciones

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 añádela en Dependencias) y se llaman por su nombre completo.

22 de 240 funciones auxiliares. Quitar filtros

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.