Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ExtendedIdentityComponent Class Reference
Inheritance diagram for SCR_ExtendedIdentityComponent:
ScriptComponent SCR_ExtendedCharacterIdentityComponent

Protected Member Functions

int GetRandomizeSeed ()
void RandomizeIdentityServer ()
void RandomizeIdentityBroadcast (int seed, int combinedBioIndex)
void RandomizeIdentity (int combinedBioIndex)
void DelayedRandomizeIdentity ()
void DeleteRandomizer ()
SCR_ExtendedIdentity GetExtendedIdentity ()
void OverwriteExtendedIdentity (SCR_ExtendedIdentity newExtendedIdentity)
void InitFactionOfOrigin ()
SCR_IdentityBio GetIdentityBio ()
void GetBioIndexes (out int bioGroupIndex, out int bioIndex)
void AssignRandomBioServer ()
 Assign random bio (Server Only).
void AssignBio (int combinedBioIndex)
void AssignBio (SCR_IdentityBio identityBio)
void RandomizeAge ()
 Set controlled random age of entity in years.
void SetRandomMonthOfCreation ()
void SetRandomDayOfCreation (int month=-1)
void RandomizePlaceOfOrigin ()
SCR_EIdentityType GetIdentityType ()
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
override void OnPostInit (IEntity owner)
override void EOnInit (IEntity owner)
void DelayedInit (IEntity owner)

Protected Attributes

SCR_EIdentityType m_eIdentityType
ref SCR_ExtendedIdentity m_ExtendedIdentity
ref SCR_IdentityBio m_IdentityBio
int m_iMinRandomAge
int m_iMaxRandomAge
bool m_bRandomizeIdentityOnInit
int m_iBioGroupIndex = -1
int m_iBioIndex = -1
int m_RandomizeSeed = -1
ref RandomGenerator m_Randomizer
bool m_bDelayedInitCalled

Detailed Description

Definition at line 5 of file SCR_ExtendedIdentityComponent.c.

Member Function Documentation

◆ AssignBio() [1/2]

void SCR_ExtendedIdentityComponent::AssignBio ( int combinedBioIndex)
inlineprotected

Assign given bio using combined bio index. (Local only is not replicated) Will also overwrite any indentity values taken from the bio

Parameters
combinedBioIndexCombined bio group index and bio index

Definition at line 274 of file SCR_ExtendedIdentityComponent.c.

◆ AssignBio() [2/2]

void SCR_ExtendedIdentityComponent::AssignBio ( SCR_IdentityBio identityBio)
inlineprotected

Assign given bio. (Local only is not replicated) Will also overwrite any indentity values taken from the bio

Parameters
identityBioNew bio to assign

Definition at line 288 of file SCR_ExtendedIdentityComponent.c.

◆ AssignRandomBioServer()

void SCR_ExtendedIdentityComponent::AssignRandomBioServer ( )
inlineprotected

Assign random bio (Server Only).

Definition at line 233 of file SCR_ExtendedIdentityComponent.c.

◆ DelayedInit()

void SCR_ExtendedIdentityComponent::DelayedInit ( IEntity owner)
inlineprotected

Definition at line 449 of file SCR_ExtendedIdentityComponent.c.

◆ DelayedRandomizeIdentity()

void SCR_ExtendedIdentityComponent::DelayedRandomizeIdentity ( )
inlineprotected

Definition at line 134 of file SCR_ExtendedIdentityComponent.c.

◆ DeleteRandomizer()

void SCR_ExtendedIdentityComponent::DeleteRandomizer ( )
inlineprotected

Definition at line 145 of file SCR_ExtendedIdentityComponent.c.

◆ EOnInit()

override void SCR_ExtendedIdentityComponent::EOnInit ( IEntity owner)
inlineprotected

Definition at line 442 of file SCR_ExtendedIdentityComponent.c.

◆ GetBioIndexes()

void SCR_ExtendedIdentityComponent::GetBioIndexes ( out int bioGroupIndex,
out int bioIndex )
inlineprotected
Parameters
[out]bioGroupIndexGet Group index
[out]bioIndexGet entry index
Returns
Bio Indexes

Definition at line 225 of file SCR_ExtendedIdentityComponent.c.

◆ GetExtendedIdentity()

SCR_ExtendedIdentity SCR_ExtendedIdentityComponent::GetExtendedIdentity ( )
inlineprotected

Get Extended Identity Holding information from age to place of creation

Returns
Extended Identity

Definition at line 155 of file SCR_ExtendedIdentityComponent.c.

◆ GetIdentityBio()

SCR_IdentityBio SCR_ExtendedIdentityComponent::GetIdentityBio ( )
inlineprotected

Get Identity Bio Bio contains flavor text

Returns
Identity bio

Definition at line 216 of file SCR_ExtendedIdentityComponent.c.

◆ GetIdentityType()

SCR_EIdentityType SCR_ExtendedIdentityComponent::GetIdentityType ( )
inlineprotected

Definition at line 390 of file SCR_ExtendedIdentityComponent.c.

◆ GetRandomizeSeed()

int SCR_ExtendedIdentityComponent::GetRandomizeSeed ( )
inlineprotected

Returns the assigned randomize seed of the identity

Returns
Randomize seed

Definition at line 39 of file SCR_ExtendedIdentityComponent.c.

