Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_MainMenuNewsToast Interface Reference
Inheritance diagram for SCR_MainMenuNewsToast:
SCR_ScriptedWidgetComponent

Public Member Functions

override void HandlerAttached (Widget w)
 
bool IsHovered ()
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

void Init ()
 
void OnMoreInfo ()
 
void OnCommStatusCheckFinished (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime)
 

Protected Attributes

TextWidget m_wTitle
 
TextWidget m_wDescription
 
SCR_InputButtonComponent m_MoreInfoButton
 
string m_sMoreInfoLink
 
bool m_bIsHovered
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const string LINK_FALLBACK = "https://reforger.armaplatform.com/news"
 
const string WIDGET_NAME_TITLE = "m_wTitle"
 
const string WIDGET_NAME_DESC = "m_wDescription"
 
const string WIDGET_NAME_BUTTON = "m_wButton"
 

Additional Inherited Members

- 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
 

Member Function Documentation

◆ HandlerAttached()

override void SCR_MainMenuNewsToast.HandlerAttached ( Widget w)

◆ Init()

void SCR_MainMenuNewsToast.Init ( )
protected

◆ IsHovered()

bool SCR_MainMenuNewsToast.IsHovered ( )

◆ OnCommStatusCheckFinished()

void SCR_MainMenuNewsToast.OnCommStatusCheckFinished ( SCR_ECommStatus status,
float responseTime,
float lastSuccessTime,
float lastFailTime )
protected

◆ OnMoreInfo()

void SCR_MainMenuNewsToast.OnMoreInfo ( )
protected

◆ OnMouseEnter()

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

◆ OnMouseLeave()

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

Member Data Documentation

◆ LINK_FALLBACK

const string SCR_MainMenuNewsToast.LINK_FALLBACK = "https://reforger.armaplatform.com/news"
staticprotected

◆ m_bIsHovered

bool SCR_MainMenuNewsToast.m_bIsHovered
protected

◆ m_MoreInfoButton

SCR_InputButtonComponent SCR_MainMenuNewsToast.m_MoreInfoButton
protected

◆ m_sMoreInfoLink

string SCR_MainMenuNewsToast.m_sMoreInfoLink
protected

◆ m_wDescription

TextWidget SCR_MainMenuNewsToast.m_wDescription
protected

◆ m_wTitle

TextWidget SCR_MainMenuNewsToast.m_wTitle
protected

◆ WIDGET_NAME_BUTTON

const string SCR_MainMenuNewsToast.WIDGET_NAME_BUTTON = "m_wButton"
staticprotected

◆ WIDGET_NAME_DESC

const string SCR_MainMenuNewsToast.WIDGET_NAME_DESC = "m_wDescription"
staticprotected

◆ WIDGET_NAME_TITLE

const string SCR_MainMenuNewsToast.WIDGET_NAME_TITLE = "m_wTitle"
staticprotected

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