![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Editor entities manage functionality of the editor. More...
Modules | |
Editor Components | |
Editor manager components. | |
Data Structures | |
class | SCR_SiteSlotEntity |
class | SCR_EditorBaseEntity |
class | SCR_EditorImageGeneratorEntity |
class | SCR_EditorImagePositionEntity |
class | SCR_EditorManagerEntity |
class | SCR_EditorModeEntity |
class | SCR_EditorPingEntity |
class | SCR_EditorSettingsEntity |
Enumerations | |
enum | EEditableEntityInteraction { NONE, LAYER, SLOT, PASSENGER } |
Type of suggested interaction when hovering edited entity on top of another entity. More... | |
enum | EEditableEntityInteractionFlag { ALIVE = 1 << 0, DELEGATE = 1 << 1, LAYER_EDITING = 1 << 2, NON_PLAYABLE = 1 << 3, PLACING = 1 << 4 } |
Details of entity interaction. More... | |
enum | EEditorCanClose { SCRIPT = 1 } |
Layers allowing editor to be closed. All of them have to be activated. More... | |
enum | EEditorCanOpen { SCRIPT = 1, ALIVE = 2, MODES = 4 } |
Layers allowing editor to be opened. All of them have to be activated (certain exceptions may apply when the editor is in unlimited mode) More... | |
enum | EEditorCommandActionFlags { WAYPOINT = 1, OBJECTIVE = 2, IS_QUEUE = 4 } |
Simplified action conditions. More... | |
enum | EEditorEvent { NONE, INIT, REQUEST_OPEN, REQUEST_CLOSE, DELETE, OPEN, OPEN_ALL, PRE_ACTIVATE, DEACTIVATE, DEACTIVATE_ASYNC, ACTIVATE, ACTIVATE_ASYNC, POST_DEACTIVATE, POST_ACTIVATE, CLOSE, UPDATE_MODE, EXIT_OPERATION } |
Editor event processed in components. More... | |
enum | EEditorEventOperation { NONE, INIT, REQUEST_OPEN, OPEN, REQUEST_CLOSE, CLOSE, MODE_CHANGE, MODE_CREATE, MODE_DELETE, DELETE } |
Type of event-processing operation. More... | |
enum | EEditorMode { EDIT = 1, STRATEGY = 2, SPECTATE = 4, PHOTO = 8, ADMIN = 16, BUILDING = 32 } |
Editor mode that defines overall functionality. More... | |
enum | EEditorState { NONE, SELECTING, MULTI_SELECTING, PLACING, TRANSFORMING } |
Unique editor state. More... | |
enum | EEditorTransformSnap { NONE, TERRAIN, GEOMETRY } |
Vertical snapping rules. More... | |
enum | EEditorTransformVertical { SEA = 1 << 0, TERRAIN = 1 << 1, GEOMETRY = 1 << 2 } |
Vertical transformation mode. More... | |
Editor entities manage functionality of the editor.
For the editor to function propertly, it must be configured in the following structure. All entities must be saved into a prefabs and linked in attributes mentioned below.
Functions in relevant classes are called in the following order.
Type of suggested interaction when hovering edited entity on top of another entity.
Enumerator | |
---|---|
NONE | Simple transform. |
LAYER | Open layer. |
SLOT | Attach to slot. |
PASSENGER | Place as passenger of vehicle. Used by context action SCR_ChooseAndSpawnOccupantsContextAction not placing opperation. |
Definition at line 5 of file EEditableEntityInteraction.c.
Details of entity interaction.
Definition at line 5 of file EEditableEntityInteractionFlag.c.
enum EEditorCanClose |
Layers allowing editor to be closed. All of them have to be activated.
Enumerator | |
---|---|
SCRIPT | Set by script. |
Definition at line 5 of file EEditorCanClose.c.
enum EEditorCanOpen |
Layers allowing editor to be opened. All of them have to be activated (certain exceptions may apply when the editor is in unlimited mode)
Enumerator | |
---|---|
SCRIPT | Set by script. |
ALIVE | When alive. |
MODES | At least one editor mode available. |
Definition at line 5 of file EEditorCanOpen.c.
Simplified action conditions.
Enumerator | |
---|---|
WAYPOINT | Can place waypoint. |
OBJECTIVE | Can place objective. |
IS_QUEUE |
Definition at line 5 of file EEditorCommandActionFlags.c.
enum EEditorEvent |
Editor event processed in components.
Enumerator | |
---|---|
NONE | |
INIT | |
REQUEST_OPEN | |
REQUEST_CLOSE | |
DELETE | |
OPEN | |
OPEN_ALL | |
PRE_ACTIVATE | |
DEACTIVATE | |
DEACTIVATE_ASYNC | |
ACTIVATE | |
ACTIVATE_ASYNC | |
POST_DEACTIVATE | |
POST_ACTIVATE | |
CLOSE | |
UPDATE_MODE | |
EXIT_OPERATION |
Definition at line 5 of file EEditorEvent.c.
Type of event-processing operation.
Enumerator | |
---|---|
NONE | |
INIT | |
REQUEST_OPEN | |
OPEN | |
REQUEST_CLOSE | |
CLOSE | |
MODE_CHANGE | |
MODE_CREATE | |
MODE_DELETE | |
DELETE |
Definition at line 5 of file EEditorEventOperation.c.
enum EEditorMode |
Editor mode that defines overall functionality.
Enumerator | |
---|---|
EDIT | Editing and placing entities, configuring attributes. |
STRATEGY | Commanding AI and players. |
SPECTATE | Observing players. |
PHOTO | Photo mode. |
ADMIN | Server administration. |
BUILDING | Building mode. |
Definition at line 5 of file EEditorMode.c.
enum EEditorState |
Unique editor state.
Enumerator | |
---|---|
NONE | No interaction allowed. |
SELECTING | Able to select entities. |
MULTI_SELECTING | Drawing multi-selection frame. |
PLACING | Placing a new entity. |
TRANSFORMING | Moving or rotating an entity. |
Definition at line 5 of file EEditorState.c.
enum EEditorTransformSnap |
Vertical snapping rules.
Enumerator | |
---|---|
NONE | Don't snap. |
TERRAIN | Snap to terrain. |
GEOMETRY | Snap to geometry. |
Definition at line 5 of file EEditorTransformSnap.c.
Vertical transformation mode.
Enumerator | |
---|---|
SEA | Above sea level. |
TERRAIN | Above terrain level. |
GEOMETRY | Above geometry level. |
Definition at line 5 of file EEditorTransformVertical.c.