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

Protected Member Functions

SCR_EIdentityGender GetGender ()
override void RandomizeIdentity (int combinedBioIndex)
override void OverwriteExtendedIdentity (SCR_ExtendedIdentity newExtendedIdentity)
void OverwriteCharacterName (string overwriteName, string overwriteAlias, string overwriteSurname)
bool WasIdentityItemAddedOnce_S ()
int OnIdentityItemAdded_S (SCR_IdentityInventoryItemComponent item, bool generateValuableIntel)
void OnCharacterDeath ()
 Called by SCR_CharacterIdentityManagerComponent when character dies (Server Only).
void OnCharacterDeathBroadCast (int totalDeathDateMinutes)
override void AssignBio (SCR_IdentityBio identityBio)
override void RandomizePlaceOfOrigin ()
void SetPlaceOfOriginIndex (int index)
void SetCharacterPlaceOfOriginBroadcast (int index)
void SetPlayerID (int playerId)
 Set this character player ID. Handled in the preparing of this character by the SCR_IdentityManagerComponent.
int GetPlayerID ()
void OnCharacterLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState)
override void DelayedInit (IEntity owner)
override void OnDelete (IEntity owner)
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)

Protected Attributes

SCR_EIdentityGender m_eGender
float m_fChanceOfIdentityDocumentBeingValuable
int m_iPlayerId
bool m_bIdentityItemAdded

Detailed Description

Definition at line 5 of file SCR_ExtendedCharacterIdentityComponent.c.

Member Function Documentation

◆ AssignBio()

override void SCR_ExtendedCharacterIdentityComponent::AssignBio ( SCR_IdentityBio identityBio)
inlineprotected

Definition at line 221 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ DelayedInit()

override void SCR_ExtendedCharacterIdentityComponent::DelayedInit ( IEntity owner)
inlineprotected

Definition at line 426 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ GetGender()

SCR_EIdentityGender SCR_ExtendedCharacterIdentityComponent::GetGender ( )
inlineprotected

Get gender of character.

Returns
Gender

Definition at line 23 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ GetPlayerID()

int SCR_ExtendedCharacterIdentityComponent::GetPlayerID ( )
inlineprotected
Returns
Player ID of the character (Can be 0 if AI)

Definition at line 405 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OnCharacterDeath()

void SCR_ExtendedCharacterIdentityComponent::OnCharacterDeath ( )
inlineprotected

Called by SCR_CharacterIdentityManagerComponent when character dies (Server Only).

Definition at line 170 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OnCharacterDeathBroadCast()

void SCR_ExtendedCharacterIdentityComponent::OnCharacterDeathBroadCast ( int totalDeathDateMinutes)
inlineprotected

Definition at line 201 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OnCharacterLifeStateChanged()

void SCR_ExtendedCharacterIdentityComponent::OnCharacterLifeStateChanged ( ECharacterLifeState previousLifeState,
ECharacterLifeState newLifeState )
inlineprotected

Definition at line 412 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OnDelete()

override void SCR_ExtendedCharacterIdentityComponent::OnDelete ( IEntity owner)
inlineprotected

Definition at line 447 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OnIdentityItemAdded_S()

int SCR_ExtendedCharacterIdentityComponent::OnIdentityItemAdded_S ( SCR_IdentityInventoryItemComponent item,
bool generateValuableIntel )
inlineprotected

When identity item is added to the character. If generate valuable intel is true it will also try to set the randomized valuable intel on the identity item if no other identity item was added

Parameters
[in]itemThe item added to the character's inventory
[in]generateValuableIntelIf it should try generating valuable intel for the character if the item was not added at least once
Returns
-1 if not valuable intel, otherwise it will return faction index of which faction the valuable intel is

Definition at line 134 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OverwriteCharacterName()

void SCR_ExtendedCharacterIdentityComponent::OverwriteCharacterName ( string overwriteName,
string overwriteAlias,
string overwriteSurname )
inlineprotected

Overwrite names specific for characters Called when Bio overwrites names.

Parameters
[in]overwriteNameOverwrite Name (Ignored if empty)
[in]overwriteAliasOverwrite Alias (Ignored if empty)
[in]overwriteSurnameOverwrite Surname (Ignored if empty)

Definition at line 76 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ OverwriteExtendedIdentity()

override void SCR_ExtendedCharacterIdentityComponent::OverwriteExtendedIdentity ( SCR_ExtendedIdentity newExtendedIdentity)
inlineprotected

Definition at line 56 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ RandomizeIdentity()

override void SCR_ExtendedCharacterIdentityComponent::RandomizeIdentity ( int combinedBioIndex)
inlineprotected

Definition at line 30 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ RandomizePlaceOfOrigin()

override void SCR_ExtendedCharacterIdentityComponent::RandomizePlaceOfOrigin ( )
inlineprotected

Definition at line 247 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ RplLoad()

override bool SCR_ExtendedCharacterIdentityComponent::RplLoad ( ScriptBitReader reader)
inlineprotected

Definition at line 492 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ RplSave()

override bool SCR_ExtendedCharacterIdentityComponent::RplSave ( ScriptBitWriter writer)
inlineprotected

Definition at line 465 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ SetCharacterPlaceOfOriginBroadcast()

void SCR_ExtendedCharacterIdentityComponent::SetCharacterPlaceOfOriginBroadcast ( int index)
inlineprotected

Definition at line 391 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ SetPlaceOfOriginIndex()

void SCR_ExtendedCharacterIdentityComponent::SetPlaceOfOriginIndex ( int index)
inlineprotected

Definition at line 383 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ SetPlayerID()

void SCR_ExtendedCharacterIdentityComponent::SetPlayerID ( int playerId)
inlineprotected

Set this character player ID. Handled in the preparing of this character by the SCR_IdentityManagerComponent.

Definition at line 398 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ WasIdentityItemAddedOnce_S()

bool SCR_ExtendedCharacterIdentityComponent::WasIdentityItemAddedOnce_S ( )
inlineprotected
Returns
True if at least once an identity item was added (Server only)

Definition at line 123 of file SCR_ExtendedCharacterIdentityComponent.c.

Member Data Documentation

◆ m_bIdentityItemAdded

bool SCR_ExtendedCharacterIdentityComponent::m_bIdentityItemAdded
protected

Definition at line 17 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ m_eGender

SCR_EIdentityGender SCR_ExtendedCharacterIdentityComponent::m_eGender
protected

Definition at line 8 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ m_fChanceOfIdentityDocumentBeingValuable

float SCR_ExtendedCharacterIdentityComponent::m_fChanceOfIdentityDocumentBeingValuable
protected

Definition at line 11 of file SCR_ExtendedCharacterIdentityComponent.c.

◆ m_iPlayerId

int SCR_ExtendedCharacterIdentityComponent::m_iPlayerId
protected

Definition at line 14 of file SCR_ExtendedCharacterIdentityComponent.c.


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