Arma Reforger Script API
|
Base struct for use in SCR_MissionStruct. More...
Public Member Functions | |
SCR_MetaStruct | GetMeta () |
bool | ContainsStruct (TypeName structType) |
Check if the mission struct contains a sub-struct of specific type. | |
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 struct's data. | |
override void | Log () |
Log struct's data. | |
void | SCR_MissionStruct () |
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_MetaStruct | m_Meta |
ref SCR_JsonApiStruct | m_Struct0 |
ref SCR_JsonApiStruct | m_Struct1 |
ref SCR_JsonApiStruct | m_Struct2 |
ref SCR_JsonApiStruct | m_Struct3 |
ref SCR_JsonApiStruct | m_Struct4 |
ref SCR_JsonApiStruct | m_Struct5 |
ref SCR_JsonApiStruct | m_Struct6 |
ref SCR_JsonApiStruct | m_Struct7 |
ref SCR_JsonApiStruct | m_Struct8 |
ref SCR_JsonApiStruct | m_Struct9 |
ref array< SCR_JsonApiStruct > | m_aStructs = {m_Struct0, m_Struct1, m_Struct2, m_Struct3, m_Struct4, m_Struct5, m_Struct6, m_Struct7, m_Struct8, m_Struct9} |
ref set< TypeName > | m_aStructTypes = new set<TypeName>() |
Base struct for use in SCR_MissionStruct.
Register new structs to be saved here. The must be declared specifically, we can't have an array of structs, as JSON does not recognize class inheritance.
void SCR_MissionStruct.SCR_MissionStruct | ( | ) |
override void SCR_MissionStruct.ClearCache | ( | ) |
Clear struct's data.
Implements SCR_JsonApiStruct.
bool SCR_MissionStruct.ContainsStruct | ( | TypeName | structType | ) |
Check if the mission struct contains a sub-struct of specific type.
structType | Type of queried struct |
override bool SCR_MissionStruct.Deserialize | ( | ) |
Read data from the struct and apply them in the world.
Implements SCR_JsonApiStruct.
SCR_MetaStruct SCR_MissionStruct.GetMeta | ( | ) |
override void SCR_MissionStruct.Log | ( | ) |
Log struct's data.
Implements SCR_JsonApiStruct.
override bool SCR_MissionStruct.Serialize | ( | ) |
Write world data into the struct.
Implements SCR_JsonApiStruct.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |