Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SCR_CampaignStruct Interface Reference
Inheritance diagram for SCR_CampaignStruct:
[legend]

Public Member Functions

int GetHours ()
 
int GetMinutes ()
 
int GetSeconds ()
 
vector GetMHQLocationBLUFOR ()
 
vector GetMHQRotationBLUFOR ()
 
vector GetMHQLocationOPFOR ()
 
vector GetMHQRotationOPFOR ()
 
array< ref SCR_CampaignBaseStructGetBasesStructs ()
 
array< ref SCR_CampaignRemnantInfoStructGetRemnantsStructs ()
 
array< ref SCR_CampaignPlayerStructGetPlayersStructs ()
 
int GetTutorialStage ()
 
bool IsMatchOver ()
 
string GetWeatherState ()
 
int GetCallsignOffset ()
 
override bool Serialize ()
 Write world data into the struct.
 
override bool Deserialize ()
 Read data from the struct and apply them in the world.
 
void Clear ()
 
void SCR_CampaignStruct ()
 
- Public Member Functions inherited from SCR_JsonApiStruct
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.
 

Static Public Member Functions

static string GetResourceId (string resourceName)
 Returns the id of the given resource {76A14F180887D76E}Prefabs/Compositions/Slotted/SlotFlatSmall/AmmoStorage_S_US_01.et

‍{76A14F180887D76E}


 

Protected Attributes

int m_iHours = -1
 
int m_iMinutes = -1
 
int m_iSeconds = -1
 
vector m_vMHQLocationBLUFOR
 
vector m_vMHQRotationBLUFOR
 
vector m_vMHQLocationOPFOR
 
vector m_vMHQRotationOPFOR
 
ref array< ref SCR_CampaignBaseStructm_aBasesStructs = {}
 
ref array< ref SCR_CampaignRemnantInfoStructm_aRemnantsStructs = {}
 
ref array< ref SCR_CampaignPlayerStructm_aPlayerStructs = {}
 
int m_iTutorialStage = -1
 
bool m_bMatchOver
 
string m_sWeatherState
 
int m_iCallsignOffset = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN
 

Constructor & Destructor Documentation

◆ SCR_CampaignStruct()

void SCR_CampaignStruct.SCR_CampaignStruct ( )

Member Function Documentation

◆ Clear()

void SCR_CampaignStruct.Clear ( )

◆ Deserialize()

override bool SCR_CampaignStruct.Deserialize ( )

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

Implements SCR_JsonApiStruct.

◆ GetBasesStructs()

array< ref SCR_CampaignBaseStruct > SCR_CampaignStruct.GetBasesStructs ( )

◆ GetCallsignOffset()

int SCR_CampaignStruct.GetCallsignOffset ( )

◆ GetHours()

int SCR_CampaignStruct.GetHours ( )

◆ GetMHQLocationBLUFOR()

vector SCR_CampaignStruct.GetMHQLocationBLUFOR ( )

◆ GetMHQLocationOPFOR()

vector SCR_CampaignStruct.GetMHQLocationOPFOR ( )

◆ GetMHQRotationBLUFOR()

vector SCR_CampaignStruct.GetMHQRotationBLUFOR ( )

◆ GetMHQRotationOPFOR()

vector SCR_CampaignStruct.GetMHQRotationOPFOR ( )

◆ GetMinutes()

int SCR_CampaignStruct.GetMinutes ( )

◆ GetPlayersStructs()

array< ref SCR_CampaignPlayerStruct > SCR_CampaignStruct.GetPlayersStructs ( )

◆ GetRemnantsStructs()

array< ref SCR_CampaignRemnantInfoStruct > SCR_CampaignStruct.GetRemnantsStructs ( )

◆ GetResourceId()

static string SCR_CampaignStruct.GetResourceId ( string  resourceName)
static

Returns the id of the given resource {76A14F180887D76E}Prefabs/Compositions/Slotted/SlotFlatSmall/AmmoStorage_S_US_01.et

‍{76A14F180887D76E}

◆ GetSeconds()

int SCR_CampaignStruct.GetSeconds ( )

◆ GetTutorialStage()

int SCR_CampaignStruct.GetTutorialStage ( )

◆ GetWeatherState()

string SCR_CampaignStruct.GetWeatherState ( )

◆ IsMatchOver()

bool SCR_CampaignStruct.IsMatchOver ( )

◆ Serialize()

override bool SCR_CampaignStruct.Serialize ( )

Write world data into the struct.

Implements SCR_JsonApiStruct.

Member Data Documentation

◆ m_aBasesStructs

ref array<ref SCR_CampaignBaseStruct> SCR_CampaignStruct.m_aBasesStructs = {}
protected

◆ m_aPlayerStructs

ref array<ref SCR_CampaignPlayerStruct> SCR_CampaignStruct.m_aPlayerStructs = {}
protected

◆ m_aRemnantsStructs

ref array<ref SCR_CampaignRemnantInfoStruct> SCR_CampaignStruct.m_aRemnantsStructs = {}
protected

◆ m_bMatchOver

bool SCR_CampaignStruct.m_bMatchOver
protected

◆ m_iCallsignOffset

int SCR_CampaignStruct.m_iCallsignOffset = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN
protected

◆ m_iHours

int SCR_CampaignStruct.m_iHours = -1
protected

◆ m_iMinutes

int SCR_CampaignStruct.m_iMinutes = -1
protected

◆ m_iSeconds

int SCR_CampaignStruct.m_iSeconds = -1
protected

◆ m_iTutorialStage

int SCR_CampaignStruct.m_iTutorialStage = -1
protected

◆ m_sWeatherState

string SCR_CampaignStruct.m_sWeatherState
protected

◆ m_vMHQLocationBLUFOR

vector SCR_CampaignStruct.m_vMHQLocationBLUFOR
protected

◆ m_vMHQLocationOPFOR

vector SCR_CampaignStruct.m_vMHQLocationOPFOR
protected

◆ m_vMHQRotationBLUFOR

vector SCR_CampaignStruct.m_vMHQRotationBLUFOR
protected

◆ m_vMHQRotationOPFOR

vector SCR_CampaignStruct.m_vMHQRotationOPFOR
protected

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