Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkTriggerCountdownDisplay Class Reference
Inheritance diagram for SCR_ScenarioFrameworkTriggerCountdownDisplay:

Protected Member Functions

override void DisplayStartDraw (IEntity owner)
 Starts drawing the display.
override void DisplayUpdate (IEntity owner, float timeSlice)
 Periodically updates the HUD.
void ShowHUD (bool show)
 Toggles if HUD should be shown or hidden.
void HandleHUD ()
 Handles if HUD should be enabled or disabled.
void RetrieveTriggerInfo (float activationCountdownTimer, float tempWaitTime, int playersCountByFactionInside, int playersCountByFaction, string playerActivationNotificationTitle, bool triggerConditionsStatus, float minimumPlayersNeededPercentage)
 Handles if HUD should be enabled or disabled.
void RetrieveCountInsideTrigger (int countInsideTrigger)
 Retrieves count inside trigger for turning off the HUD in cases where player owning this display is not inside.
void UpdateHUD ()
 Updates HUD according to the values and conditions acquired from the trigger.

Protected Attributes

bool m_bTriggerConditionsStatus
int m_iPlayersCountByFactionInside
int m_iPlayersCountByFaction
float m_fTempTimeSlice
float m_fActivationCountdownTimer
float m_fTempWaitTime
float m_fMinimumPlayersNeededPercentage
string m_sPlayerActivationNotificationTitle
Widget m_wInfoOverlay
Widget m_wCountdownOverlay
RichTextWidget m_wCountdown
RichTextWidget m_wFlavour

Detailed Description

Member Function Documentation

◆ DisplayStartDraw()

override void SCR_ScenarioFrameworkTriggerCountdownDisplay::DisplayStartDraw ( IEntity owner)
inlineprotected

Starts drawing the display.

Definition at line 21 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

◆ DisplayUpdate()

override void SCR_ScenarioFrameworkTriggerCountdownDisplay::DisplayUpdate ( IEntity owner,
float timeSlice )
inlineprotected

Periodically updates the HUD.

Definition at line 52 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

◆ HandleHUD()

void SCR_ScenarioFrameworkTriggerCountdownDisplay::HandleHUD ( )
inlineprotected

Handles if HUD should be enabled or disabled.

Definition at line 71 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

◆ RetrieveCountInsideTrigger()

void SCR_ScenarioFrameworkTriggerCountdownDisplay::RetrieveCountInsideTrigger ( int countInsideTrigger)
inlineprotected

Retrieves count inside trigger for turning off the HUD in cases where player owning this display is not inside.

Definition at line 101 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

◆ RetrieveTriggerInfo()

void SCR_ScenarioFrameworkTriggerCountdownDisplay::RetrieveTriggerInfo ( float activationCountdownTimer,
float tempWaitTime,
int playersCountByFactionInside,
int playersCountByFaction,
string playerActivationNotificationTitle,
bool triggerConditionsStatus,
float minimumPlayersNeededPercentage )
inlineprotected

Handles if HUD should be enabled or disabled.

Definition at line 86 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

◆ ShowHUD()

void SCR_ScenarioFrameworkTriggerCountdownDisplay::ShowHUD ( bool show)
inlineprotected

Toggles if HUD should be shown or hidden.

Definition at line 61 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

◆ UpdateHUD()

void SCR_ScenarioFrameworkTriggerCountdownDisplay::UpdateHUD ( )
inlineprotected

Updates HUD according to the values and conditions acquired from the trigger.

Definition at line 112 of file SCR_ScenarioFrameworkTriggerCountdownDisplay.c.

Member Data Documentation

◆ m_bTriggerConditionsStatus

bool SCR_ScenarioFrameworkTriggerCountdownDisplay::m_bTriggerConditionsStatus
protected

◆ m_fActivationCountdownTimer

float SCR_ScenarioFrameworkTriggerCountdownDisplay::m_fActivationCountdownTimer
protected

◆ m_fMinimumPlayersNeededPercentage

float SCR_ScenarioFrameworkTriggerCountdownDisplay::m_fMinimumPlayersNeededPercentage
protected

◆ m_fTempTimeSlice

float SCR_ScenarioFrameworkTriggerCountdownDisplay::m_fTempTimeSlice
protected

◆ m_fTempWaitTime

float SCR_ScenarioFrameworkTriggerCountdownDisplay::m_fTempWaitTime
protected

◆ m_iPlayersCountByFaction

int SCR_ScenarioFrameworkTriggerCountdownDisplay::m_iPlayersCountByFaction
protected

◆ m_iPlayersCountByFactionInside

int SCR_ScenarioFrameworkTriggerCountdownDisplay::m_iPlayersCountByFactionInside
protected

◆ m_sPlayerActivationNotificationTitle

string SCR_ScenarioFrameworkTriggerCountdownDisplay::m_sPlayerActivationNotificationTitle
protected

◆ m_wCountdown

RichTextWidget SCR_ScenarioFrameworkTriggerCountdownDisplay::m_wCountdown
protected

◆ m_wCountdownOverlay

Widget SCR_ScenarioFrameworkTriggerCountdownDisplay::m_wCountdownOverlay
protected

◆ m_wFlavour

RichTextWidget SCR_ScenarioFrameworkTriggerCountdownDisplay::m_wFlavour
protected

◆ m_wInfoOverlay

Widget SCR_ScenarioFrameworkTriggerCountdownDisplay::m_wInfoOverlay
protected

The documentation for this class was generated from the following file: