Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_CharacterIdentityComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/Identity"
, description:
""
)]
2
class
SCR_CharacterIdentityComponentClass
:
CharacterIdentityComponentClass
3
{
4
}
5
6
class
SCR_CharacterIdentityComponent : CharacterIdentityComponent
7
{
8
[
Attribute
(
"#AR-Idenity_Name_Format_Full"
)]
9
protected
LocalizedString
m_IdentityFormatFull;
10
11
[
Attribute
(
"#AR-Idenity_Name_Format_NoAlias"
)]
12
protected
LocalizedString
m_IdentityFormatNoAlias;
13
14
//------------------------------------------------------------------------------------------------
20
void
GetFormattedFullName
(out
string
format, out
string
name, out
string
alias, out
string
surname)
21
{
22
name =
GetIdentity
().GetName();
23
alias =
GetIdentity
().GetAlias();
24
surname =
GetIdentity
().GetSurname();
25
26
if
(alias.IsEmpty())
27
format = m_IdentityFormatNoAlias;
28
else
29
format = m_IdentityFormatFull;
30
}
31
32
//------------------------------------------------------------------------------------------------
36
void
GetFormattedFullName
(out
string
format, out notnull array<string> names)
37
{
38
names.Clear();
39
40
string
name, alias, surname;
41
GetFormattedFullName
(format, name, alias, surname);
42
43
names.Insert(name);
44
names.Insert(alias);
45
names.Insert(surname);
46
}
47
}
ComponentEditorProps
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
Definition
SCR_AIGroupUtilityComponent.c:12
GetFormattedFullName
void GetFormattedFullName(out string format, out notnull array< string > names)
Definition
SCR_CharacterIdentityComponent.c:36
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
CharacterIdentityComponentClass
Definition
CharacterIdentityComponent.c:13
LocalizedString
Definition
LocalizedString.c:22
SCR_CharacterIdentityComponentClass
Definition
SCR_CharacterIdentityComponent.c:3
GetIdentity
proto external Identity GetIdentity()
Get identity of this character.
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Identity
SCR_CharacterIdentityComponent.c
Generated by
1.17.0