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

allow to define multiple fields (string or ResourceName) in a translated text - up to 5 elements More...

Inheritance diagram for SCR_BaseContainerLocalizedTitleFields:
BaseContainerCustomTitle

Protected Member Functions

void SCR_BaseContainerLocalizedTitleFields (array< string > propertyNames, string format="%1")
override bool _WB_GetCustomTitle (BaseContainer source, out string title)

Protected Attributes

ref array< stringm_aPropertyNames
string m_sFormat

Detailed Description

allow to define multiple fields (string or ResourceName) in a translated text - up to 5 elements

[BaseContainerProps(), SCR_BaseContainerLocalizedTitleFields({ "m_sFirstName", "m_sLastName" }, "MY-Translation_NamePresentation")]
class TestConfigClass
{
protected string m_sFirstName;
protected string m_sLastName;
}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_BaseContainerLocalizedTitleFields(array< string > propertyNames, string format="%1")
Definition Attributes.c:178

Definition at line 170 of file Attributes.c.

Constructor & Destructor Documentation

◆ SCR_BaseContainerLocalizedTitleFields()

void SCR_BaseContainerLocalizedTitleFields::SCR_BaseContainerLocalizedTitleFields ( array< string > propertyNames,
string format = "%1" )
inlineprotected
Parameters
[in]propertyNames
[in]format

Definition at line 178 of file Attributes.c.

Member Function Documentation

◆ _WB_GetCustomTitle()

override bool SCR_BaseContainerLocalizedTitleFields::_WB_GetCustomTitle ( BaseContainer source,
out string title )
inlineprotected

Definition at line 185 of file Attributes.c.

Member Data Documentation

◆ m_aPropertyNames

ref array<string> SCR_BaseContainerLocalizedTitleFields::m_aPropertyNames
protected

Definition at line 172 of file Attributes.c.

◆ m_sFormat

string SCR_BaseContainerLocalizedTitleFields::m_sFormat
protected

Definition at line 173 of file Attributes.c.


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