Component:BrowserCreateDirectoryDialog

From Resonite Wiki
This page contains changes which are not marked for translation.
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 BrowserCreateDirectoryDialog.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

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
Create:ButtonEventHandler ButtonEventHandler Handles creating a directory in the current directory.
Cancel:ButtonEventHandler ButtonEventHandler Handles canceling creating a directory.

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