Référence

Référence des fonctions

Fonctions utilitaires intégrées

Les fonctions utilitaires que l'onglet Fonctions du jeu liste comme Intégrées. Les publiques s'appellent par leur nom ; les autres sont liées comme dépendance (choisissez la complétion, ou ajoutez-la sous Dépendances) et s'appellent par leur nom qualifié.

22 fonctions utilitaires sur 240. Effacer les filtres

UI.checkbox.constructor dépendanceConstructs 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 publiqueCrée un contrôle de condition booléen natif.
UI.condition_display.buttonConstructor dépendanceConstructs 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 publiqueCrée un bouton natif utilisant le cycle de vie commun des widgets de condition et le thème de l'atelier (workbench).
UI.condition_display.CreateConditionLabel publiqueCrée un texte natif à retour à la ligne qui mesure sa hauteur à partir de sa largeur et de sa police.
UI.condition_display.CreateConditionLink publiqueCrée un texte natif à retour à la ligne avec une image facultative en tête et des rappels de pointeur.
UI.condition_display.defaultFont dépendanceReturns 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 dépendanceConstructs 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 dépendanceConstructs 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 publiqueCrée un contrôle d'image natif utilisant le cycle de vie des widgets de condition.
UI.condition_inputs.constructor dépendanceConstructs 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 publiqueCrée une saisie de texte native selon le contrat des widgets de condition.
UI.condition_inputs.CreateConditionSlider publiqueCrée une saisie numérique de condition native avec un curseur et un champ numérique.
UI.condition_inputs.finite dépendanceTrue 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 dépendanceConstructs 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 publiqueCrée un conteneur de champs de condition avec les dispositions List, Table et le champ de sort adaptatif propres à RM.
UI.condition_layout.layoutIconRows dépendanceLays 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 dépendanceConverts 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 dépendanceConstructs 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 publiqueCrée un pavé de position natif utilisant les contrôles directionnels communs.
UI.selector.CreateConditionDropdown publiqueCrée un sélecteur de condition natif.
UI.selector.selectorWidget dépendanceConstructs a new RM-Selector dropdown widget: an optional caption over a button that opens the workbench selector popup.