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

Public Member Functions

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

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 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

◆ ClearSlots()

void SCR_EditableEntitySlotManagerUIComponent.ClearSlots ( )

◆ DeleteSlot()

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

Implemented in SCR_EntitiesEditorUIComponent.

◆ FindSlot()

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

Implemented in SCR_EntitiesEditorUIComponent.

◆ GetEntitySlot()

SCR_EditableEntityBaseSlotUIComponent SCR_EditableEntitySlotManagerUIComponent.GetEntitySlot ( Widget  w)
protected

◆ GetForcedStates()

EEditableEntityState SCR_EditableEntitySlotManagerUIComponent.GetForcedStates ( )
Returns

◆ HandlerAttachedScripted()

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

Implemented in SCR_EntitiesEditorUIComponent.

◆ HandlerDeattached()

override void SCR_EditableEntitySlotManagerUIComponent.HandlerDeattached ( Widget  w)

◆ InitSlotManager()

void SCR_EditableEntitySlotManagerUIComponent.InitSlotManager ( )

◆ InsertSlot()

void SCR_EditableEntitySlotManagerUIComponent.InsertSlot ( SCR_EditableEntityComponent  entity,
SCR_EditableEntityBaseSlotUIComponent  slot 
)
Parameters
[in]entity
[in]slot

◆ InsertSlotExternal()

void SCR_EditableEntitySlotManagerUIComponent.InsertSlotExternal ( SCR_EditableEntityComponent  entity,
SCR_EditableEntityBaseSlotUIComponent  slot 
)
Parameters
[in]entity
[in]slot

◆ IsUnique()

override bool SCR_EditableEntitySlotManagerUIComponent.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.

To be overwritten by inherited classes.

Returns
True if unique

Implements MenuRootSubComponent.

Member Data Documentation

◆ m_bAddAllEntities

bool SCR_EditableEntitySlotManagerUIComponent.m_bAddAllEntities
protected

◆ m_bInteractive

bool SCR_EditableEntitySlotManagerUIComponent.m_bInteractive
protected

◆ m_BlacklistedStates

EEditableEntityState SCR_EditableEntitySlotManagerUIComponent.m_BlacklistedStates
protected

◆ m_EditableEntityUI

ref SCR_EditableEntityUIConfig SCR_EditableEntitySlotManagerUIComponent.m_EditableEntityUI
protected

◆ m_ForcedStates

EEditableEntityState SCR_EditableEntitySlotManagerUIComponent.m_ForcedStates
protected

◆ m_mEntitySlots

ref map<SCR_EditableEntityComponent, SCR_EditableEntityBaseSlotUIComponent> SCR_EditableEntitySlotManagerUIComponent.m_mEntitySlots = new map<SCR_EditableEntityComponent, SCR_EditableEntityBaseSlotUIComponent>()
protected

◆ m_RuleTrackers

ref map<SCR_EntitiesEditorUIRule, ref SCR_EditableEntityUIRuleTracker> SCR_EditableEntitySlotManagerUIComponent.m_RuleTrackers
protected

◆ m_States

EEditableEntityState SCR_EditableEntitySlotManagerUIComponent.m_States
protected

◆ m_WhitelistedStates

EEditableEntityState SCR_EditableEntitySlotManagerUIComponent.m_WhitelistedStates
protected

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