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

Public Member Functions

override void HandlerAttached (Widget w)
 
ScriptInvokerBool GetOnFocusChange ()
 
void SetGalleryFocused (bool focused)
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
bool GetFocused ()
 
void EnablePagingInputListeners (bool enable)
 
int AddItem (SCR_BasePlayerLoadout loadout, bool enabled=true)
 
override void ShowPagingButtons (bool animate=true)
 
Widget GetContentRoot ()
 
void SetSelected (SCR_BasePlayerLoadout loadout)
 
override void ClearAll ()
 
SCR_LoadoutButton GetButtonForLoadout (SCR_BasePlayerLoadout loadout)
 
ScriptInvoker GetOnLoadoutClicked ()
 
ScriptInvoker GetOnLoadoutHovered ()
 
OnLoadoutFocusLostInvoker GetOnLoadoutFocusLost ()
 
- Public Member Functions inherited from SCR_GalleryComponent
override void HandlerAttached (Widget w)
 
void ShowPagingButtons (bool animate=true)
 
void OnItemFocused (Widget w)
 
void OnCustomLeft ()
 
void OnCustomRight ()
 
void OnNavigationLeft ()
 
void OnNavigationRight ()
 
void SetFocusedItem (int index, bool force=false)
 
int GetWidgets (out array< Widget > widgets)
 
Widget AddItem ()
 
int AddItem (Widget widget)
 
void ClearAll ()
 
void RemoveItem (int item)
 
void SetCurrentItem (int i, bool animate=false)
 

Protected Member Functions

void OnLoadoutClicked (notnull SCR_LoadoutButton loadoutBtn)
 
void OnLoadoutHovered (notnull Widget btn)
 
void OnLoadoutFocusLost (notnull Widget btn)
 
void OnLoadoutMouseLeave (notnull Widget btn)
 
- Protected Member Functions inherited from SCR_GalleryComponent
void OnInputDeviceIsGamepad (bool isGamepad)
 
void UpdatePagingButtons ()
 
void SetupHints (int count, bool animate=true)
 
void CreateWidgets (int count)
 
Widget CreateWidget ()
 
void SetAnimationRate ()
 
void OnNextItem ()
 
void OnPreviousItem ()
 
void ShowTiles (int startingIndex, bool animate=true)
 

Protected Attributes

ResourceName m_sLoadoutButton
 
ref set< SCR_LoadoutButtonm_aLoadoutButtons = new set<SCR_LoadoutButton>()
 
ref ScriptInvoker< SCR_LoadoutButtonm_OnLoadoutClicked
 
ref ScriptInvoker< SCR_BasePlayerLoadoutm_OnLoadoutHovered
 
ref OnLoadoutFocusLostInvoker m_OnLoadoutFocusLost
 
ref ScriptInvokerBool m_OnFocusChange = new ScriptInvokerBool()
 
bool m_bFocused
 
SCR_LoadoutButton m_SelectedButton
 
- Protected Attributes inherited from SCR_GalleryComponent
int m_iInitialItemCount
 
int m_iSelectedItem
 
int m_iCountShownItems
 
bool m_bMovePerPage
 
float m_fSpacing
 
ResourceName m_sItemLayout
 
string m_sActionLeft
 
string m_sActionRight
 
bool m_bShowPagingHints
 
bool m_bCycleMode
 
float m_fAnimationTime
 
bool m_bShowNavigationArrows
 
string m_sHintName
 
string m_sContentName
 
ref array< Widget > m_aWidgets = {}
 
SCR_SelectionHintComponent m_Hint
 
SCR_PagingButtonComponent m_PagingLeft
 
SCR_PagingButtonComponent m_PagingRight
 
Widget m_wContentRoot
 
Widget m_wRoot
 
float m_fAnimationRate = SCR_WLibComponentBase.START_ANIMATION_RATE
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_GalleryComponent
static SCR_GalleryComponent GetGalleryComponent (string name, Widget parent, bool searchAllChildren=true)
 Static method to easily find component by providing name and parent.
 

