Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FactionPlayersTooltipDetail.c
Go to the documentation of this file.
3{
4 protected TextWidget m_Text;
6
7 //------------------------------------------------------------------------------------------------
9 {
10 Faction faction = entity.GetFaction();
11 m_Text.SetText(m_FactionManager.GetFactionPlayerCount(faction).ToString());
12 }
13
14 //------------------------------------------------------------------------------------------------
15 override bool InitDetail(SCR_EditableEntityComponent entity, Widget widget)
16 {
17 m_FactionManager = SCR_FactionManager.Cast(GetGame().GetFactionManager());
19 return false;
20
21 m_Text = TextWidget.Cast(widget);
22 return m_Text != null;
23 }
24}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_FactionManager(IEntitySource src, IEntity parent)
class SCR_KeyBindingFilter BaseContainerCustomTitleField("m_sBindString")
override void UpdateDetail(SCR_EditableEntityComponent entity)
override bool InitDetail(SCR_EditableEntityComponent entity, Widget widget)