Component:BrowserCreateDirectoryDialog

From Resonite Wiki
Revision as of 22:28, 16 March 2025 by 989onan bot (talk | contribs) (Automated: update Fields, SyncDelegates)
Component image 
Browser Create Directory Dialog component as seen in the Scene Inspector

The BrowserCreateDirectoryDialogue component is used mainly in the inventory screen when creating a new directory in the inventory.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
_browser BrowserDialog The source browser Component.
_callback delegate of identity CreateHandler A sync delegate to call when the Create Folder dialogue is confirmed.
_text Text The text for the Create Directory dialouge box.
_textField TextField The text field that is the name of the new directory.

Sync Delegates

Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
Triggers
Method Name Method type and Arguments. Is the method hidden? Description

CreateHandler

A sync delegate that takes a name and an "out string message" and modifies the message coming in. Returns a boolean.

Usage

Used internally. Don't use it. :)

Examples

The create directory dialogue in the inventory screen.

See Also