Referência

Referência de funções

Funções auxiliares integradas

As funções auxiliares que a aba Funções do jogo lista como Integradas. As públicas são chamadas pelo nome; as outras são vinculadas como dependência (escolha o preenchimento automático ou adicione-a em Dependências) e chamadas pelo nome qualificado.

22 de 240 funções auxiliares. Limpar filtros

UI.checkbox.constructor dependênciaConstructs 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úblicaCria um controle booleano de condição nativo.
UI.condition_display.buttonConstructor dependênciaConstructs 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úblicaCria um botão nativo usando o ciclo de vida compartilhado dos widgets de condição e o tema da bancada.
UI.condition_display.CreateConditionLabel públicaCria texto nativo com quebra de linha que mede a própria altura a partir da largura e da fonte.
UI.condition_display.CreateConditionLink públicaCria texto nativo com quebra de linha, com imagem inicial opcional e callbacks do ponteiro.
UI.condition_display.defaultFont dependênciaReturns 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 dependênciaConstructs 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 dependênciaConstructs 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úblicaCria um controle de imagem nativo usando o ciclo de vida dos widgets de condição.
UI.condition_inputs.constructor dependênciaConstructs 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úblicaCria uma entrada de texto nativa usando o contrato dos widgets de condição.
UI.condition_inputs.CreateConditionSlider públicaCria uma entrada numérica de condição nativa com um controle deslizante e um campo numérico tipado.
UI.condition_inputs.finite dependênciaTrue 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 dependênciaConstructs 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úblicaCria um contêiner de campos de condição com layouts de Lista, Tabela e campo de feitiço responsivo próprios do RM.
UI.condition_layout.layoutIconRows dependênciaLays 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 dependênciaConverts 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 dependênciaConstructs 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úblicaCria um painel de posição nativo usando os controles direcionais compartilhados.
UI.selector.CreateConditionDropdown públicaCria um seletor de condição nativo.
UI.selector.selectorWidget dependênciaConstructs a new RM-Selector dropdown widget: an optional caption over a button that opens the workbench selector popup.