Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PlayerUIInfo.c
Go to the documentation of this file.
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 GetGame().GetPlayerManager().GetPlayerName(m_iPlayerID);
24  else
25  return super.GetName();
26  }
27 }
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
SCR_BaseContainerLocalizedTitleField
SCR_TabViewComponent SCR_ScriptedWidgetComponent SCR_BaseContainerLocalizedTitleField("m_sTabButtonContent")
Definition: SCR_TabViewComponent.c:963
SCR_PlayerUIInfo
Definition: SCR_PlayerUIInfo.c:2
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_UIInfo
Definition: SCR_UIInfo.c:7
m_iPlayerID
SCR_EditorManagerCore m_iPlayerID
LocalizedString
Definition: LocalizedString.c:21
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468