Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FactionHomeTerritoryConfig.c File Reference

Go to the source code of this file.

Classes

class  SCR_FactionHomeTerritoryConfig
class  SCR_TerritoryIdentityOverride
class  SCR_TerritoryIdentityNameOverride

Functions

class SCR_FactionHomeTerritoryConfig BaseContainerProps ()
SCR_UIInfo GetHomeTerritoryUIInfo (int index)
int GetRandomHomeTerritoryIndex (RandomGenerator randomizer=null, bool useWeightedRandom=true)
float GetSharedPlaceOfBirthWeight ()
void SCR_FactionHomeTerritoryConfig ()
class SCR_FactionHomeTerritoryConfig BaseContainerCustomDoubleTitleField ("m_sID", "m_iWeight")

Variables

ref array< ref SCR_FactionHomeTerritory > m_aFactionHomeTerritories
float m_fSharedPlaceOfBirthWeight
int m_iTotalWeight
SCR_EIdentityGender m_eGender
ref array< ref SCR_TerritoryIdentityVisualOverride > m_aVisualOverrides
ref SCR_TerritoryIdentityNameOverride m_FirstNameOverrides
ref SCR_TerritoryIdentityNameOverride m_SurnameOverrides

Function Documentation

◆ BaseContainerCustomDoubleTitleField()

class SCR_FactionHomeTerritoryConfig BaseContainerCustomDoubleTitleField ( "m_sID" ,
"m_iWeight"  )

Definition at line 93 of file SCR_FactionHomeTerritoryConfig.c.

◆ BaseContainerProps()

class SCR_FactionHomeTerritoryConfig BaseContainerProps ( )

Definition at line 93 of file SCR_FactionHomeTerritoryConfig.c.

◆ GetHomeTerritoryUIInfo()

SCR_UIInfo BaseContainerProps::GetHomeTerritoryUIInfo ( int index)
protected

Get UI info of place of birth

Parameters
[in]useWeightedRandomif true it will randomize the entries with the given weight
Returns
Random (weighted) index

Definition at line 13 of file SCR_FactionHomeTerritoryConfig.c.

◆ GetRandomHomeTerritoryIndex()

int BaseContainerProps::GetRandomHomeTerritoryIndex ( RandomGenerator randomizer = null,
bool useWeightedRandom = true )
protected

Get random place of birth index of faction using random Generator

Parameters
[in]randomGenerator. Set null it should not use Generator
[in]useWeightedRandomif true it will randomize the entries with the given weight
Returns
Random (weighted) index

Definition at line 26 of file SCR_FactionHomeTerritoryConfig.c.

◆ GetSharedPlaceOfBirthWeight()

float BaseContainerProps::GetSharedPlaceOfBirthWeight ( )
protected

Get percentage of AI group members sharing the same place of birth

Returns
Percentage

Definition at line 71 of file SCR_FactionHomeTerritoryConfig.c.

◆ SCR_FactionHomeTerritoryConfig()

void BaseContainerProps::SCR_FactionHomeTerritoryConfig ( )
protected

Definition at line 77 of file SCR_FactionHomeTerritoryConfig.c.

Variable Documentation

◆ m_aFactionHomeTerritories

ref array<ref SCR_FactionHomeTerritory> m_aFactionHomeTerritories
protected

Definition at line 1 of file SCR_FactionHomeTerritoryConfig.c.

◆ m_aVisualOverrides

ref array<ref SCR_TerritoryIdentityVisualOverride> m_aVisualOverrides

Definition at line 130 of file SCR_FactionHomeTerritoryConfig.c.

◆ m_eGender

Definition at line 127 of file SCR_FactionHomeTerritoryConfig.c.

◆ m_FirstNameOverrides

ref SCR_TerritoryIdentityNameOverride m_FirstNameOverrides

Definition at line 133 of file SCR_FactionHomeTerritoryConfig.c.

◆ m_fSharedPlaceOfBirthWeight

float m_fSharedPlaceOfBirthWeight
protected

Definition at line 4 of file SCR_FactionHomeTerritoryConfig.c.

◆ m_iTotalWeight

int m_iTotalWeight
protected

Definition at line 7 of file SCR_FactionHomeTerritoryConfig.c.

◆ m_SurnameOverrides

ref SCR_TerritoryIdentityNameOverride m_SurnameOverrides

Definition at line 136 of file SCR_FactionHomeTerritoryConfig.c.