Constants Lua API: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
|- | |- | ||
| AIReactionType.FixAmokDevice || The NPC will attempt to fix the amok device | | AIReactionType.FixAmokDevice || The NPC will attempt to fix the amok device | ||
|} | |||
=== AppState === | |||
{| class="wikitable" | |||
|- | |||
! Usage !! Description | |||
|- | |||
| AppState.unavailable || The player doesn't have this app yet. | |||
|- | |||
| AppState.disabled || App can't be used at the moment, for example no network connection | |||
|- | |||
| AppState.off || App is not doing anything | |||
|- | |||
| AppState.on || App is switched on and running in the background | |||
|- | |||
| AppState.alert || App displays alert to notify the player about something. | |||
|} | |||
=== AppMenuState === | |||
{| class="wikitable" | |||
|- | |||
! Usage !! Description | |||
|- | |||
| AppMenuState.any || Allowed in any of configuration | |||
|- | |||
| AppMenuState.never || Never allowed in the selected menu | |||
|- | |||
| AppMenuState.always || Always in the selected menu | |||
|- | |||
| AppMenuState.byDefault || In the selected menu by default | |||
|- | |||
| AppMenuState.target || Will be in the radial menu when its target types are selected | |||
|} | |} | ||
=== NetworkType === | === NetworkType === | ||
Line 89: | Line 119: | ||
| TargetType.Character || | | TargetType.Character || | ||
|} | |} | ||
=== | === NotificationType === | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Usage !! Description | ! Usage !! Description | ||
|- | |- | ||
| | | NotificationType.sms || | ||
|- | |- | ||
| | | NotificationType.generic || Generic notification | ||
|- | |- | ||
| | | NotificationType.message || Communicatiosn message | ||
|- | |- | ||
| | | NotificationType.download || Receicing files | ||
|- | |- | ||
| NotificationType.newObjective || | |||
|- | |- | ||
| | | NotificationType.completedObjective || | ||
|} | |} | ||
=== PopupType === | === PopupType === | ||
Line 132: | Line 151: | ||
| PopupType.progress || Trigger a progress bar | | PopupType.progress || Trigger a progress bar | ||
|} | |} | ||
Revision as of 14:02, 6 September 2018
Constants
Enums
MissionObjectType
Usage | Description |
---|---|
MissionObjectType.Trigger | |
MissionObjectType.Interaction | |
MissionObjectType.Spawn | |
MissionObjectType.Hackable | |
MissionObjectType.Generic | |
MissionObjectType.Deprecated |
InteractionType
Usage | Description |
---|---|
InteractionType.Grab | |
InteractionType.OpenDoor | |
InteractionType.Scanning |
AIReactionType
The type of reaction that can affect NPCs
Usage | Description |
---|---|
AIReactionType.FixAmokDevice | The NPC will attempt to fix the amok device |
AppState
Usage | Description |
---|---|
AppState.unavailable | The player doesn't have this app yet. |
AppState.disabled | App can't be used at the moment, for example no network connection |
AppState.off | App is not doing anything |
AppState.on | App is switched on and running in the background |
AppState.alert | App displays alert to notify the player about something. |
AppMenuState
Usage | Description |
---|---|
AppMenuState.any | Allowed in any of configuration |
AppMenuState.never | Never allowed in the selected menu |
AppMenuState.always | Always in the selected menu |
AppMenuState.byDefault | In the selected menu by default |
AppMenuState.target | Will be in the radial menu when its target types are selected |
NetworkType
The type of network, different devices and characters will only connect to certain network types
Usage | Description |
---|---|
NetworkType.mobile | Mobile network (4G)- This will mainly just contain mobile phone devices |
NetworkType.wifi | Wifi networks will be the most common, and will contain all sorts of devices |
NetworkType.mesh | Mesh networks are mainly set up as part of a storyline |
NetworkType.nfc |
DataType
Usage | Description |
---|---|
DataType.generic | |
DataType.text | |
DataType.SMS | |
DataType.image | |
DataType.audio | |
DataType.video | |
DataType.location | |
DataType.key | |
DataType.UUID |
TargetType
Usage | Description |
---|---|
TargetType.None | |
TargetType.Data | |
TargetType.Interaction | |
TargetType.Hackable | |
TargetType.Character |
NotificationType
Usage | Description |
---|---|
NotificationType.sms | |
NotificationType.generic | Generic notification |
NotificationType.message | Communicatiosn message |
NotificationType.download | Receicing files |
NotificationType.newObjective | |
NotificationType.completedObjective |
PopupType
Usage | Description |
---|---|
PopupType.generic | A generic popup |
PopupType.message | A message to the player |
PopupType.warning | A warning to the player |
PopupType.download | Begin a timed download window |
PopupType.progress | Trigger a progress bar |