◆ SCR_IdentityBioGroupConfig()
void SCR_IdentityBioGroupConfig.SCR_IdentityBioGroupConfig |
( |
| ) |
|
◆ AssignRandomAvailableBio()
void SCR_IdentityBioGroupConfig.AssignRandomAvailableBio |
( |
RandomGenerator | randomizer, |
|
|
IEntity | entity, |
|
|
out int | index, |
|
|
out SCR_IdentityBio | bio ) |
Get an random available bio (Server Only) Also removes the bio from available list.
- Parameters
-
[out] | index | Bio index |
[out] | bio | Bio reference |
Implemented in SCR_CharacterIdentityBioGroupConfig.
◆ DelayedInit()
void SCR_IdentityBioGroupConfig.DelayedInit |
( |
| ) |
|
|
protected |
◆ GetBioGroupID()
string SCR_IdentityBioGroupConfig.GetBioGroupID |
( |
| ) |
|
Get bio group ID.
- Returns
- Bio groupID
◆ GetIdentityBio()
SCR_IdentityBio SCR_IdentityBioGroupConfig.GetIdentityBio |
( |
IEntity | entity, |
|
|
int | index ) |
◆ GetWeight()
int SCR_IdentityBioGroupConfig.GetWeight |
( |
| ) |
|
Return randomization weight.
- Returns
- randomization weight
◆ IsEnabled()
bool SCR_IdentityBioGroupConfig.IsEnabled |
( |
| ) |
|
Check if Bio Config is enabled.
If not it will never be randomized.
- Returns
- If config is enabled
◆ IsValidFaction() [1/2]
bool SCR_IdentityBioGroupConfig.IsValidFaction |
( |
int | factionIndex | ) |
|
Is Valid faction.
- Parameters
-
[in] | factionIndex | faction Index |
- Returns
- Returns true if no faction needed for group if if given faction is within the needed faction list
Implemented in SCR_CharacterIdentityBioGroupConfig.
◆ IsValidFaction() [2/2]
bool SCR_IdentityBioGroupConfig.IsValidFaction |
( |
string | factionKey | ) |
|
Is Valid faction.
- Parameters
-
[in] | factionKey | faction key |
- Returns
- Returns true if no faction needed for group if if given faction is within the needed faction list
Implemented in SCR_CharacterIdentityBioGroupConfig.
◆ IsValidForRandomization()
◆ OnCharacterBioAssigned()
SCR_IdentityBio SCR_IdentityBioGroupConfig.OnCharacterBioAssigned |
( |
IEntity | entity, |
|
|
int | index ) |
Called when Character bio is assigned (Server Only) Also removes the bio from available list (Unless the group has no weight and thus need to be randonly assigned)
- Parameters
-
[in] | index | Index of assigned Bio |
Implemented in SCR_CharacterIdentityBioGroupConfig.
◆ ResetAvailable()
void SCR_IdentityBioGroupConfig.ResetAvailable |
( |
| ) |
|
◆ SetAdditionalWeight()
void SCR_IdentityBioGroupConfig.SetAdditionalWeight |
( |
| ) |
|
|
protected |
◆ m_aAvailableIdentityBioIndexList
ref array<int> SCR_IdentityBioGroupConfig.m_aAvailableIdentityBioIndexList = {} |
|
protected |
◆ m_aIdentityList
◆ m_aNeedsFaction
ref array<string> SCR_IdentityBioGroupConfig.m_aNeedsFaction |
|
protected |
◆ m_aNeedsFactionIndexes
ref array<int> SCR_IdentityBioGroupConfig.m_aNeedsFactionIndexes |
|
protected |
◆ m_aUnavailableIdentityBioIndexList
ref array<int> SCR_IdentityBioGroupConfig.m_aUnavailableIdentityBioIndexList = {} |
|
protected |
◆ m_bEnabled
bool SCR_IdentityBioGroupConfig.m_bEnabled |
|
protected |
◆ m_fEntryAmountWeightMulti
float SCR_IdentityBioGroupConfig.m_fEntryAmountWeightMulti |
|
protected |
◆ m_iWeight
int SCR_IdentityBioGroupConfig.m_iWeight |
|
protected |
◆ m_sBioGroupID
string SCR_IdentityBioGroupConfig.m_sBioGroupID |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Identity/Containers/SCR_IdentityBioGroupConfig.c