Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GroupHelperUI Class Reference

Static Protected Member Functions

static string GetTranslatedGroupName (notnull SCR_AIGroup group)
static string GetTranslatedGroupNameAndRoleName (notnull SCR_AIGroup group)
static string GetRoleName (notnull SCR_AIGroup group)

Protected Attributes

const string CUSTOM_GROUP_NAME_FORMAT = "#AR-Player_Groups_CustomName_Format"

Detailed Description

Definition at line 1 of file SCR_GroupHelperUI.c.

Member Function Documentation

◆ GetRoleName()

string SCR_GroupHelperUI::GetRoleName ( notnull SCR_AIGroup group)
inlinestaticprotected
Parameters
[in]group
Returns
group role

Definition at line 42 of file SCR_GroupHelperUI.c.

◆ GetTranslatedGroupName()

string SCR_GroupHelperUI::GetTranslatedGroupName ( notnull SCR_AIGroup group)
inlinestaticprotected

This function can only be used in UI menu, where to change the language you need to close and open the shown menu, so it will be renewed.

Parameters
[in]group
Returns
custom name if is allowed and translated group name

Definition at line 9 of file SCR_GroupHelperUI.c.

◆ GetTranslatedGroupNameAndRoleName()

string SCR_GroupHelperUI::GetTranslatedGroupNameAndRoleName ( notnull SCR_AIGroup group)
inlinestaticprotected

This function can only be used in UI menu, where to change the language you need to close and open the shown menu, so it will be renewed.

Parameters
[in]group
Returns
custom name if is allowed and translated group name and group role

Definition at line 30 of file SCR_GroupHelperUI.c.

Member Data Documentation

◆ CUSTOM_GROUP_NAME_FORMAT

const string SCR_GroupHelperUI::CUSTOM_GROUP_NAME_FORMAT = "#AR-Player_Groups_CustomName_Format"
protected

Definition at line 3 of file SCR_GroupHelperUI.c.


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