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

Protected Member Functions

void OnMenuUpdate (float tDelta)
void OnLayerButtonPressed (SCR_ButtonBaseComponent button)
void OnCompositionLayerChanged (SCR_EditableEntityComponent currentLayer, SCR_EditableEntityComponent prevLayer)
void OnInputDeviceIsGamepad (bool isGamepad)
void RefreshLayerUI ()
bool CheckIfSelectedLayerHierarchyChanged (SCR_EditableEntityComponent entity)
void OnParentEntityVisibleChanged (SCR_EditableEntityComponent entity, SCR_EditableEntityComponent parentEntity, SCR_EditableEntityComponent parentEntityPrev)
void OnEntityStateChanged (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove)
void CreateLayerElement (SCR_EditableEntityComponent layerEntity, bool isLast)
void CreateNextLayerIndicator ()
void CreateMoreLayersIndicator ()
void CreateWorldRootLayer ()
void SetVisible (bool show)
void ClearLayerElements ()
 Clears the array.
void OnEditorExitLayerButton ()
override void HandlerAttachedScripted (Widget w)
override void HandlerDeattached (Widget w)

Protected Attributes

string m_sSfxStartLayerEditing
string m_sSfxStopLayerEditing
string m_sSfxGoLayerDeeper
string m_sSfxGoLayerBack
string m_sLayerElementHolder
Widget m_LayerElementHolder
string m_sExitLayerButton
string m_sLayerEditorOverlayName
Widget m_LayerEditorOverlay
string m_sParentWidgetName
Widget m_parentWidget
SCR_EditableEntitySlotManagerUIComponent m_SlotManager
SCR_EditableEntityComponent m_SelectedLayer
ref array< SCR_EditableEntityComponentm_aCurrentSelectedLayers = {}
SCR_LayersEditorComponent m_LayersManager
InputManager m_InputManager
SCR_MenuEditorComponent m_EditorMenuManager
SCR_StatesEditorComponent m_StatesManager
SCR_HoverEditableEntityFilter m_HoverFilter
int m_iLayersShownAfterRoot
int m_iLayersShownBeforeCurrent
ResourceName m_LayerElementPrefab
ResourceName m_LayerElementButtonPrefab
ResourceName m_LayerWorldPrefab
ResourceName m_LayerWorldButtonPrefab
ResourceName m_NextLayerIndicatorPrefab
ResourceName m_MoreLayersIndicatorPrefab
bool m_bUsesGamepad
ref map< SCR_ButtonBaseComponent, SCR_EditableEntityComponentm_mButtonReferences = new map<SCR_ButtonBaseComponent, SCR_EditableEntityComponent>()

Detailed Description

Creates the elements for the layer Ui menu If a Layer is selected this menu will show which layer is selected, which layers are before the selected layer and if the selected layer has any children. The player is able to use the menu to switch between layers

Definition at line 4 of file SCR_LayersEditorUIComponent.c.

Member Function Documentation

◆ CheckIfSelectedLayerHierarchyChanged()

bool SCR_LayersEditorUIComponent::CheckIfSelectedLayerHierarchyChanged ( SCR_EditableEntityComponent entity)
inlineprotected

Check an entity that was changed was within the current selected Hierarchy

Parameters
[in]entity
Returns

Definition at line 200 of file SCR_LayersEditorUIComponent.c.

◆ ClearLayerElements()

void SCR_LayersEditorUIComponent::ClearLayerElements ( )
inlineprotected

Clears the array.

Definition at line 414 of file SCR_LayersEditorUIComponent.c.

◆ CreateLayerElement()

void SCR_LayersEditorUIComponent::CreateLayerElement ( SCR_EditableEntityComponent layerEntity,
bool isLast )
inlineprotected

Definition at line 282 of file SCR_LayersEditorUIComponent.c.

◆ CreateMoreLayersIndicator()

void SCR_LayersEditorUIComponent::CreateMoreLayersIndicator ( )
inlineprotected

Definition at line 346 of file SCR_LayersEditorUIComponent.c.

◆ CreateNextLayerIndicator()

void SCR_LayersEditorUIComponent::CreateNextLayerIndicator ( )
inlineprotected

Definition at line 338 of file SCR_LayersEditorUIComponent.c.

◆ CreateWorldRootLayer()

void SCR_LayersEditorUIComponent::CreateWorldRootLayer ( )
inlineprotected

Definition at line 356 of file SCR_LayersEditorUIComponent.c.

◆ HandlerAttachedScripted()

