Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ExtendedCharacterIdentity Interface Reference
Inheritance diagram for SCR_ExtendedCharacterIdentity:
SCR_ExtendedIdentity

Public Member Functions

void SetDeathDateAndTime (int deathDay, int deathMonth, int deathYear, int deathHour, int deathMinute)
 Set date and time of death Use SCR_ExtendedCharacterIdentityComponent to set to make sure it is replicated!
 
bool GetDeathDateAndTime (out int deathDay, out int deathMonth, out int deathYear, out int deathHour, out int deathMinute)
 Get date and time of death.
 
void SetBloodType (SCR_EBloodType bloodType)
 Set Blood type Use SCR_ExtendedCharacterIdentityComponent to set to make sure it is replicated!
 
SCR_EBloodType GetBloodType ()
 
- Public Member Functions inherited from SCR_ExtendedIdentity
void SetAge (int age)
 Set age of entity Use SCR_ExtendedIdentityComponent to set to make sure it is replicated!
 
int GetAge ()
 Get age of entity.
 
void SetDayOfCreation (int day)
 Set day entity is created or character is born Use SCR_ExtendedIdentityComponent to set to make sure it is replicated!
 
int GetDayOfCreation ()
 Get day entity is created or character is born.
 
void SetMonthOfCreation (int month)
 Set month entity is created or character is born Use SCR_ExtendedIdentityComponent to set to make sure it is replicated!
 
int GetMonthOfCreation ()
 Get month entity is created or character is born.
 
void SetFactionOfOrigin (string factionKey)
 Set faction of origin.
 
void SetFactionOfOrigin (int factionIndex)
 Set faction of origin.
 
string GetFactionOfOriginKey ()
 Get faction of origin key.
 
int GetFactionOfOriginIndex ()
 Get faction of origin index.
 
void SetPlaceOfOrigin (SCR_UIInfo place, bool isOverwrite)
 Set place of creation.
 
void SetPlaceOfOriginIndex (int index)
 Set place of creation.
 
SCR_UIInfo GetPlaceOfOriginUIInfo ()
 Get the place of creation UI info.
 
int GetPlaceOfOriginIndex ()
 Get the place of creation index.
 

Protected Attributes

SCR_EBloodType m_eBloodType
 
int m_iDayOfDeath = -1
 
int m_iMonthOfDeath = -1
 
int m_iYearOfDeath = -1
 
int m_iHourOfDeath = -1
 
int m_iMinuteOfDeath = -1
 
- Protected Attributes inherited from SCR_ExtendedIdentity
int m_iAge
 
int m_iDayOfCreation
 
int m_iMonthOfCreation
 
string m_sFactionOfOriginKey
 
ref SCR_UIInfo m_PlaceOfOrigin
 
int m_iFactionOfOriginIndex = -1
 
int m_iPlaceOfOriginIndex = -1
 

Member Function Documentation

◆ GetBloodType()

SCR_EBloodType SCR_ExtendedCharacterIdentity.GetBloodType ( )

◆ GetDeathDateAndTime()

bool SCR_ExtendedCharacterIdentity.GetDeathDateAndTime ( out int deathDay,
out int deathMonth,
out int deathYear,
out int deathHour,
out int deathMinute )

Get date and time of death.

Parameters
[out]deathDayDay of death
[out]deathMonthMonth of death
[out]deathYearYear of death
[out]deathHourHour of death
[out]deathMinuteMinute of death
Returns
false if no date and/or time is set

◆ SetBloodType()

void SCR_ExtendedCharacterIdentity.SetBloodType ( SCR_EBloodType bloodType)

Set Blood type Use SCR_ExtendedCharacterIdentityComponent to set to make sure it is replicated!

Parameters
[in]bloodTypeBlood type to set

◆ SetDeathDateAndTime()

void SCR_ExtendedCharacterIdentity.SetDeathDateAndTime ( int deathDay,
int deathMonth,
int deathYear,
int deathHour,
int deathMinute )

Set date and time of death Use SCR_ExtendedCharacterIdentityComponent to set to make sure it is replicated!

Parameters
[in]deathDayDay of death
[in]deathMonthMonth of death
[in]deathYearYear of death
[in]deathHourHour of death
[in]deathMinuteMinute of death

Member Data Documentation

◆ m_eBloodType

SCR_EBloodType SCR_ExtendedCharacterIdentity.m_eBloodType
protected

◆ m_iDayOfDeath

int SCR_ExtendedCharacterIdentity.m_iDayOfDeath = -1
protected

◆ m_iHourOfDeath

int SCR_ExtendedCharacterIdentity.m_iHourOfDeath = -1
protected

◆ m_iMinuteOfDeath

int SCR_ExtendedCharacterIdentity.m_iMinuteOfDeath = -1
protected

◆ m_iMonthOfDeath

int SCR_ExtendedCharacterIdentity.m_iMonthOfDeath = -1
protected

◆ m_iYearOfDeath

int SCR_ExtendedCharacterIdentity.m_iYearOfDeath = -1
protected

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