Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_MapEditorUIComponent Interface Reference
Inheritance diagram for SCR_MapEditorUIComponent:
[legend]

Public Member Functions

void ToggleMap (bool show, ResourceName mapConfigPrefab)
 
bool IsEditorMapOpen ()
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from MenuRootSubComponent
Widget GetWidget ()
 Get widget to which the component belongs to.
 
MenuRootBase GetMenu ()
 Get menu of which the widget is part of.
 
MenuRootComponent GetRootComponent ()
 Get root component of this subcomponent,.
 
void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Protected Member Functions

void OnMapInit (MapConfiguration config)
 
void OnMapOpen (MapConfiguration config)
 
void OnMapClose (MapConfiguration config)
 
bool IsConfigEditor (MapConfiguration config)
 
void OnEditorModeChange (SCR_EditorModeEntity newModeEntity, SCR_EditorModeEntity oldModeEntity)
 
void SetCameraIconColor (EEditorMode mode)
 
void OnEditorCameraCreate (SCR_ManualCamera editorCamera)
 
void OnMenuUpdate ()
 
- Protected Member Functions inherited from SCR_BaseEditorUIComponent
vector OnCancelDown ()
 
bool OnCancelUp ()
 
void OnCancelExpired ()
 
- Protected Member Functions inherited from MenuRootSubComponent
bool IsUnique ()
 Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
 

Protected Attributes

SCR_MapEntity m_MapEntity
 
InputManager m_InputManager
 
SCR_ManualCamera m_EditorCamera
 
SCR_EditorManagerCore m_EditorCore
 
SCR_EditorManagerEntity m_EditorManager
 
SCR_MapEditorComponent m_EditorMapManager
 
ref Color m_CameraIconColor = Color.White
 
Widget m_MapWidget
 
ResourceName m_EditorMapConfigPrefab
 
ref MapConfiguration m_MapConfigEditor
 
bool m_bIsFirstTimeOpened = true
 
- Protected Attributes inherited from SCR_BaseEditorUIComponent
vector m_vClickPosCancel
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_BaseEditorUIComponent
const int CANCEL_CLICK_MAX_DIS = 5
 
const int CANCEL_CLICK_MAX_TIME = 500
 

Member Function Documentation

◆ HandlerAttachedScripted()

override void SCR_MapEditorUIComponent.HandlerAttachedScripted ( Widget  w)

Event called when subcomponent is initialized.

Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.

Parameters
Widget

Implements MenuRootSubComponent.

◆ HandlerDeattached()

override void SCR_MapEditorUIComponent.HandlerDeattached ( Widget  w)

Implements MenuRootSubComponent.

◆ IsConfigEditor()

bool SCR_MapEditorUIComponent.IsConfigEditor ( MapConfiguration  config)
protected

◆ IsEditorMapOpen()

bool SCR_MapEditorUIComponent.IsEditorMapOpen ( )
Returns

◆ OnEditorCameraCreate()

void SCR_MapEditorUIComponent.OnEditorCameraCreate ( SCR_ManualCamera  editorCamera)
protected

◆ OnEditorModeChange()

void SCR_MapEditorUIComponent.OnEditorModeChange ( SCR_EditorModeEntity  newModeEntity,
SCR_EditorModeEntity  oldModeEntity 
)
protected

◆ OnMapClose()

void SCR_MapEditorUIComponent.OnMapClose ( MapConfiguration  config)
protected

◆ OnMapInit()

void SCR_MapEditorUIComponent.OnMapInit ( MapConfiguration  config)
protected

◆ OnMapOpen()

void SCR_MapEditorUIComponent.OnMapOpen ( MapConfiguration  config)
protected

◆ OnMenuUpdate()

void SCR_MapEditorUIComponent.OnMenuUpdate ( )
protected

◆ SetCameraIconColor()

void SCR_MapEditorUIComponent.SetCameraIconColor ( EEditorMode  mode)
protected

◆ ToggleMap()

void SCR_MapEditorUIComponent.ToggleMap ( bool  show,
ResourceName  mapConfigPrefab 
)
Parameters
[in]show
[in]mapConfigPrefab

Member Data Documentation

◆ m_bIsFirstTimeOpened

bool SCR_MapEditorUIComponent.m_bIsFirstTimeOpened = true
protected

◆ m_CameraIconColor

ref Color SCR_MapEditorUIComponent.m_CameraIconColor = Color.White
protected

◆ m_EditorCamera

SCR_ManualCamera SCR_MapEditorUIComponent.m_EditorCamera
protected

◆ m_EditorCore

SCR_EditorManagerCore SCR_MapEditorUIComponent.m_EditorCore
protected

◆ m_EditorManager

SCR_EditorManagerEntity SCR_MapEditorUIComponent.m_EditorManager
protected

◆ m_EditorMapConfigPrefab

ResourceName SCR_MapEditorUIComponent.m_EditorMapConfigPrefab
protected

◆ m_EditorMapManager

SCR_MapEditorComponent SCR_MapEditorUIComponent.m_EditorMapManager
protected

◆ m_InputManager

InputManager SCR_MapEditorUIComponent.m_InputManager
protected

◆ m_MapConfigEditor

ref MapConfiguration SCR_MapEditorUIComponent.m_MapConfigEditor
protected

◆ m_MapEntity

SCR_MapEntity SCR_MapEditorUIComponent.m_MapEntity
protected

◆ m_MapWidget

Widget SCR_MapEditorUIComponent.m_MapWidget
protected

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