989onan bot (talk | contribs) Automated: update SyncDelegates |
add info |
||
Line 19: | Line 19: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|Create:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |Create:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles creating a directory in the current directory. | ||
|Cancel:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |Cancel:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles canceling creating a directory. | ||
}} | }} | ||
Latest revision as of 22:38, 18 March 2025
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
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
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
- Inventory for what this controls.