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

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
override bool OnFocus (Widget w, int x, int y)
override bool OnFocusLost (Widget w, int x, int y)
void SetLoadout (SCR_BasePlayerLoadout loadout)
 Assign loadout associated with this button.
void SetPlayer (int pid)
 Set player id associated with this button and update the visuals.
void OnLeaderChanged (int groupId, int pid)
 Update visuals when group leader changes.
void SetIsLeader (bool leader)
int GetPlayerId ()
bool IsSelected ()
override void SetSelected (bool selected)
void SetPlayerName (string name)
SCR_BasePlayerLoadout GetLoadout ()
 return player loadout
SCR_EditableEntityUIInfo GetUIInfo ()

Protected Attributes

string m_sPlayerName
string m_sLeaderText
string m_sPlatformIconName
string m_sBadgeWidgetName
string m_sSuppliesLoadoutText
TextWidget m_wSuppliesLoadoutText
TextWidget m_wPlayerName
Widget m_wLeaderText
ImageWidget m_wPlatformIcon
SizeLayoutWidget m_wBadge
SCR_BasePlayerLoadout m_Loadout
int m_iPlayerId = -1
bool m_bIsSelected

Detailed Description

Definition at line 770 of file SCR_LoadoutRequestUIComponent.c.

Member Function Documentation

◆ GetLoadout()

SCR_BasePlayerLoadout SCR_LoadoutButton::GetLoadout ( )
inlineprotected

return player loadout

Definition at line 949 of file SCR_LoadoutRequestUIComponent.c.

◆ GetPlayerId()

int SCR_LoadoutButton::GetPlayerId ( )
inlineprotected

Definition at line 919 of file SCR_LoadoutRequestUIComponent.c.

◆ GetUIInfo()

SCR_EditableEntityUIInfo SCR_LoadoutButton::GetUIInfo ( )
inlineprotected
Returns

Definition at line 956 of file SCR_LoadoutRequestUIComponent.c.

◆ HandlerAttached()

override void SCR_LoadoutButton::HandlerAttached ( Widget w)
inlineprotected

Definition at line 799 of file SCR_LoadoutRequestUIComponent.c.

◆ HandlerDeattached()

override void SCR_LoadoutButton::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 815 of file SCR_LoadoutRequestUIComponent.c.

◆ IsSelected()

bool SCR_LoadoutButton::IsSelected ( )
inlineprotected

Definition at line 925 of file SCR_LoadoutRequestUIComponent.c.

◆ OnFocus()

override bool SCR_LoadoutButton::OnFocus ( Widget w,
int x,
int y )
inlineprotected

Definition at line 823 of file SCR_LoadoutRequestUIComponent.c.

◆ OnFocusLost()

override bool SCR_LoadoutButton::OnFocusLost ( Widget w,
int x,
int y )
inlineprotected

Definition at line 837 of file SCR_LoadoutRequestUIComponent.c.

◆ OnLeaderChanged()

void SCR_LoadoutButton::OnLeaderChanged ( int groupId,
int pid )
inlineprotected

Update visuals when group leader changes.

Definition at line 897 of file SCR_LoadoutRequestUIComponent.c.

◆ SetIsLeader()

void SCR_LoadoutButton::SetIsLeader ( bool leader)
inlineprotected

Definition at line 912 of file SCR_LoadoutRequestUIComponent.c.

◆ SetLoadout()

void SCR_LoadoutButton::SetLoadout ( SCR_BasePlayerLoadout loadout)
inlineprotected

Assign loadout associated with this button.

Definition at line 850 of file SCR_LoadoutRequestUIComponent.c.

◆ SetPlayer()

void SCR_LoadoutButton::SetPlayer ( int pid)
inlineprotected

Set player id associated with this button and update the visuals.

Definition at line 876 of file SCR_LoadoutRequestUIComponent.c.

◆ SetPlayerName()

void SCR_LoadoutButton::SetPlayerName ( string name)
inlineprotected

Definition at line 941 of file SCR_LoadoutRequestUIComponent.c.

◆ SetSelected()

override void SCR_LoadoutButton::SetSelected ( bool selected)
inlineprotected

Definition at line 931 of file SCR_LoadoutRequestUIComponent.c.

Member Data Documentation

◆ m_bIsSelected

bool SCR_LoadoutButton::m_bIsSelected
protected

Definition at line 796 of file SCR_LoadoutRequestUIComponent.c.

◆ m_iPlayerId

int SCR_LoadoutButton::m_iPlayerId = -1
protected

Definition at line 795 of file SCR_LoadoutRequestUIComponent.c.

◆ m_Loadout

SCR_BasePlayerLoadout SCR_LoadoutButton::m_Loadout
protected

Definition at line 794 of file SCR_LoadoutRequestUIComponent.c.

◆ m_sBadgeWidgetName

string SCR_LoadoutButton::m_sBadgeWidgetName
protected

Definition at line 782 of file SCR_LoadoutRequestUIComponent.c.

◆ m_sLeaderText

string SCR_LoadoutButton::m_sLeaderText
protected

Definition at line 776 of file SCR_LoadoutRequestUIComponent.c.

◆ m_sPlatformIconName

string SCR_LoadoutButton::m_sPlatformIconName
protected

Definition at line 779 of file SCR_LoadoutRequestUIComponent.c.

◆ m_sPlayerName

string SCR_LoadoutButton::m_sPlayerName
protected

Definition at line 773 of file SCR_LoadoutRequestUIComponent.c.

◆ m_sSuppliesLoadoutText

string SCR_LoadoutButton::m_sSuppliesLoadoutText
protected

Definition at line 785 of file SCR_LoadoutRequestUIComponent.c.

◆ m_wBadge

SizeLayoutWidget SCR_LoadoutButton::m_wBadge
protected

Definition at line 792 of file SCR_LoadoutRequestUIComponent.c.

◆ m_wLeaderText

Widget SCR_LoadoutButton::m_wLeaderText
protected

Definition at line 790 of file SCR_LoadoutRequestUIComponent.c.

◆ m_wPlatformIcon

ImageWidget SCR_LoadoutButton::m_wPlatformIcon
protected

Definition at line 791 of file SCR_LoadoutRequestUIComponent.c.

◆ m_wPlayerName

TextWidget SCR_LoadoutButton::m_wPlayerName
protected

Definition at line 789 of file SCR_LoadoutRequestUIComponent.c.

◆ m_wSuppliesLoadoutText

TextWidget SCR_LoadoutButton::m_wSuppliesLoadoutText
protected

Definition at line 787 of file SCR_LoadoutRequestUIComponent.c.


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