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

Go to the source code of this file.

Data Structures

class  SCR_MapGadgetComponentClass
 

Functions

SCR_MapGadgetComponentClass SCR_GadgetComponentClass Attribute ("0.3", UIWidgets.EditBox, desc:"seconds, delay before map gets activated giving time for the animation to be visible", params:"1 1000", category:"Map")] protected float m_fActivationDelay
 Map gadget component. More...
 
void SetMapMode (bool state)
 
protected void ToggleMapGadget (bool state)
 
protected void OnMapOpen (MapConfiguration config)
 
protected void OnMapClose (MapConfiguration config)
 
override void ModeSwitch (EGadgetMode mode, IEntity charOwner)
 
override void ModeClear (EGadgetMode mode)
 
override void ToggleFocused (bool enable)
 
override EGadgetType GetType ()
 
override void EOnInit (IEntity owner)
 

Variables

protected bool m_bIsMapOpen
 
protected bool m_bIsFirstTimeOpened = true
 
protected SCR_MapEntity m_MapEntity
 
protected SCR_FadeInOutEffect m_FadeInOutEffect
 

Function Documentation

◆ Attribute()

SCR_MapGadgetComponentClass SCR_GadgetComponentClass Attribute ( "0.3"  ,
UIWidgets.  EditBox,
desc:"  seconds,
delay before map gets activated giving time for the animation to be visible"  ,
params:"1 1000"  ,
category:"Map"   
)

Map gadget component.

◆ GetType()

override EGadgetType GetType ( )

Definition at line 161 of file SCR_MapGadgetComponent.c.

◆ ModeClear()

override void ModeClear ( EGadgetMode  mode)

Definition at line 133 of file SCR_MapGadgetComponent.c.

◆ ModeSwitch()

override void ModeSwitch ( EGadgetMode  mode,
IEntity  charOwner 
)

Definition at line 106 of file SCR_MapGadgetComponent.c.

◆ OnMapClose()

protected void OnMapClose ( MapConfiguration  config)

SCR_MapEntity event

Parameters
[in]config

Definition at line 96 of file SCR_MapGadgetComponent.c.

◆ OnMapOpen()

protected void OnMapOpen ( MapConfiguration  config)

SCR_MapEntity event

Parameters
[in]config

Definition at line 80 of file SCR_MapGadgetComponent.c.

◆ SetMapMode()

void SetMapMode ( bool  state)

Switch between map view

Parameters
[in]stateis desired state: true = open, false = close

Definition at line 20 of file SCR_MapGadgetComponent.c.

◆ ToggleFocused()

override void ToggleFocused ( bool  enable)

Definition at line 153 of file SCR_MapGadgetComponent.c.

◆ ToggleMapGadget()

protected void ToggleMapGadget ( bool  state)

Open/close map

Parameters
[in]stateis desired state: true = open, false = close

Definition at line 58 of file SCR_MapGadgetComponent.c.

Variable Documentation

◆ m_bIsFirstTimeOpened

protected bool m_bIsFirstTimeOpened = true

Definition at line 13 of file SCR_MapGadgetComponent.c.

◆ m_bIsMapOpen

protected bool m_bIsMapOpen

Definition at line 12 of file SCR_MapGadgetComponent.c.

◆ m_FadeInOutEffect

protected SCR_FadeInOutEffect m_FadeInOutEffect

Definition at line 15 of file SCR_MapGadgetComponent.c.

◆ m_MapEntity

protected SCR_MapEntity m_MapEntity

Definition at line 14 of file SCR_MapGadgetComponent.c.