◆ AssignBio() [1/2]
void SCR_ExtendedIdentityComponent.AssignBio |
( |
int | combinedBioIndex | ) |
|
Assign given bio using combined bio index.
(Local only is not replicated) Will also overwrite any indentity values taken from the bio
- Parameters
-
combinedBioIndex | Combined bio group index and bio index |
◆ AssignBio() [2/2]
void SCR_ExtendedIdentityComponent.AssignBio |
( |
SCR_IdentityBio | identityBio | ) |
|
Assign given bio.
(Local only is not replicated) Will also overwrite any indentity values taken from the bio
- Parameters
-
identityBio | New bio to assign |
Implemented in SCR_ExtendedCharacterIdentityComponent.
◆ AssignRandomBioServer()
void SCR_ExtendedIdentityComponent.AssignRandomBioServer |
( |
| ) |
|
|
protected |
Assign random bio (Server Only)
◆ DelayedInit()
void SCR_ExtendedIdentityComponent.DelayedInit |
( |
IEntity | owner | ) |
|
◆ DelayedRandomizeIdentity()
void SCR_ExtendedIdentityComponent.DelayedRandomizeIdentity |
( |
| ) |
|
|
protected |
◆ DeleteRandomizer()
void SCR_ExtendedIdentityComponent.DeleteRandomizer |
( |
| ) |
|
|
protected |
◆ EOnInit()
override void SCR_ExtendedIdentityComponent.EOnInit |
( |
IEntity | owner | ) |
|
◆ GetBioIndexes()
void SCR_ExtendedIdentityComponent.GetBioIndexes |
( |
out int | bioGroupIndex, |
|
|
out int | bioIndex ) |
- Parameters
-
[out] | bioGroupIndex | Get Group index |
[out] | bioIndex | Get entry index |
- Returns
- Bio Indexes
◆ GetExtendedIdentity()
Get Extended Identity Holding information from age to place of creation.
- Returns
- Extended Identity
◆ GetIdentityBio()
◆ GetIdentityType()
SCR_EIdentityType SCR_ExtendedIdentityComponent.GetIdentityType |
( |
| ) |
|
◆ GetRandomizeSeed()
int SCR_ExtendedIdentityComponent.GetRandomizeSeed |
( |
| ) |
|
Returns the assigned randomize seed of the identity.
- Returns
- Randomize seed
◆ InitFactionOfOrigin()
void SCR_ExtendedIdentityComponent.InitFactionOfOrigin |
( |
| ) |
|
|
protected |
◆ OnPostInit()
override void SCR_ExtendedIdentityComponent.OnPostInit |
( |
IEntity | owner | ) |
|
◆ OverwriteExtendedIdentity()
void SCR_ExtendedIdentityComponent.OverwriteExtendedIdentity |
( |
SCR_ExtendedIdentity | newExtendedIdentity | ) |
|
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] | newExtendedIdentity | new Extended Identity to get values from |
Implemented in SCR_ExtendedCharacterIdentityComponent.
◆ RandomizeAge()
void SCR_ExtendedIdentityComponent.RandomizeAge |
( |
| ) |
|
|
protected |
Set controlled random age of entity in years.
◆ RandomizeIdentity()
void SCR_ExtendedIdentityComponent.RandomizeIdentity |
( |
int | combinedBioIndex | ) |
|
|
protected |
◆ RandomizeIdentityBroadcast()
void SCR_ExtendedIdentityComponent.RandomizeIdentityBroadcast |
( |
int | seed, |
|
|
int | combinedBioIndex ) |
|
protected |
◆ RandomizeIdentityServer()
void SCR_ExtendedIdentityComponent.RandomizeIdentityServer |
( |
| ) |
|
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
◆ RandomizePlaceOfOrigin()
void SCR_ExtendedIdentityComponent.RandomizePlaceOfOrigin |
( |
| ) |
|
|
protected |
◆ RplLoad()
override bool SCR_ExtendedIdentityComponent.RplLoad |
( |
ScriptBitReader | reader | ) |
|
◆ RplSave()
override bool SCR_ExtendedIdentityComponent.RplSave |
( |
ScriptBitWriter | writer | ) |
|
◆ SetRandomDayOfCreation()
void SCR_ExtendedIdentityComponent.SetRandomDayOfCreation |
( |
int | month = -1 | ) |
|
Set random day of birth of character.
◆ SetRandomMonthOfCreation()
void SCR_ExtendedIdentityComponent.SetRandomMonthOfCreation |
( |
| ) |
|
|
protected |
Set random month of birth of character.
◆ m_bDelayedInitCalled
bool SCR_ExtendedIdentityComponent.m_bDelayedInitCalled |
|
protected |
◆ m_bRandomizeIdentityOnInit
bool SCR_ExtendedIdentityComponent.m_bRandomizeIdentityOnInit |
|
protected |
◆ m_eIdentityType
SCR_EIdentityType SCR_ExtendedIdentityComponent.m_eIdentityType |
|
protected |
◆ m_ExtendedIdentity
◆ m_iBioGroupIndex
int SCR_ExtendedIdentityComponent.m_iBioGroupIndex = -1 |
|
protected |
◆ m_iBioIndex
int SCR_ExtendedIdentityComponent.m_iBioIndex = -1 |
|
protected |
◆ m_IdentityBio
◆ m_iMaxRandomAge
int SCR_ExtendedIdentityComponent.m_iMaxRandomAge |
|
protected |
◆ m_iMinRandomAge
int SCR_ExtendedIdentityComponent.m_iMinRandomAge |
|
protected |
◆ m_Randomizer
ref RandomGenerator SCR_ExtendedIdentityComponent.m_Randomizer |
|
protected |
◆ m_RandomizeSeed
int SCR_ExtendedIdentityComponent.m_RandomizeSeed = -1 |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Identity/SCR_ExtendedIdentityComponent.c