Constants: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
(First pass of constants page)
 
No edit summary
Line 1: Line 1:
= Constants =
= Constants =
== Enums ==
== Enums ==
=== AIDistractionType ===
=== MissionObjectType ===
The type of distraction that can affect NPCs
{| class="wikitable"
{| class="wikitable"
|-
|-
! Usage !! Description
! Usage !! Description
|-
|-
| AIDistractionType.SpottedPlayer || The player has been spotted
| MissionObjectType.Trigger ||  
|-
|-
| AIDistractionType.HeardSound || A sound has been heard
| MissionObjectType.Interaction ||  
|-
| MissionObjectType.Spawn ||
|-
| MissionObjectType.Hackable ||
|-
| MissionObjectType.Generic ||
|}
=== InteractionType ===
{| class="wikitable"
|-
! Usage !! Description
|-
| InteractionType.Grab ||
|-
| InteractionType.OpenDoor ||
|-
| InteractionType.Scanning ||
|}
=== AIReactionType ===
The type of reaction that can affect NPCs
{| class="wikitable"
|-
! Usage !! Description
|-
| AIReactionType.FixAmokDevice || The NPC will attempt to fix the amok device
|}
|}
=== NetworkType ===
=== NetworkType ===
Line 25: Line 49:
| NetworkType.nfc ||  
| NetworkType.nfc ||  
|}
|}
=== DataPointType ===
=== DataType ===
{| class="wikitable"
|-
! Usage !! Description
|-
| DataType.generic ||
|-
| DataType.text ||
|-
| DataType.SMS ||
|-
| DataType.encrypted ||
|-
| DataType.audio ||
|-
| DataType.video ||
|-
| DataType.location ||
|-
| DataType.key ||
|-
| DataType.UUID ||
|}
=== TargetType ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Usage !! Description
! Usage !! Description
|-
|-
| DataPointType.generic ||  
| TargetType.None ||  
|-
|-
| DataPointType.text ||  
| TargetType.Data ||  
|-
|-
| DataPointType.SMS ||  
| TargetType.Interaction ||  
|-
|-
| DataPointType.encrypted ||  
| TargetType.Hackable ||  
|-
| TargetType.Character ||
|}
=== AppState ===
{| class="wikitable"
|-
! Usage !! Description
|-
| AppState.disabled ||
|-
| AppState.off ||
|-
| AppState.on ||
|-
| AppState.alert ||
|}
=== 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
|}
=== PopupType ===
{| class="wikitable"
|-
! Usage !! Description
|-
|-
| DataPointType.audio ||  
| PopupType.generic || A generic popup
|-
|-
| DataPointType.video ||  
| PopupType.message || A message to the player
|-
|-
| DataPointType.location ||  
| PopupType.warning || A warning to the player
|-
|-
| DataPointType.key ||  
| PopupType.download || Begin a timed download window
|-
|-
| DataPointType.UUID ||  
| PopupType.progress || Trigger a progress bar
|}
|}

Revision as of 11:47, 10 November 2017

Constants

Enums

MissionObjectType

Usage Description
MissionObjectType.Trigger
MissionObjectType.Interaction
MissionObjectType.Spawn
MissionObjectType.Hackable
MissionObjectType.Generic

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

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.encrypted
DataType.audio
DataType.video
DataType.location
DataType.key
DataType.UUID

TargetType

Usage Description
TargetType.None
TargetType.Data
TargetType.Interaction
TargetType.Hackable
TargetType.Character

AppState

Usage Description
AppState.disabled
AppState.off
AppState.on
AppState.alert

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

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