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

Go to the source code of this file.

Data Structures

class  SCR_BinocularsComponentClass
 

Functions

private void SetZoomedView (bool state)
 
override void ModeSwitch (EGadgetMode mode, IEntity charOwner)
 
override void ModeClear (EGadgetMode mode)
 
override void ToggleFocused (bool enable)
 
override EGadgetType GetType ()
 
override bool CanBeRaised ()
 
override bool IsUsingADSControls ()
 
override bool IsVisibleEquipped ()
 
void ~SCR_BinocularsComponent ()
 

Variables

SCR_BinocularsComponentClass s_OnBinocToggled = new ScriptInvoker()
 
protected Widget m_RootWidget = null
 
protected SCR_2DOpticsComponent m_Optic
 

Function Documentation

◆ CanBeRaised()

override bool CanBeRaised ( )

Definition at line 94 of file SCR_BinocularsComponent.c.

◆ GetType()

override EGadgetType GetType ( )

Definition at line 88 of file SCR_BinocularsComponent.c.

◆ IsUsingADSControls()

override bool IsUsingADSControls ( )

Definition at line 100 of file SCR_BinocularsComponent.c.

◆ IsVisibleEquipped()

override bool IsVisibleEquipped ( )

Definition at line 106 of file SCR_BinocularsComponent.c.

◆ ModeClear()

override void ModeClear ( EGadgetMode  mode)

Definition at line 63 of file SCR_BinocularsComponent.c.

◆ ModeSwitch()

override void ModeSwitch ( EGadgetMode  mode,
IEntity  charOwner 
)

Definition at line 57 of file SCR_BinocularsComponent.c.

◆ SetZoomedView()

private void SetZoomedView ( bool  state)

Switch between zoomed view

Parameters
[in]stateis desired state

Definition at line 27 of file SCR_BinocularsComponent.c.

◆ ToggleFocused()

override void ToggleFocused ( bool  enable)

Definition at line 80 of file SCR_BinocularsComponent.c.

◆ ~SCR_BinocularsComponent()

void ~SCR_BinocularsComponent ( )

Definition at line 113 of file SCR_BinocularsComponent.c.

Variable Documentation

◆ m_Optic

protected SCR_2DOpticsComponent m_Optic

Definition at line 15 of file SCR_BinocularsComponent.c.

◆ m_RootWidget

protected Widget m_RootWidget = null

Definition at line 10 of file SCR_BinocularsComponent.c.

◆ s_OnBinocToggled

SCR_BinocularsComponentClass s_OnBinocToggled = new ScriptInvoker()