override void SCR_LayersEditorUIComponent::HandlerAttachedScripted ( Widget w)
inlineprotected

Definition at line 442 of file SCR_LayersEditorUIComponent.c.

◆ HandlerDeattached()

override void SCR_LayersEditorUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 520 of file SCR_LayersEditorUIComponent.c.

◆ OnCompositionLayerChanged()

void SCR_LayersEditorUIComponent::OnCompositionLayerChanged ( SCR_EditableEntityComponent currentLayer,
SCR_EditableEntityComponent prevLayer )
inlineprotected

Definition at line 104 of file SCR_LayersEditorUIComponent.c.

◆ OnEditorExitLayerButton()

void SCR_LayersEditorUIComponent::OnEditorExitLayerButton ( )
inlineprotected

Definition at line 433 of file SCR_LayersEditorUIComponent.c.

◆ OnEntityStateChanged()

void SCR_LayersEditorUIComponent::OnEntityStateChanged ( EEditableEntityState state,
set< SCR_EditableEntityComponent > entitiesInsert,
set< SCR_EditableEntityComponent > entitiesRemove )
inlineprotected

Definition at line 247 of file SCR_LayersEditorUIComponent.c.

◆ OnInputDeviceIsGamepad()

void SCR_LayersEditorUIComponent::OnInputDeviceIsGamepad ( bool isGamepad)
inlineprotected

Definition at line 136 of file SCR_LayersEditorUIComponent.c.

◆ OnLayerButtonPressed()

void SCR_LayersEditorUIComponent::OnLayerButtonPressed ( SCR_ButtonBaseComponent button)
inlineprotected

Definition at line 91 of file SCR_LayersEditorUIComponent.c.

◆ OnMenuUpdate()

void SCR_LayersEditorUIComponent::OnMenuUpdate ( float tDelta)
inlineprotected

Definition at line 83 of file SCR_LayersEditorUIComponent.c.

◆ OnParentEntityVisibleChanged()

void SCR_LayersEditorUIComponent::OnParentEntityVisibleChanged ( SCR_EditableEntityComponent entity,
SCR_EditableEntityComponent parentEntity,
SCR_EditableEntityComponent parentEntityPrev )
inlineprotected

Check if in Hierarchy, if true: Refresh UI

Parameters
[in]entity
[in]parentEntity
[in]parentEntityPrev

Definition at line 223 of file SCR_LayersEditorUIComponent.c.

◆ RefreshLayerUI()

void SCR_LayersEditorUIComponent::RefreshLayerUI ( )
inlineprotected

Definition at line 148 of file SCR_LayersEditorUIComponent.c.

◆ SetVisible()

void SCR_LayersEditorUIComponent::SetVisible ( bool show)
inlineprotected

Show/Hides Menu

Parameters
[in]show

Definition at line 393 of file SCR_LayersEditorUIComponent.c.

Member Data Documentation

◆ m_aCurrentSelectedLayers

ref array<SCR_EditableEntityComponent> SCR_LayersEditorUIComponent::m_aCurrentSelectedLayers = {}
protected

Definition at line 42 of file SCR_LayersEditorUIComponent.c.

◆ m_bUsesGamepad

bool SCR_LayersEditorUIComponent::m_bUsesGamepad
protected

Definition at line 76 of file SCR_LayersEditorUIComponent.c.

◆ m_EditorMenuManager

SCR_MenuEditorComponent SCR_LayersEditorUIComponent::m_EditorMenuManager
protected

Definition at line 45 of file SCR_LayersEditorUIComponent.c.

◆ m_HoverFilter

SCR_HoverEditableEntityFilter SCR_LayersEditorUIComponent::m_HoverFilter
protected

Definition at line 47 of file SCR_LayersEditorUIComponent.c.

◆ m_iLayersShownAfterRoot

int SCR_LayersEditorUIComponent::m_iLayersShownAfterRoot
protected

Definition at line 51 of file SCR_LayersEditorUIComponent.c.

◆ m_iLayersShownBeforeCurrent

int SCR_LayersEditorUIComponent::m_iLayersShownBeforeCurrent
protected

Definition at line 54 of file SCR_LayersEditorUIComponent.c.

◆ m_InputManager

InputManager SCR_LayersEditorUIComponent::m_InputManager
protected

Definition at line 44 of file SCR_LayersEditorUIComponent.c.

◆ m_LayerEditorOverlay

Widget SCR_LayersEditorUIComponent::m_LayerEditorOverlay
protected

