◆ SCR_CharacterRankComponent()
| void SCR_CharacterRankComponent.SCR_CharacterRankComponent |
( |
IEntityComponentSource | src, |
|
|
IEntity | ent, |
|
|
IEntity | parent ) |
- Parameters
-
| [in] | src | |
| [in] | ent | |
| [in] | parent | |
◆ GetCharacterFaction()
| SCR_Faction SCR_CharacterRankComponent.GetCharacterFaction |
( |
IEntity | unit | ) |
|
|
protected |
◆ GetCharacterRank() [1/2]
| SCR_ECharacterRank SCR_CharacterRankComponent.GetCharacterRank |
( |
| ) |
|
|
protected |
◆ GetCharacterRank() [2/2]
| static SCR_ECharacterRank SCR_CharacterRankComponent.GetCharacterRank |
( |
IEntity | unit | ) |
|
|
static |
Helper method to easily read a character's rank by providing just the character parameter.
- Parameters
-
- Returns
◆ GetCharacterRankComponent()
◆ GetCharacterRankInsignia()
| static ResourceName SCR_CharacterRankComponent.GetCharacterRankInsignia |
( |
IEntity | unit | ) |
|
|
static |
◆ GetCharacterRankName()
| static string SCR_CharacterRankComponent.GetCharacterRankName |
( |
IEntity | unit | ) |
|
|
static |
◆ GetCharacterRankNameShort()
| static string SCR_CharacterRankComponent.GetCharacterRankNameShort |
( |
IEntity | unit | ) |
|
|
static |
◆ GetCharacterRankNameUpperCase()
| static string SCR_CharacterRankComponent.GetCharacterRankNameUpperCase |
( |
IEntity | unit | ) |
|
|
static |
◆ GetRankName()
| static string SCR_CharacterRankComponent.GetRankName |
( |
IEntity | unit, |
|
|
SCR_ECharacterRank | rank ) |
|
static |
Return name of passed rank.
- Parameters
-
- Returns
◆ OnPostInit()
| override void SCR_CharacterRankComponent.OnPostInit |
( |
IEntity | owner | ) |
|
◆ OnRankChanged()
| void SCR_CharacterRankComponent.OnRankChanged |
( |
SCR_ECharacterRank | prevRank, |
|
|
SCR_ECharacterRank | newRank, |
|
|
bool | silent ) |
|
protected |
◆ RpcDoSetCharacterRank()
| void SCR_CharacterRankComponent.RpcDoSetCharacterRank |
( |
SCR_ECharacterRank | newRank, |
|
|
SCR_ECharacterRank | prevRank, |
|
|
bool | silent ) |
- Parameters
-
| [in] | newRank | |
| [in] | prevRank | |
| [in] | silent | |
◆ RplLoad()
| override bool SCR_CharacterRankComponent.RplLoad |
( |
ScriptBitReader | reader | ) |
|
◆ RplSave()
| override bool SCR_CharacterRankComponent.RplSave |
( |
ScriptBitWriter | writer | ) |
|
◆ SetCharacterRank()
| void SCR_CharacterRankComponent.SetCharacterRank |
( |
SCR_ECharacterRank | rank, |
|
|
bool | silent = false ) |
◆ m_iRank
| SCR_ECharacterRank SCR_CharacterRankComponent.m_iRank |
|
protected |
◆ m_Owner
| IEntity SCR_CharacterRankComponent.m_Owner |
|
protected |
◆ s_OnRankChanged
| ref ScriptInvoker SCR_CharacterRankComponent.s_OnRankChanged = new ScriptInvoker() |
|
static |
The documentation for this interface was generated from the following file:
- Game/Components/SCR_CharacterRankComponent.c