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

Public Member Functions

ScriptInvoker GetEventOnButtonClick ()
 
ScriptInvoker GetEventOnNameChanged ()
 
ScriptInvoker GetEventOnNameEditStart ()
 
ScriptInvoker GetEventOnNameEditLeave ()
 
ScriptInvoker GetEventOnFocus ()
 
ScriptInvoker GetEventOnFocusLost ()
 
ScriptInvoker GetEventOnLoad ()
 
ScriptInvoker GetEventOnOverride ()
 
ScriptInvoker GetEventOnDelete ()
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
override bool OnDoubleClick (Widget w, int x, int y, int button)
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
void StartEditName ()
 Show editbox instead of name to edit name string.
 
SCR_WorkshopAddonPreset GetPreset ()
 
void SetPreset (SCR_WorkshopAddonPreset preset)
 
void UpdateWidgets ()
 
void ShowWarning (bool show)
 
void ShowModCount (int count)
 
void ShowDefaultName ()
 
string GetName ()
 
void SetSelected (bool selected)
 
bool GetSelected ()
 
- Public Member Functions inherited from SCR_WLibComponentBase
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnFocus (Widget w, int x, int y)
 
void SetHoverSound (string soundHover)
 
void SetClickedSound (string soundClicked)
 
string GetHoverSound ()
 
string GetClickedSound ()
 
void SetEnabled (bool enabled, bool animate=true)
 
void SetVisible (bool visible, bool animate=true)
 
bool IsEnabled ()
 
void SetMouseOverToFocus (bool mouseOverToFocus)
 
void SetDisabledOpacity (float newDisabledOpacity)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

void InvokeEventOnButtonClick ()
 
void InvokeEventOnNameChanged (string arg0)
 
void InvokeEventOnNameEditStart ()
 
void InvokeEventOnNameEditLeave ()
 
void InvokeEventOnFocus ()
 
void InvokeEventOnFocusLost ()
 
void InvokeEventOnLoad ()
 
void InvokeEventOnOverride ()
 
void InvokeEventOnDelete ()
 
void ToggleSelected ()
 Toggles the current selection.
 
void ShowEditWidget (bool edit)
 
void RemoveEditActions ()
 
void OnEditNameConfirm ()
 
void OnEditNameCancel ()
 
void ShowButtons (bool show)
 
string DefaultName ()
 Type default prefab name based on count of current addons.
 
void OnInputDeviceChange (EInputDeviceType oldDevice, EInputDeviceType newDevice)
 
- Protected Member Functions inherited from SCR_WLibComponentBase
void OnEnabled (bool animate)
 
void OnDisabled (bool animate)
 
bool IsChildWidget (Widget parent, Widget child)
 
void SetAnimationRate ()
 
void PlaySound (string sound)
 

Protected Attributes

ref Color m_cSelectedColor
 
ref Color m_cDefaultColor
 
ref SCR_AddonLinePresetWidgets m_Widgets = new SCR_AddonLinePresetWidgets()
 
SCR_WorkshopAddonPreset m_Preset
 
bool m_bSelected
 
bool m_bIsEdit
 
bool m_bIsFocused
 
SCR_ModularButtonComponent m_ButtonComponent
 
EInputDeviceType m_eInputDeviceType
 
ref ScriptInvoker< SCR_AddonLinePresetComponent, string > Event_OnNameChanged
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnNameEditStart
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnNameEditLeave
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnFocus
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnFocusLost
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnLoad
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnOverride
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnDelete
 
ref ScriptInvoker< SCR_AddonLinePresetComponentEvent_OnButtonClick
 
- Protected Attributes inherited from SCR_WLibComponentBase
string m_sSoundHovered
 
string m_sSoundClicked
 
float m_fAnimationTime
 
bool m_bMouseOverToFocus
 
float m_fDisabledOpacity
 
float m_fAnimationRate
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const string STR_DEFAULT_NAME = "Preset "
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_WLibComponentBase
static bool SetTexture (ImageWidget widget, ResourceName texture, string image="")
 
- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 
- Static Public Attributes inherited from SCR_WLibComponentBase
static const float START_ANIMATION_RATE = 10001
 
static const float START_ANIMATION_PERIOD = 250
 

Member Function Documentation

◆ DefaultName()

string SCR_AddonLinePresetComponent.DefaultName ( )
protected

Type default prefab name based on count of current addons.

◆ GetEventOnButtonClick()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnButtonClick ( )

◆ GetEventOnDelete()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnDelete ( )

◆ GetEventOnFocus()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnFocus ( )

◆ GetEventOnFocusLost()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnFocusLost ( )

◆ GetEventOnLoad()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnLoad ( )

◆ GetEventOnNameChanged()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnNameChanged ( )

◆ GetEventOnNameEditLeave()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnNameEditLeave ( )

◆ GetEventOnNameEditStart()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnNameEditStart ( )

◆ GetEventOnOverride()

ScriptInvoker SCR_AddonLinePresetComponent.GetEventOnOverride ( )

◆ GetName()

string SCR_AddonLinePresetComponent.GetName ( )

◆ GetPreset()

SCR_WorkshopAddonPreset SCR_AddonLinePresetComponent.GetPreset ( )

◆ GetSelected()

bool SCR_AddonLinePresetComponent.GetSelected ( )

◆ HandlerAttached()

override void SCR_AddonLinePresetComponent.HandlerAttached ( Widget  w)

Implements SCR_WLibComponentBase.

◆ HandlerDeattached()

