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_PlayerUIInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseContainerLocalizedTitleField
(
"Name"
)]
2
class
SCR_PlayerUIInfo
:
SCR_UIInfo
3
{
4
[
Attribute
()]
5
protected
int
m_iPlayerID
;
6
7
//------------------------------------------------------------------------------------------------
8
void
SetPlayerID
(
int
playerID)
9
{
10
m_iPlayerID
= playerID;
11
}
12
13
//------------------------------------------------------------------------------------------------
14
int
GetPlayerID
()
15
{
16
return
m_iPlayerID
;
17
}
18
19
//------------------------------------------------------------------------------------------------
20
override
LocalizedString
GetName
()
21
{
22
if
(
m_iPlayerID
> 0)
23
return
SCR_PlayerNamesFilterCache
.GetInstance().GetPlayerDisplayName(
m_iPlayerID
);
24
else
25
return
super.GetName();
26
}
27
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseContainerLocalizedTitleField
SCR_PlayerCommandingConfigActionPair Managed SCR_BaseContainerLocalizedTitleField("m_sCommandName")
Definition
SCR_PlayerCommandsConfig.c:58
LocalizedString
Definition
LocalizedString.c:22
SCR_PlayerNamesFilterCache
Definition
SCR_PlayerNamesFilterCache.c:3
SCR_PlayerUIInfo
Definition
SCR_PlayerUIInfo.c:3
SCR_PlayerUIInfo::GetPlayerID
int GetPlayerID()
Definition
SCR_PlayerUIInfo.c:14
SCR_PlayerUIInfo::GetName
override LocalizedString GetName()
Definition
SCR_PlayerUIInfo.c:20
SCR_PlayerUIInfo::m_iPlayerID
int m_iPlayerID
Definition
SCR_PlayerUIInfo.c:5
SCR_PlayerUIInfo::SetPlayerID
void SetPlayerID(int playerID)
Definition
SCR_PlayerUIInfo.c:8
SCR_UIInfo
Definition
SCR_UIInfo.c:8
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Editor
Containers
UIInfo
SCR_PlayerUIInfo.c
Generated by
1.17.0