Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MessageDialogContent.c
Go to the documentation of this file.
1
5{
6 [Attribute("Message")]
7 protected string m_sMessage;
8
10
11 //------------------------------------------------------------------------------------------
12 override void HandlerAttached(Widget w)
13 {
14 super.HandlerAttached(w);
15
16 m_wMessage = TextWidget.Cast(w.FindAnyWidget(m_sMessage));
17 }
18
19 //------------------------------------------------------------------------------------------
20 void SetMessage(string message)
21 {
22 if (m_wMessage)
23 m_wMessage.SetText(message);
24 }
25
26 //------------------------------------------------------------------------------------------
27 string GetMessage()
28 {
29 if (!m_wMessage)
30 return "";
31
32 return m_wMessage.GetText();
33 }
34}
override void HandlerAttached(Widget w)
SCR_FieldOfViewSettings Attribute