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

Public Member Functions

override void OnMenuShow ()
 
override void OnMenuUpdate (float tDelta)
 
override void OnMenuOpen ()
 
- Public Member Functions inherited from DialogUI
override void OnMenuOpen ()
 
override void OnMenuInit ()
 
override void OnMenuClose ()
 
override void OnMenuUpdate (float tDelta)
 
void SetTitle (string text)
 
string GetTitle ()
 
void SetMessage (string text)
 
string GetMessage ()
 
void SetConfirmText (string text)
 
void SetCancelText (string text)
 
void SetType (EDialogType type)
 
void SetTitleIcon (ResourceName image, string imageName)
 Set title icons with custom image.
 
void SetTitleIcon (string imageName)
 Set title icon by image name from image set in dialog data.
 
void CloseAnimated ()
 animates dialog closure
 
SCR_DynamicFooterComponent GetFooterComponent ()
 
- Public Member Functions inherited from ChimeraMenuBase
override void OnMenuInit ()
 
override void OnMenuUpdate (float tDelta)
 
override void OnMenuOpen ()
 
override void OnMenuOpened ()
 
override void OnMenuClose ()
 
override void OnMenuFocusGained ()
 
override void OnMenuFocusLost ()
 
override void OnMenuShow ()
 
override void OnMenuHide ()
 

Static Public Member Functions

static FeedbackDialogUI OpenFeedbackDialog ()
 
static bool CanSendFeedback ()
 
static void SendFeedback (string content, int type, int category)
 
static void ClearFeedback ()
 
- Static Public Member Functions inherited from ChimeraMenuBase
static ChimeraMenuBase CurrentChimeraMenu ()
 
static ChimeraMenuBase GetOwnerMenu (Widget w)
 Returns parent menu of a widget.
 

Public Attributes

SCR_InputButtonComponent m_CreateAccount
 
- Public Attributes inherited from DialogUI
ref ScriptInvoker m_OnConfirm = new ScriptInvoker()
 
ref ScriptInvoker m_OnCancel = new ScriptInvoker()
 
- Public Attributes inherited from ChimeraMenuBase
ref ScriptInvoker m_OnTextEditContextChange = new ScriptInvoker
 
ref ScriptInvoker m_OnUpdate = new ScriptInvoker
 

Static Public Attributes

static const int TYPE_NAMES_COUNT = 2
 Available types of feedback.
 
static const string TYPE_TAGS [TYPE_NAMES_COUNT]
 
static const LocalizedString TYPE_NAMES [TYPE_NAMES_COUNT]
 
static const int CATEGORY_NAMES_COUNT = 8
 Available categories of feedback.
 
static const string CATEGORY_TAGS [CATEGORY_NAMES_COUNT]
 
static const LocalizedString CATEGORY_NAMES [CATEGORY_NAMES_COUNT]
 

Protected Member Functions

override void OnConfirm ()
 
void OnWriteModeLeave (string text)
 
void OnTextChange (string text)
 
- Protected Member Functions inherited from DialogUI
void OnConfirm ()
 
void OnCancel ()
 
void SetDialogType (EDialogType type)
 Set color based on dialog type.
 

Protected Attributes

SCR_EditBoxComponent m_EditBox
 
SCR_ComboBoxComponent m_Type
 
SCR_ComboBoxComponent m_Category
 
bool m_bShouldEnableConfirmButton
 
- Protected Attributes inherited from DialogUI
SCR_DialogDataComponent m_DialogData
 
Widget m_wCancelButton
 
Widget m_wConfirmButton
 
SCR_InputButtonComponent m_Cancel
 
SCR_InputButtonComponent m_Confirm
 
ImageWidget m_wImgTopLine
 
ImageWidget m_wImgTitleIcon
 
TextWidget m_wTitle
 
TextWidget m_wContent
 
float m_fAnimationRate = UIConstants.FADE_RATE_FAST
 
EDialogType m_iDialogType
 
SCR_DynamicFooterComponent m_DynamicFooter
 
- Protected Attributes inherited from ChimeraMenuBase
bool m_bTextEditActive = false
 

Static Protected Attributes

static ref FeedbackData m_LastFeedback
 
