Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_InfoDisplayExtended.c File Reference

Go to the source code of this file.

Enumerations

enum  EShowGUI
 

Functions

enum EShowGUI Attribute ("1", UIWidgets.CheckBox, "Toggles ON/OFF info display.")] protected bool m_bIsEnabled
 
void SetEnabled (bool isEnabled)
 
protected bool DisplayStartDrawInit (IEntity owner)
 
protected void DisplayStartDraw (IEntity owner)
 
protected void DisplayStopDraw (IEntity owner)
 
protected void DisplayInit (IEntity owner)
 
protected void DisplayUpdate (IEntity owner, float timeSlice)
 
protected void DisplayControlledEntityChanged (IEntity from, IEntity to)
 
protected void DisplayConsciousnessChanged (bool conscious, bool init=false)
 
protected void DisplayOnSuspended ()
 Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM. More...
 
protected void DisplayOnResumed ()
 
private override event void OnStartDraw (IEntity owner)
 
private void OnControlledEntityChanged (IEntity from, IEntity to)
 Runs every time the controlled entity has been changed. More...
 
private void OnADSSwitched (BaseWeaponComponent weapon, bool inADS)
 
private void OnLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState)
 Will be called when the life state of the character changes. More...
 
private void OnPauseMenuOpen ()
 
private void OnPauseMenuClose ()
 
private void OnEditorInit (SCR_EditorManagerEntity editorManager)
 
private void OnEditorOpen ()
 
private void OnEditorClose ()
 
private void UpdateVisibility ()
 
override void Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR)
 
private override event void OnStopDraw (IEntity owner)
 
private override event void OnInit (IEntity owner)
 
private override event void UpdateValues (IEntity owner, float timeSlice)
 

Variables

 IN_ADS = 1
 
 IN_1ST_PERSON = 2
 
 IN_3RD_PERSON = 4
 
 IN_PAUSE_MENU = 8
 
 WITHOUT_ENTITY = 16
 
 WHILE_UNCONSCIOUS = 32
 
 IN_EDITOR = 64
 
private EShowGUI m_eShow
 
protected SCR_PlayerController m_PlayerController
 
protected SCR_CharacterControllerComponent m_CharacterController
 
protected SCR_CharacterCameraHandlerComponent m_CameraHandler
 
protected MenuManager m_MenuManager
 
protected EventHandlerManagerComponent m_EventHandlerManager
 
protected SCR_EditorManagerEntity m_EditorManager
 
protected bool m_bAttachedToPlayerController
 
protected bool m_bInThirdPerson
 
protected bool m_bInADS
 
protected bool m_bIsUnconscious
 
protected bool m_bInPauseMenu
 
protected bool m_bInEditor
 
protected bool m_bCanShow
 
protected bool m_bShowInAllCameras = true
 

Enumeration Type Documentation

◆ EShowGUI

enum EShowGUI

Definition at line 4 of file SCR_InfoDisplayExtended.c.

Function Documentation

◆ Attribute()

enum EShowGUI Attribute ( "1"  ,
UIWidgets.  CheckBox,
"Toggles ON/OFF info display."   
)

◆ DisplayConsciousnessChanged()

protected void DisplayConsciousnessChanged ( bool  conscious,
bool  init = false 
)

◆ DisplayControlledEntityChanged()

protected void DisplayControlledEntityChanged ( IEntity  from,
IEntity  to 
)

Definition at line 739 of file SCR_VonDisplay.c.

◆ DisplayInit()

protected void DisplayInit ( IEntity  owner)

◆ DisplayOnResumed()

protected void DisplayOnResumed ( )

Definition at line 99 of file SCR_InfoDisplayExtended.c.

◆ DisplayOnSuspended()

protected void DisplayOnSuspended ( )

Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.

Definition at line 89 of file SCR_InfoDisplayExtended.c.

◆ DisplayStartDraw()

protected void DisplayStartDraw ( IEntity  owner)

Definition at line 730 of file SCR_VonDisplay.c.

◆ DisplayStartDrawInit()

protected bool DisplayStartDrawInit ( IEntity  owner)

Definition at line 64 of file SCR_InfoDisplayExtended.c.

◆ DisplayStopDraw()

protected void DisplayStopDraw ( IEntity  owner)

Definition at line 752 of file SCR_VonDisplay.c.

◆ DisplayUpdate()

protected void DisplayUpdate ( IEntity  owner,
float  timeSlice 
)

Definition at line 618 of file SCR_VonDisplay.c.

◆ OnADSSwitched()

private void OnADSSwitched ( BaseWeaponComponent  weapon,
bool  inADS 
)

Definition at line 288 of file SCR_InfoDisplayExtended.c.

◆ OnEditorClose()

private void OnEditorClose ( )

Definition at line 372 of file SCR_InfoDisplayExtended.c.

◆ OnEditorInit()

