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

Public Member Functions

override SCR_EditableEntityBaseSlotUIComponent FindSlot (SCR_EditableEntityComponent entity, bool createIfNull=false)
 
override bool DeleteSlot (SCR_EditableEntityComponent entity, bool forced=false)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
void ApplyAutoEffect (SCR_EditableEntityComponent entity, SCR_EditableEntitySceneSlotUIComponent slot)
 
void OnMenuUpdate (float tDelta)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from SCR_EditableEntitySlotManagerUIComponent
EEditableEntityState GetForcedStates ()
 
SCR_EditableEntityBaseSlotUIComponent FindSlot (SCR_EditableEntityComponent entity, bool createIfNull=false)
 
bool DeleteSlot (SCR_EditableEntityComponent entity, bool forced=false)
 
void InsertSlot (SCR_EditableEntityComponent entity, SCR_EditableEntityBaseSlotUIComponent slot)
 
void InsertSlotExternal (SCR_EditableEntityComponent entity, SCR_EditableEntityBaseSlotUIComponent slot)
 
void ClearSlots ()
 
void InitSlotManager ()
 
override 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.
 
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 OnInputDeviceIsGamepad (bool isGamepad)
 
void OnEffect (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove)
 
void PlaceAttachedSlots (SCR_EditableEntityBaseSlotUIComponent entitySlot, vector position, float offset=32)
 Places the slot of the attached entites in an absolute mannear, with an offset to parent.
 
void OnMenuFocusLost ()
 
void OnMenuFocusGained ()
 
- Protected Member Functions inherited from SCR_EditableEntitySlotManagerUIComponent
SCR_EditableEntityBaseSlotUIComponent GetEntitySlot (Widget w)
 
- Protected Member Functions inherited from SCR_BaseEditorUIComponent
vector OnCancelDown ()
 
bool OnCancelUp ()
 
void OnCancelExpired ()
 
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

ref array< ref SCR_BaseEntitiesEditorUIEffectm_aEffects
 
ref array< ref SCR_EditableEntityUISlotSizem_aSlotSizes
 
ResourceName m_SlotPrefab
 
SCR_EditableEntityUIConfig m_EditableEntityUIConfig
 
ref map< EEditableEntityState, SCR_BaseEntitiesEditorUIEffectm_aEffectsMap = new map<EEditableEntityState, SCR_BaseEntitiesEditorUIEffect>()
 
WorkspaceWidget m_Workspace
 
InputManager m_InputManager
 
SCR_HoverEditableEntityFilter m_HoverManager
 
SCR_CursorEditorUIComponent m_CursorComponent
 
SCR_EditableEntityComponent m_EntityUnderCursor
 
SCR_MouseAreaEditorUIComponent m_MouseArea
 
SCR_MapEntity m_MapEntity
 
- Protected Attributes inherited from SCR_EditableEntitySlotManagerUIComponent
ref SCR_EditableEntityUIConfig m_EditableEntityUI
 
EEditableEntityState m_WhitelistedStates
 
EEditableEntityState m_BlacklistedStates
 
EEditableEntityState m_ForcedStates
 
bool m_bAddAllEntities
 
EEditableEntityState m_States
 
ref map< SCR_EditableEntityComponent, SCR_EditableEntityBaseSlotUIComponentm_mEntitySlots = new map<SCR_EditableEntityComponent, SCR_EditableEntityBaseSlotUIComponent>()
 
bool m_bInteractive
 
ref map< SCR_EntitiesEditorUIRule, ref SCR_EditableEntityUIRuleTrackerm_RuleTrackers
 
- 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

◆ ApplyAutoEffect()

void SCR_EntitiesEditorUIComponent.ApplyAutoEffect ( SCR_EditableEntityComponent  entity,
SCR_EditableEntitySceneSlotUIComponent  slot 
)
Parameters
[in]entity
[in]slot

◆ DeleteSlot()

override bool SCR_EntitiesEditorUIComponent.DeleteSlot ( SCR_EditableEntityComponent  entity,
bool  forced = false 
)
Parameters
[in]entity
[in]forced
Returns