static float m_fLastFeedbackTime = -float.MAX
 
static const float FEEDBACK_SEND_TIMEOUT = 5000
 
- Static Protected Attributes inherited from ChimeraMenuBase
const string INPUT_CONTEXT_EDIT = "MenuTextEditContext"
 
static ChimeraMenuBase m_ThisMenu
 

Member Function Documentation

◆ CanSendFeedback()

static bool FeedbackDialogUI.CanSendFeedback ( )
static

◆ ClearFeedback()

static void FeedbackDialogUI.ClearFeedback ( )
static

◆ OnConfirm()

override void FeedbackDialogUI.OnConfirm ( )
protected

Implements DialogUI.

◆ OnMenuOpen()

override void FeedbackDialogUI.OnMenuOpen ( )

Implements DialogUI.

◆ OnMenuShow()

override void FeedbackDialogUI.OnMenuShow ( )

Implements ChimeraMenuBase.

◆ OnMenuUpdate()

override void FeedbackDialogUI.OnMenuUpdate ( float  tDelta)

Implements DialogUI.

◆ OnTextChange()

void FeedbackDialogUI.OnTextChange ( string  text)
protected

◆ OnWriteModeLeave()

void FeedbackDialogUI.OnWriteModeLeave ( string  text)
protected

◆ OpenFeedbackDialog()

static FeedbackDialogUI FeedbackDialogUI.OpenFeedbackDialog ( )
static

◆ SendFeedback()

static void FeedbackDialogUI.SendFeedback ( string  content,
int  type,
int  category 
)
static

Member Data Documentation

◆ CATEGORY_NAMES

const LocalizedString FeedbackDialogUI.CATEGORY_NAMES[CATEGORY_NAMES_COUNT]
static
Initial value:
=
{
"#AR-Feedback_General",
"#AR-Feedback_UI",
"#AR-MainMenu_Editor_Name",
"#AR-Feedback_Character",
"#AR-Feedback_Vehicles",
"#AR-Feedback_Weapons",
"#AR-MainMenu_Multiplayer_Name",
"#AR-MainMenu_Conflict_Name"
}

◆ CATEGORY_NAMES_COUNT

const int FeedbackDialogUI.CATEGORY_NAMES_COUNT = 8
static

Available categories of feedback.

◆ CATEGORY_TAGS

const string FeedbackDialogUI.CATEGORY_TAGS[CATEGORY_NAMES_COUNT]
static
Initial value:
=
{
"general",
"ui",
"editor",
"character",
"vehicles",
"weapons",
"multiplayer",
"conflict"
}

◆ FEEDBACK_SEND_TIMEOUT

const float FeedbackDialogUI.FEEDBACK_SEND_TIMEOUT = 5000
staticprotected

◆ m_bShouldEnableConfirmButton

bool FeedbackDialogUI.m_bShouldEnableConfirmButton
protected

◆ m_Category

SCR_ComboBoxComponent FeedbackDialogUI.m_Category
protected

◆ m_CreateAccount

SCR_InputButtonComponent FeedbackDialogUI.m_CreateAccount

◆ m_EditBox

SCR_EditBoxComponent FeedbackDialogUI.m_EditBox
protected

◆ m_fLastFeedbackTime

float FeedbackDialogUI.m_fLastFeedbackTime = -float.MAX
staticprotected

◆ m_LastFeedback

ref FeedbackData FeedbackDialogUI.m_LastFeedback
staticprotected

◆ m_Type

SCR_ComboBoxComponent FeedbackDialogUI.m_Type
protected

◆ TYPE_NAMES

const LocalizedString FeedbackDialogUI.TYPE_NAMES[TYPE_NAMES_COUNT]
static
Initial value:
=
{
"#AR-MainMenu_Feedback_Name",
"#AR-Feedback_Issue"
}

◆ TYPE_NAMES_COUNT

const int FeedbackDialogUI.TYPE_NAMES_COUNT = 2
static

Available types of feedback.

◆ TYPE_TAGS

const string FeedbackDialogUI.TYPE_TAGS[TYPE_NAMES_COUNT]
static
Initial value:
=
{
"feedback",
"issue"
}

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