Definition at line 31 of file SCR_LayersEditorUIComponent.c.

◆ m_LayerElementButtonPrefab

ResourceName SCR_LayersEditorUIComponent::m_LayerElementButtonPrefab
protected

Definition at line 61 of file SCR_LayersEditorUIComponent.c.

◆ m_LayerElementHolder

Widget SCR_LayersEditorUIComponent::m_LayerElementHolder
protected

Definition at line 23 of file SCR_LayersEditorUIComponent.c.

◆ m_LayerElementPrefab

ResourceName SCR_LayersEditorUIComponent::m_LayerElementPrefab
protected

Definition at line 58 of file SCR_LayersEditorUIComponent.c.

◆ m_LayersManager

SCR_LayersEditorComponent SCR_LayersEditorUIComponent::m_LayersManager
protected

Definition at line 43 of file SCR_LayersEditorUIComponent.c.

◆ m_LayerWorldButtonPrefab

ResourceName SCR_LayersEditorUIComponent::m_LayerWorldButtonPrefab
protected

Definition at line 67 of file SCR_LayersEditorUIComponent.c.

◆ m_LayerWorldPrefab

ResourceName SCR_LayersEditorUIComponent::m_LayerWorldPrefab
protected

Definition at line 64 of file SCR_LayersEditorUIComponent.c.

◆ m_mButtonReferences

ref map<SCR_ButtonBaseComponent, SCR_EditableEntityComponent> SCR_LayersEditorUIComponent::m_mButtonReferences = new map<SCR_ButtonBaseComponent, SCR_EditableEntityComponent>()
protected

Definition at line 78 of file SCR_LayersEditorUIComponent.c.

◆ m_MoreLayersIndicatorPrefab

ResourceName SCR_LayersEditorUIComponent::m_MoreLayersIndicatorPrefab
protected

Definition at line 73 of file SCR_LayersEditorUIComponent.c.

◆ m_NextLayerIndicatorPrefab

ResourceName SCR_LayersEditorUIComponent::m_NextLayerIndicatorPrefab
protected

Definition at line 70 of file SCR_LayersEditorUIComponent.c.

◆ m_parentWidget

Widget SCR_LayersEditorUIComponent::m_parentWidget
protected

Definition at line 36 of file SCR_LayersEditorUIComponent.c.

◆ m_SelectedLayer

SCR_EditableEntityComponent SCR_LayersEditorUIComponent::m_SelectedLayer
protected

Definition at line 41 of file SCR_LayersEditorUIComponent.c.

◆ m_sExitLayerButton

string SCR_LayersEditorUIComponent::m_sExitLayerButton
protected

Definition at line 26 of file SCR_LayersEditorUIComponent.c.

◆ m_sLayerEditorOverlayName

string SCR_LayersEditorUIComponent::m_sLayerEditorOverlayName
protected

Definition at line 29 of file SCR_LayersEditorUIComponent.c.

◆ m_sLayerElementHolder

string SCR_LayersEditorUIComponent::m_sLayerElementHolder
protected

Definition at line 21 of file SCR_LayersEditorUIComponent.c.

◆ m_SlotManager

SCR_EditableEntitySlotManagerUIComponent SCR_LayersEditorUIComponent::m_SlotManager
protected

Definition at line 38 of file SCR_LayersEditorUIComponent.c.

◆ m_sParentWidgetName

string SCR_LayersEditorUIComponent::m_sParentWidgetName
protected

Definition at line 34 of file SCR_LayersEditorUIComponent.c.

◆ m_sSfxGoLayerBack

string SCR_LayersEditorUIComponent::m_sSfxGoLayerBack
protected

Definition at line 17 of file SCR_LayersEditorUIComponent.c.

◆ m_sSfxGoLayerDeeper

string SCR_LayersEditorUIComponent::m_sSfxGoLayerDeeper
protected

Definition at line 14 of file SCR_LayersEditorUIComponent.c.

◆ m_sSfxStartLayerEditing

string SCR_LayersEditorUIComponent::m_sSfxStartLayerEditing
protected

Definition at line 8 of file SCR_LayersEditorUIComponent.c.

◆ m_sSfxStopLayerEditing

string SCR_LayersEditorUIComponent::m_sSfxStopLayerEditing
protected

Definition at line 11 of file SCR_LayersEditorUIComponent.c.

◆ m_StatesManager

SCR_StatesEditorComponent SCR_LayersEditorUIComponent::m_StatesManager
protected

Definition at line 46 of file SCR_LayersEditorUIComponent.c.


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