override void SCR_AddonLinePresetComponent.HandlerDeattached ( Widget  w)

◆ InvokeEventOnButtonClick()

void SCR_AddonLinePresetComponent.InvokeEventOnButtonClick ( )
protected

◆ InvokeEventOnDelete()

void SCR_AddonLinePresetComponent.InvokeEventOnDelete ( )
protected

◆ InvokeEventOnFocus()

void SCR_AddonLinePresetComponent.InvokeEventOnFocus ( )
protected

◆ InvokeEventOnFocusLost()

void SCR_AddonLinePresetComponent.InvokeEventOnFocusLost ( )
protected

◆ InvokeEventOnLoad()

void SCR_AddonLinePresetComponent.InvokeEventOnLoad ( )
protected

◆ InvokeEventOnNameChanged()

void SCR_AddonLinePresetComponent.InvokeEventOnNameChanged ( string  arg0)
protected

◆ InvokeEventOnNameEditLeave()

void SCR_AddonLinePresetComponent.InvokeEventOnNameEditLeave ( )
protected

◆ InvokeEventOnNameEditStart()

void SCR_AddonLinePresetComponent.InvokeEventOnNameEditStart ( )
protected

◆ InvokeEventOnOverride()

void SCR_AddonLinePresetComponent.InvokeEventOnOverride ( )
protected

◆ OnDoubleClick()

override bool SCR_AddonLinePresetComponent.OnDoubleClick ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnEditNameCancel()

void SCR_AddonLinePresetComponent.OnEditNameCancel ( )
protected

◆ OnEditNameConfirm()

void SCR_AddonLinePresetComponent.OnEditNameConfirm ( )
protected

◆ OnFocus()

override bool SCR_AddonLinePresetComponent.OnFocus ( Widget  w,
int  x,
int  y 
)

Implements SCR_WLibComponentBase.

◆ OnFocusLost()

override bool SCR_AddonLinePresetComponent.OnFocusLost ( Widget  w,
int  x,
int  y 
)

◆ OnInputDeviceChange()

void SCR_AddonLinePresetComponent.OnInputDeviceChange ( EInputDeviceType  oldDevice,
EInputDeviceType  newDevice 
)
protected

◆ RemoveEditActions()

void SCR_AddonLinePresetComponent.RemoveEditActions ( )
protected

◆ SetPreset()

void SCR_AddonLinePresetComponent.SetPreset ( SCR_WorkshopAddonPreset  preset)

◆ SetSelected()

void SCR_AddonLinePresetComponent.SetSelected ( bool  selected)

◆ ShowButtons()

void SCR_AddonLinePresetComponent.ShowButtons ( bool  show)
protected

◆ ShowDefaultName()

void SCR_AddonLinePresetComponent.ShowDefaultName ( )

◆ ShowEditWidget()

void SCR_AddonLinePresetComponent.ShowEditWidget ( bool  edit)
protected

◆ ShowModCount()

void SCR_AddonLinePresetComponent.ShowModCount ( int  count)

◆ ShowWarning()

void SCR_AddonLinePresetComponent.ShowWarning ( bool  show)

◆ StartEditName()

void SCR_AddonLinePresetComponent.StartEditName ( )

Show editbox instead of name to edit name string.

◆ ToggleSelected()

void SCR_AddonLinePresetComponent.ToggleSelected ( )
protected

Toggles the current selection.

◆ UpdateWidgets()

void SCR_AddonLinePresetComponent.UpdateWidgets ( )

Member Data Documentation

◆ Event_OnButtonClick

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnButtonClick
protected

◆ Event_OnDelete

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnDelete
protected

◆ Event_OnFocus

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnFocus
protected

◆ Event_OnFocusLost

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnFocusLost
protected

◆ Event_OnLoad

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnLoad
protected

◆ Event_OnNameChanged

ref ScriptInvoker<SCR_AddonLinePresetComponent, string> SCR_AddonLinePresetComponent.Event_OnNameChanged
protected

◆ Event_OnNameEditLeave

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnNameEditLeave
protected

◆ Event_OnNameEditStart

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnNameEditStart
protected

◆ Event_OnOverride

ref ScriptInvoker<SCR_AddonLinePresetComponent> SCR_AddonLinePresetComponent.Event_OnOverride
protected

◆ m_bIsEdit

bool SCR_AddonLinePresetComponent.m_bIsEdit
protected

◆ m_bIsFocused

bool SCR_AddonLinePresetComponent.m_bIsFocused
protected

◆ m_bSelected

bool SCR_AddonLinePresetComponent.m_bSelected
protected

◆ m_ButtonComponent

SCR_ModularButtonComponent SCR_AddonLinePresetComponent.m_ButtonComponent
protected

◆ m_cDefaultColor

ref Color SCR_AddonLinePresetComponent.m_cDefaultColor
protected

◆ m_cSelectedColor

ref Color SCR_AddonLinePresetComponent.m_cSelectedColor
protected

◆ m_eInputDeviceType

EInputDeviceType SCR_AddonLinePresetComponent.m_eInputDeviceType
protected

◆ m_Preset

SCR_WorkshopAddonPreset SCR_AddonLinePresetComponent.m_Preset
protected

◆ m_Widgets

ref SCR_AddonLinePresetWidgets SCR_AddonLinePresetComponent.m_Widgets = new SCR_AddonLinePresetWidgets()
protected

◆ STR_DEFAULT_NAME

const string SCR_AddonLinePresetComponent.STR_DEFAULT_NAME = "Preset "
staticprotected

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