Member Function Documentation

◆ AddItem()

int SCR_LoadoutGallery.AddItem ( SCR_BasePlayerLoadout  loadout,
bool  enabled = true 
)

◆ ClearAll()

override void SCR_LoadoutGallery.ClearAll ( )

Implements SCR_GalleryComponent.

◆ EnablePagingInputListeners()

void SCR_LoadoutGallery.EnablePagingInputListeners ( bool  enable)

◆ GetButtonForLoadout()

SCR_LoadoutButton SCR_LoadoutGallery.GetButtonForLoadout ( SCR_BasePlayerLoadout  loadout)

◆ GetContentRoot()

Widget SCR_LoadoutGallery.GetContentRoot ( )

◆ GetFocused()

bool SCR_LoadoutGallery.GetFocused ( )

◆ GetOnFocusChange()

ScriptInvokerBool SCR_LoadoutGallery.GetOnFocusChange ( )

◆ GetOnLoadoutClicked()

ScriptInvoker SCR_LoadoutGallery.GetOnLoadoutClicked ( )

◆ GetOnLoadoutFocusLost()

OnLoadoutFocusLostInvoker SCR_LoadoutGallery.GetOnLoadoutFocusLost ( )

◆ GetOnLoadoutHovered()

ScriptInvoker SCR_LoadoutGallery.GetOnLoadoutHovered ( )

◆ HandlerAttached()

override void SCR_LoadoutGallery.HandlerAttached ( Widget  w)

Implements SCR_GalleryComponent.

◆ OnFocus()

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

◆ OnFocusLost()

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

◆ OnLoadoutClicked()

void SCR_LoadoutGallery.OnLoadoutClicked ( notnull SCR_LoadoutButton  loadoutBtn)
protected

◆ OnLoadoutFocusLost()

void SCR_LoadoutGallery.OnLoadoutFocusLost ( notnull Widget  btn)
protected

◆ OnLoadoutHovered()

void SCR_LoadoutGallery.OnLoadoutHovered ( notnull Widget  btn)
protected

◆ OnLoadoutMouseLeave()

void SCR_LoadoutGallery.OnLoadoutMouseLeave ( notnull Widget  btn)
protected

◆ SetGalleryFocused()

void SCR_LoadoutGallery.SetGalleryFocused ( bool  focused)

◆ SetSelected()

void SCR_LoadoutGallery.SetSelected ( SCR_BasePlayerLoadout  loadout)

◆ ShowPagingButtons()

override void SCR_LoadoutGallery.ShowPagingButtons ( bool  animate = true)

Implements SCR_GalleryComponent.

Member Data Documentation

◆ m_aLoadoutButtons

ref set<SCR_LoadoutButton> SCR_LoadoutGallery.m_aLoadoutButtons = new set<SCR_LoadoutButton>()
protected

◆ m_bFocused

bool SCR_LoadoutGallery.m_bFocused
protected

◆ m_OnFocusChange

ref ScriptInvokerBool SCR_LoadoutGallery.m_OnFocusChange = new ScriptInvokerBool()
protected

◆ m_OnLoadoutClicked

ref ScriptInvoker<SCR_LoadoutButton> SCR_LoadoutGallery.m_OnLoadoutClicked
protected

◆ m_OnLoadoutFocusLost

ref OnLoadoutFocusLostInvoker SCR_LoadoutGallery.m_OnLoadoutFocusLost
protected

◆ m_OnLoadoutHovered

ref ScriptInvoker<SCR_BasePlayerLoadout> SCR_LoadoutGallery.m_OnLoadoutHovered
protected

◆ m_SelectedButton

SCR_LoadoutButton SCR_LoadoutGallery.m_SelectedButton
protected

◆ m_sLoadoutButton

ResourceName SCR_LoadoutGallery.m_sLoadoutButton
protected

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