private void OnEditorInit ( SCR_EditorManagerEntity  editorManager)

Definition at line 338 of file SCR_InfoDisplayExtended.c.

◆ OnEditorOpen()

private void OnEditorOpen ( )

Definition at line 360 of file SCR_InfoDisplayExtended.c.

◆ OnPauseMenuClose()

private void OnPauseMenuClose ( )

Definition at line 326 of file SCR_InfoDisplayExtended.c.

◆ OnPauseMenuOpen()

private void OnPauseMenuOpen ( )

Definition at line 314 of file SCR_InfoDisplayExtended.c.

◆ OnStartDraw()

private override event void OnStartDraw ( IEntity  owner)

Definition at line 110 of file SCR_InfoDisplayExtended.c.

◆ OnStopDraw()

private override event void OnStopDraw ( IEntity  owner)

Definition at line 438 of file SCR_InfoDisplayExtended.c.

◆ SetEnabled()

void SetEnabled ( bool  isEnabled)

Definition at line 56 of file SCR_InfoDisplayExtended.c.

◆ Show()

override void Show ( bool  show,
float  speed = UIConstants.FADE_RATE_INSTANT,
EAnimationCurve  curve = EAnimationCurve.LINEAR 
)

Definition at line 422 of file SCR_InfoDisplayExtended.c.

◆ UpdateValues()

private override event void UpdateValues ( IEntity  owner,
float  timeSlice 
)

Definition at line 499 of file SCR_InfoDisplayExtended.c.

◆ UpdateVisibility()

private void UpdateVisibility ( )

Definition at line 384 of file SCR_InfoDisplayExtended.c.

Variable Documentation

◆ IN_1ST_PERSON

IN_1ST_PERSON = 2

Definition at line 3 of file SCR_InfoDisplayExtended.c.

◆ IN_3RD_PERSON

IN_3RD_PERSON = 4

Definition at line 4 of file SCR_InfoDisplayExtended.c.

◆ IN_ADS

IN_ADS = 1

Definition at line 2 of file SCR_InfoDisplayExtended.c.

◆ IN_EDITOR

IN_EDITOR = 64

Definition at line 8 of file SCR_InfoDisplayExtended.c.

◆ IN_PAUSE_MENU

IN_PAUSE_MENU = 8

Definition at line 5 of file SCR_InfoDisplayExtended.c.

◆ m_bAttachedToPlayerController

protected bool m_bAttachedToPlayerController

Definition at line 31 of file SCR_InfoDisplayExtended.c.

◆ m_bCanShow

protected bool m_bCanShow

Definition at line 38 of file SCR_InfoDisplayExtended.c.

◆ m_bInADS

protected bool m_bInADS

Definition at line 34 of file SCR_InfoDisplayExtended.c.

◆ m_bInEditor

protected bool m_bInEditor

Definition at line 37 of file SCR_InfoDisplayExtended.c.

◆ m_bInPauseMenu

protected bool m_bInPauseMenu

Definition at line 36 of file SCR_InfoDisplayExtended.c.

◆ m_bInThirdPerson

protected bool m_bInThirdPerson

Definition at line 33 of file SCR_InfoDisplayExtended.c.

◆ m_bIsUnconscious

protected bool m_bIsUnconscious

Definition at line 35 of file SCR_InfoDisplayExtended.c.

◆ m_bShowInAllCameras

protected bool m_bShowInAllCameras = true

Definition at line 39 of file SCR_InfoDisplayExtended.c.

◆ m_CameraHandler

protected SCR_CharacterCameraHandlerComponent m_CameraHandler

Definition at line 26 of file SCR_InfoDisplayExtended.c.

◆ m_CharacterController

protected SCR_CharacterControllerComponent m_CharacterController

Definition at line 25 of file SCR_InfoDisplayExtended.c.

◆ m_EditorManager

protected SCR_EditorManagerEntity m_EditorManager

Definition at line 29 of file SCR_InfoDisplayExtended.c.

◆ m_eShow

private EShowGUI m_eShow

Definition at line 22 of file SCR_InfoDisplayExtended.c.

◆ m_EventHandlerManager

protected EventHandlerManagerComponent m_EventHandlerManager

Definition at line 28 of file SCR_InfoDisplayExtended.c.

◆ m_MenuManager

protected MenuManager m_MenuManager

Definition at line 27 of file SCR_InfoDisplayExtended.c.

◆ m_PlayerController

protected SCR_PlayerController m_PlayerController

Definition at line 24 of file SCR_InfoDisplayExtended.c.

◆ WHILE_UNCONSCIOUS

WHILE_UNCONSCIOUS = 32

Definition at line 7 of file SCR_InfoDisplayExtended.c.

◆ WITHOUT_ENTITY

WITHOUT_ENTITY = 16

Definition at line 6 of file SCR_InfoDisplayExtended.c.