Indicators
Indicator
Notification
| Field | Type | Description | Required |
|---|---|---|---|
| header | string | true | |
| text | string | false | |
| onClick | string | Event to trigger | false |
| leftIcon | string | Font Awesome Icon Name | false |
| rightIcon | string | Font Awesome Icon Name | false |
| data | any | Data to pass when triggering onClick event | false |
| iconColor | string | Color hex | false |
| subMenu | Menu Data | Creates sub menu on click | false |
| confirm | Confirm Menu Data | Creates confirm menu on click | false |
| disabled | boolean | Disables button | false |
| Field | Type | Description | Required |
|---|---|---|---|
| items | Button Data\[] | true | |
| onClose | string | Event to trigger if menu is closed | false |
| Field | Type | Description | Required |
|---|---|---|---|
| header | string | true | |
| text | string | false | |
| onCancel | string | Event to trigger on cancel button clicked | false |
| onConfirm | string | Event to trigger on confirm button clicked | false |
| rightIcon | string | Font Awesome Icon Name | false |
| leftIcon | string | Font Awesome Icon Name | false |
| data | any | Data to pass when triggering on cancel or on confirm events (if undefined it will take parents data) | false |
| Field | Type | Required |
|---|---|---|
| label | string | true |
| value | any | false |
| Field | Type | Required |
|---|---|---|
| type | Input Types | false |
| label | string | false |
| placeholder | string | false |
| leftIcon | string | false |
| rightIcon | string | false |
| value | any | false |
| choices | Choice\[] | false |
| Field | Type | Required |
|---|---|---|
| header | string | false |
| leftIcon | string | false |
| rightIcon | string | false |
| rows | Row Data | true |
| Field | Type | Description | Required |
|---|---|---|---|
| coords | vector3 | coords | true |
| h | number | heading | true |
| Field | Type | Description | Required |
|---|---|---|---|
| coords | vector3 | Ipl coords | true |
| doors | door\[] | Inside door coords | true |
| realestate | Real Estate Data | The data required to be listed in the real estate menu | false |
| interactions | function\[] | Building interactions | false |
| radius | number | Furniture Editor radius based on coords (default 20) | false |
| onEnter | function | Function to be executed after the player enters the building | false |
| onExit | function | Function to be executed after the player exits the building | false |
| Field | Type | Description | Required |
|---|---|---|---|
| coords | vector3 | coords | true |
| h | number | heading | true |
| Field | Type | Description | Required |
|---|---|---|---|
| shell | number | Shell model | true |
| doors | door\[] | Inside door offsets | true |
| coords | vector3 | Static shell coords | false |
| realestate | Real Estate Data | The data required to be listed in the real estate menu | false |
| interactions | function\[] | Building interactions | false |
| radius | number | Furniture Editor radius based on coords (default 20) | false |
| onEnter | function | Function to be executed after the player enters the building | false |
| onExit | function | Function to be executed after the player exits the building | false |
| Field | Type | Description | Required |
|---|---|---|---|
| id | string | Unique id for the interaction | true |
| label | string | Interaction label to show | true |
| onInteract | function | Function to execute on interact | true |
| tags | string\[] | Furniture tags | false |
| models | number\[] | Furniture models | false |
| icon | string | Font Awesome icon | false |
| accessRequired | boolean | Controls whether the player has access to the house for interact. Default: true | false |
| Field | Type | Description | Required |
|---|---|---|---|
| label | string | Buildings label for real estate menu | true |
| price | number | Buildings base price | true |