Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_EditorStruct Interface Reference

Class which carries saved data for the editor. More...

Inheritance diagram for SCR_EditorStruct:
[legend]

Public Member Functions

override void Log ()
 Print out contents of saved data.
 
override bool Serialize ()
 Write world data into the struct.
 
override bool Deserialize ()
 Read data from the struct and apply them in the world.
 
override void ClearCache ()
 Clear cached data.
 
void ResetEditor ()
 Delete all entities saved in the struct.
 
void SCR_EditorStruct ()
 
bool Serialize ()
 Write world data into the struct.
 
bool Deserialize ()
 Read data from the struct and apply them in the world.
 
void ClearCache ()
 Clear struct's data.
 
void Log ()
 Log struct's data.
 

Protected Attributes

ref SCR_EditorAttributeList m_AttributeList
 
bool m_bSaveFactions
 
bool m_bSaveMissionAttributes
 
EEditableEntityFlag m_eRequiredEntityFlags
 
ref SCR_EditorMetaStruct m_Meta = new SCR_EditorMetaStruct()
 
ref array< ref SCR_EditableFactionStructm_aFactions = {}
 
ref array< ref SCR_EditableEntityStructm_aEntities = {}
 
ref array< ref SCR_EditorAttributeStructm_aAttributes = {}
 

Detailed Description

Class which carries saved data for the editor.

Managed by SCR_DSSessionCallback.

Constructor & Destructor Documentation

◆ SCR_EditorStruct()

void SCR_EditorStruct.SCR_EditorStruct ( )

Member Function Documentation

◆ ClearCache()

override void SCR_EditorStruct.ClearCache ( )

Clear cached data.

Implements SCR_JsonApiStruct.

◆ Deserialize()

override bool SCR_EditorStruct.Deserialize ( )

Read data from the struct and apply them in the world.

Implements SCR_JsonApiStruct.

◆ Log()

override void SCR_EditorStruct.Log ( )

Print out contents of saved data.

Implements SCR_JsonApiStruct.

◆ ResetEditor()

void SCR_EditorStruct.ResetEditor ( )

Delete all entities saved in the struct.

Used only for development!

◆ Serialize()

override bool SCR_EditorStruct.Serialize ( )

Write world data into the struct.

Implements SCR_JsonApiStruct.

Member Data Documentation

◆ m_aAttributes

ref array<ref SCR_EditorAttributeStruct> SCR_EditorStruct.m_aAttributes = {}
protected

◆ m_aEntities

ref array<ref SCR_EditableEntityStruct> SCR_EditorStruct.m_aEntities = {}
protected

◆ m_aFactions

ref array<ref SCR_EditableFactionStruct> SCR_EditorStruct.m_aFactions = {}
protected

◆ m_AttributeList

ref SCR_EditorAttributeList SCR_EditorStruct.m_AttributeList
protected

◆ m_bSaveFactions

bool SCR_EditorStruct.m_bSaveFactions
protected

◆ m_bSaveMissionAttributes

bool SCR_EditorStruct.m_bSaveMissionAttributes
protected

◆ m_eRequiredEntityFlags

EEditableEntityFlag SCR_EditorStruct.m_eRequiredEntityFlags
protected

◆ m_Meta

ref SCR_EditorMetaStruct SCR_EditorStruct.m_Meta = new SCR_EditorMetaStruct()
protected

The documentation for this interface was generated from the following file: