Справочник

Справочник функций

Встроенные помощники

Помощники, которые вкладка «Функции» в игре показывает как встроенные. Общедоступные вызываются по имени; остальные подключаются как зависимость (примите автодополнение или добавьте её в разделе «Зависимости») и вызываются по полному имени.

Помощников: 22 из 240. Сбросить фильтры

UI.checkbox.constructor зависимостьConstructs 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 общедоступныйСоздать встроенный логический элемент условия.
UI.condition_display.buttonConstructor зависимостьConstructs 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 общедоступныйСоздать встроенную кнопку с общим жизненным циклом виджетов условий и темой рабочего окна.
UI.condition_display.CreateConditionLabel общедоступныйСоздать встроенный переносимый текст, высота которого измеряется по ширине и шрифту.
UI.condition_display.CreateConditionLink общедоступныйСоздать встроенный переносимый текст с необязательным изображением в начале и обратными вызовами указателя.
UI.condition_display.defaultFont зависимостьReturns 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 зависимостьConstructs 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 зависимостьConstructs 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 общедоступныйСоздать встроенный элемент изображения с жизненным циклом виджетов условий.
UI.condition_inputs.constructor зависимостьConstructs 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 общедоступныйСоздать встроенный текстовый ввод по контракту виджетов условий.
UI.condition_inputs.CreateConditionSlider общедоступныйСоздать встроенный числовой ввод условия с ползунком и полем для числа.
UI.condition_inputs.finite зависимостьTrue 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 зависимостьConstructs 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 общедоступныйСоздать контейнер полей условия с принадлежащими RM раскладками List, Table и адаптивной раскладкой полей заклинаний.
UI.condition_layout.layoutIconRows зависимостьLays 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 зависимостьConverts 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 зависимостьConstructs 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 общедоступныйСоздать встроенную панель положения с общими кнопками направлений.
UI.selector.CreateConditionDropdown общедоступныйСоздать встроенный список выбора условия.
UI.selector.selectorWidget зависимостьConstructs a new RM-Selector dropdown widget: an optional caption over a button that opens the workbench selector popup.