Implements SCR_EditableEntitySlotManagerUIComponent.

◆ FindSlot()

override SCR_EditableEntityBaseSlotUIComponent SCR_EntitiesEditorUIComponent.FindSlot ( SCR_EditableEntityComponent  entity,
bool  createIfNull = false 
)
Parameters
[in]entity
[in]createIfNull
Returns

Implements SCR_EditableEntitySlotManagerUIComponent.

◆ HandlerAttachedScripted()

override void SCR_EntitiesEditorUIComponent.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 SCR_EditableEntitySlotManagerUIComponent.

◆ HandlerDeattached()

override void SCR_EntitiesEditorUIComponent.HandlerDeattached ( Widget  w)

◆ OnEffect()

void SCR_EntitiesEditorUIComponent.OnEffect ( EEditableEntityState  state,
set< SCR_EditableEntityComponent entitiesInsert,
set< SCR_EditableEntityComponent entitiesRemove 
)
protected

◆ OnInputDeviceIsGamepad()

void SCR_EntitiesEditorUIComponent.OnInputDeviceIsGamepad ( bool  isGamepad)
protected

◆ OnMenuFocusGained()

void SCR_EntitiesEditorUIComponent.OnMenuFocusGained ( )
protected

◆ OnMenuFocusLost()

void SCR_EntitiesEditorUIComponent.OnMenuFocusLost ( )
protected

◆ OnMenuUpdate()

void SCR_EntitiesEditorUIComponent.OnMenuUpdate ( float  tDelta)
Parameters
[in]tDelta

◆ OnMouseEnter()

override bool SCR_EntitiesEditorUIComponent.OnMouseEnter ( Widget  w,
int  x,
int  y 
)

◆ OnMouseLeave()

override bool SCR_EntitiesEditorUIComponent.OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)

◆ PlaceAttachedSlots()

void SCR_EntitiesEditorUIComponent.PlaceAttachedSlots ( SCR_EditableEntityBaseSlotUIComponent  entitySlot,
vector  position,
float  offset = 32 
)
protected

Places the slot of the attached entites in an absolute mannear, with an offset to parent.

Parameters
[in]entitySlotis the child (current) slot
[in]vectorposition of current slot
[in]offsetoffset to add to each slot

Member Data Documentation

◆ m_aEffects

ref array<ref SCR_BaseEntitiesEditorUIEffect> SCR_EntitiesEditorUIComponent.m_aEffects
protected

◆ m_aEffectsMap

ref map<EEditableEntityState, SCR_BaseEntitiesEditorUIEffect> SCR_EntitiesEditorUIComponent.m_aEffectsMap = new map<EEditableEntityState, SCR_BaseEntitiesEditorUIEffect>()
protected

◆ m_aSlotSizes

ref array<ref SCR_EditableEntityUISlotSize> SCR_EntitiesEditorUIComponent.m_aSlotSizes
protected

◆ m_CursorComponent

SCR_CursorEditorUIComponent SCR_EntitiesEditorUIComponent.m_CursorComponent
protected

◆ m_EditableEntityUIConfig

SCR_EditableEntityUIConfig SCR_EntitiesEditorUIComponent.m_EditableEntityUIConfig
protected

◆ m_EntityUnderCursor

SCR_EditableEntityComponent SCR_EntitiesEditorUIComponent.m_EntityUnderCursor
protected

◆ m_HoverManager

SCR_HoverEditableEntityFilter SCR_EntitiesEditorUIComponent.m_HoverManager
protected

◆ m_InputManager

InputManager SCR_EntitiesEditorUIComponent.m_InputManager
protected

◆ m_MapEntity

SCR_MapEntity SCR_EntitiesEditorUIComponent.m_MapEntity
protected

◆ m_MouseArea

SCR_MouseAreaEditorUIComponent SCR_EntitiesEditorUIComponent.m_MouseArea
protected

◆ m_SlotPrefab

ResourceName SCR_EntitiesEditorUIComponent.m_SlotPrefab
protected

◆ m_Workspace

WorkspaceWidget SCR_EntitiesEditorUIComponent.m_Workspace
protected

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