◆ InitFactionOfOrigin()

void SCR_ExtendedIdentityComponent::InitFactionOfOrigin ( )
inlineprotected

Definition at line 191 of file SCR_ExtendedIdentityComponent.c.

◆ OnPostInit()

override void SCR_ExtendedIdentityComponent::OnPostInit ( IEntity owner)
inlineprotected

Definition at line 422 of file SCR_ExtendedIdentityComponent.c.

◆ OverwriteExtendedIdentity()

void SCR_ExtendedIdentityComponent::OverwriteExtendedIdentity ( SCR_ExtendedIdentity newExtendedIdentity)
inlineprotected

Called when a bio is overwriting the extended Identity Note that only values that where set in the new identity will be overwritten on the entity

Parameters
[in]newExtendedIdentitynew Extended Identity to get values from

Definition at line 164 of file SCR_ExtendedIdentityComponent.c.

◆ RandomizeAge()

void SCR_ExtendedIdentityComponent::RandomizeAge ( )
inlineprotected

Set controlled random age of entity in years.

Definition at line 302 of file SCR_ExtendedIdentityComponent.c.

◆ RandomizeIdentity()

void SCR_ExtendedIdentityComponent::RandomizeIdentity ( int combinedBioIndex)
inlineprotected

Definition at line 85 of file SCR_ExtendedIdentityComponent.c.

◆ RandomizeIdentityBroadcast()

void SCR_ExtendedIdentityComponent::RandomizeIdentityBroadcast ( int seed,
int combinedBioIndex )
inlineprotected

Definition at line 77 of file SCR_ExtendedIdentityComponent.c.

◆ RandomizeIdentityServer()

void SCR_ExtendedIdentityComponent::RandomizeIdentityServer ( )
inlineprotected

Randomize the identity of the entity. (Server only) Will create a seed. Note that it will not clear any identity already set by prefab or script

Definition at line 47 of file SCR_ExtendedIdentityComponent.c.

◆ RandomizePlaceOfOrigin()

void SCR_ExtendedIdentityComponent::RandomizePlaceOfOrigin ( )
inlineprotected

Definition at line 364 of file SCR_ExtendedIdentityComponent.c.

◆ RplLoad()

override bool SCR_ExtendedIdentityComponent::RplLoad ( ScriptBitReader reader)
inlineprotected

Definition at line 410 of file SCR_ExtendedIdentityComponent.c.

◆ RplSave()

override bool SCR_ExtendedIdentityComponent::RplSave ( ScriptBitWriter writer)
inlineprotected

Definition at line 397 of file SCR_ExtendedIdentityComponent.c.

◆ SetRandomDayOfCreation()

void SCR_ExtendedIdentityComponent::SetRandomDayOfCreation ( int month = -1)
inlineprotected

Definition at line 323 of file SCR_ExtendedIdentityComponent.c.

◆ SetRandomMonthOfCreation()

void SCR_ExtendedIdentityComponent::SetRandomMonthOfCreation ( )
inlineprotected

Definition at line 313 of file SCR_ExtendedIdentityComponent.c.

Member Data Documentation

◆ m_bDelayedInitCalled

bool SCR_ExtendedIdentityComponent::m_bDelayedInitCalled
protected

Definition at line 33 of file SCR_ExtendedIdentityComponent.c.

◆ m_bRandomizeIdentityOnInit

bool SCR_ExtendedIdentityComponent::m_bRandomizeIdentityOnInit
protected

Definition at line 23 of file SCR_ExtendedIdentityComponent.c.

◆ m_eIdentityType

SCR_EIdentityType SCR_ExtendedIdentityComponent::m_eIdentityType
protected

Definition at line 8 of file SCR_ExtendedIdentityComponent.c.

◆ m_ExtendedIdentity

ref SCR_ExtendedIdentity SCR_ExtendedIdentityComponent::m_ExtendedIdentity
protected

Definition at line 11 of file SCR_ExtendedIdentityComponent.c.

◆ m_iBioGroupIndex

int SCR_ExtendedIdentityComponent::m_iBioGroupIndex = -1
protected

Definition at line 26 of file SCR_ExtendedIdentityComponent.c.

◆ m_iBioIndex

int SCR_ExtendedIdentityComponent::m_iBioIndex = -1
protected

Definition at line 27 of file SCR_ExtendedIdentityComponent.c.

◆ m_IdentityBio

ref SCR_IdentityBio SCR_ExtendedIdentityComponent::m_IdentityBio
protected

Definition at line 14 of file SCR_ExtendedIdentityComponent.c.

◆ m_iMaxRandomAge

int SCR_ExtendedIdentityComponent::m_iMaxRandomAge
protected

Definition at line 20 of file SCR_ExtendedIdentityComponent.c.

◆ m_iMinRandomAge

int SCR_ExtendedIdentityComponent::m_iMinRandomAge
protected

Definition at line 17 of file SCR_ExtendedIdentityComponent.c.

◆ m_Randomizer

ref RandomGenerator SCR_ExtendedIdentityComponent::m_Randomizer
protected

Definition at line 31 of file SCR_ExtendedIdentityComponent.c.

◆ m_RandomizeSeed

int SCR_ExtendedIdentityComponent::m_RandomizeSeed = -1
protected

Definition at line 30 of file SCR_ExtendedIdentityComponent.c.


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