|
void | LoadAreaStructs (notnull SCR_ScenarioFrameworkSystem scenarioFrameworkSystem, notnull SCR_ScenarioFrameworkArea area, notnull SCR_ScenarioFrameworkAreaStruct areaStruct) |
| Loads area structures, adds tasks to spawn, sets delivery points, sets randomly spawned children, and loads repeated spawn area.
|
|
void | LoadRepeatedSpawnAreaStructs (notnull SCR_ScenarioFrameworkArea area, notnull SCR_ScenarioFrameworkAreaStruct areaStruct) |
| Loads repeated spawn settings from area struct to area.
|
|
void | LoadNestedAreaStructs (notnull SCR_ScenarioFrameworkAreaStruct areaStruct) |
| Loads nested area layer and logic structs for given area struct.
|
|
void | LoadLayer (notnull array< ref SCR_ScenarioFrameworkLayerStruct > loadedLayerStruct) |
| Loads layers from an array of structures, finds entities, casts them to layers, and loads their structures.
|
|
void | LoadLayerStructs (notnull SCR_ScenarioFrameworkLayerBase layer, notnull SCR_ScenarioFrameworkLayerStruct layerStruct) |
| Loads layer structures, sets activation type, termination status, layer task state, randomly spawned children, and nested layer.
|
|
void | LoadRepeatedSpawnLayerStructs (notnull SCR_ScenarioFrameworkLayerBase layer, notnull SCR_ScenarioFrameworkLayerStruct layerStruct) |
| Enables repeated spawn for a scenario layer based on provided layer struct.
|
|
void | LoadLayerStructSlots (notnull SCR_ScenarioFrameworkLayerBase layer, notnull SCR_ScenarioFrameworkLayerStruct layerStruct) |
| Loads layer slots with AI prefab removal and random spawned object settings from layer struct.
|
|
void | LoadNestedLayerStructs (notnull SCR_ScenarioFrameworkLayerStruct layerStruct) |
| Loads nested layer and logic structs from provided layer struct.
|
|
void | LoadLogic (notnull array< ref SCR_ScenarioFrameworkLogicStruct > entries) |
| Loads scenario logic entries, sets termination status, and updates counters for each logic entity in the scenario.
|
|
void | ClearEmptyAreaStructs (notnull array< ref SCR_ScenarioFrameworkAreaStruct > areaStructsToClear) |
| Removes empty area structs from array.
|
|
◆ SCR_ScenarioFrameworkStruct()
void SCR_ScenarioFrameworkStruct.SCR_ScenarioFrameworkStruct |
( |
| ) |
|
Registers variables for scenario framework structure.
◆ ClearEmptyAreaStructs()
Removes empty area structs from array.
- Parameters
-
[in] | areaStructsToClear | Clears empty area structs from areaStructsToClear array. |
◆ Deserialize()
override bool SCR_ScenarioFrameworkStruct.Deserialize |
( |
| ) |
|
Sets up daytime, weather, and game over type, then loads area states for scenario framework system.
- Returns
- true if deserialization is successful, false otherwise.
Implements SCR_JsonApiStruct.
◆ LoadAreaStates()
Loads area states from loadedAreaStruct array into scenarioFrameworkSystem, handling nested areas.
- Parameters
-
[in] | scenarioFrameworkSystem | Represents the scenario framework system for managing areas in the game. |
[in] | loadedAreaStruct | Array of loaded area structures representing areas in the scenario. |
◆ LoadAreaStructs()
Loads area structures, adds tasks to spawn, sets delivery points, sets randomly spawned children, and loads repeated spawn area.
- Parameters
-
[in] | scenarioFrameworkSystem | Represents scenario framework system for managing area tasks, layers, and spawning structures. |
[in] | area | Loads area structures, sets spawn tasks, delivery points, and randomly spawned children for an area. |
[in] | areaStruct | Represents an area structure with spawning tasks, delivery points, and randomly spawned children for an area in the scenario framework |
◆ LoadLayer()
Loads layers from an array of structures, finds entities, casts them to layers, and loads their structures.
- Parameters
-
[in] | loadedLayerStruct | Loads an array of layer structures, representing individual layers in the scenario. |
◆ LoadLayerStructs()
Loads layer structures, sets activation type, termination status, layer task state, randomly spawned children, and nested layer.
- Parameters
-
[in] | layer | Loads layer structs, sets activation type, termination, spawn layer structs, layer task state, randomly spawned |
[in] | layerStruct | Represents layer's configuration data for the scenario framework layer. |
◆ LoadLayerStructSlots()
Loads layer slots with AI prefab removal and random spawned object settings from layer struct.
- Parameters
-
[in] | layer | Loads layer's slots with AI prefab removal and randomly spawned object data from layer struct. |
[in] | layerStruct | Represents layer's struct configuration for AI prefab removal and randomly spawned objects. |
◆ LoadLogic()
Loads scenario logic entries, sets termination status, and updates counters for each logic entity in the scenario.
- Parameters
-
[in] | entries | The entries represent an array of scenario logic structures, which contain information about scenario logic entities, their states, and counter values. |
◆ LoadNestedAreaStructs()
Loads nested area layer and logic structs for given area struct.
- Parameters
-
[in] | areaStruct | Represents an area structure containing nested layer and logic structures in the scenario framework. |
◆ LoadNestedLayerStructs()
Loads nested layer and logic structs from provided layer struct.
- Parameters
-
[in] | layerStruct | Loads nested layer structures and logic structures from provided layerStruct object. |
◆ LoadRepeatedSpawnAreaStructs()
Loads repeated spawn settings from area struct to area.
- Parameters
-
[in] | area | Loads repeated spawn settings from area struct into scenario area. |
[in] | areaStruct | Represents spawn area structure with repeatable spawn settings for scenario framework area. |
◆ LoadRepeatedSpawnLayerStructs()
Enables repeated spawn for a scenario layer based on provided layer struct.
- Parameters
-
[in] | layer | Enables repeated spawning for the layer based on provided layer struct. |
[in] | layerStruct | Represents spawning configuration for repeating layer in scenario. |
◆ Serialize()
override bool SCR_ScenarioFrameworkStruct.Serialize |
( |
| ) |
|
Serializes scenario state.
- Returns
- true if serialization is successful.
Implements SCR_JsonApiStruct.
◆ StoreAreaStates()
Stores states of all areas in scenario framework system into an array.
- Parameters
-
[in] | scenarioFrameworkSystem | Represents the scenario's area system, containing area data for storing states. |
[out] | outEntries | Array of stored area states. |
◆ m_aAreasStructs
◆ m_bMatchOver
bool SCR_ScenarioFrameworkStruct.m_bMatchOver |
|
protected |
◆ m_eGameOverType
EGameOverTypes SCR_ScenarioFrameworkStruct.m_eGameOverType = EGameOverTypes.COMBATPATROL_DRAW |
|
protected |
◆ m_iHours
int SCR_ScenarioFrameworkStruct.m_iHours = -1 |
|
protected |
◆ m_iMinutes
int SCR_ScenarioFrameworkStruct.m_iMinutes = -1 |
|
protected |
◆ m_iSeconds
int SCR_ScenarioFrameworkStruct.m_iSeconds = -1 |
|
protected |
◆ m_sWeatherState
string SCR_ScenarioFrameworkStruct.m_sWeatherState |
|
protected |
The documentation for this interface was generated from the following file:
- Game/ScenarioFramework/SCR_ScenarioFrameworkStruct.c