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

Attribute for setting a custom format if the given checkVar is equal to checkVarEqual. If true sets propertyName as title with format else just shows propertyName as title. More...

Inheritance diagram for BaseContainerCustomDoubleCheckTitleField:
BaseContainerCustomTitle

Protected Member Functions

void BaseContainerCustomDoubleCheckTitleField (string checkVar, string propertyName, string checkVarEqual="1", string formatTrue="%1", string formatFalse="EXAMPLE FORMAT - %1", bool checkForLocalization=true)
override bool _WB_GetCustomTitle (BaseContainer source, out string title)

Protected Attributes

string m_sCheckVar
string m_sPropertyName
string m_sFormatTrue
string m_sFormatFalse
string m_sCheckVarEqual
bool m_bCheckForLocalization

Detailed Description

Attribute for setting a custom format if the given checkVar is equal to checkVarEqual. If true sets propertyName as title with format else just shows propertyName as title.

[BaseContainerProps(), BaseContainerCustomDoubleCheckTitleField("m_bEnabled", "m_sDisplayName", "Test", "%1", "(Disabled) %1")]
class TestConfigClass
{
protected bool m_bEnabled;
protected string m_sDisplayName;
}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void BaseContainerCustomDoubleCheckTitleField(string checkVar, string propertyName, string checkVarEqual="1", string formatTrue="%1", string formatFalse="EXAMPLE FORMAT - %1", bool checkForLocalization=true)
Definition Attributes.c:621
SCR_FieldOfViewSettings Attribute

Definition at line 611 of file Attributes.c.

Constructor & Destructor Documentation

◆ BaseContainerCustomDoubleCheckTitleField()

void BaseContainerCustomDoubleCheckTitleField::BaseContainerCustomDoubleCheckTitleField ( string checkVar,
string propertyName,
string checkVarEqual = "1",
string formatTrue = "%1",
string formatFalse = "EXAMPLE FORMAT - %1",
bool checkForLocalization = true )
inlineprotected

Definition at line 621 of file Attributes.c.

Member Function Documentation

◆ _WB_GetCustomTitle()

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

Definition at line 632 of file Attributes.c.

Member Data Documentation

◆ m_bCheckForLocalization

bool BaseContainerCustomDoubleCheckTitleField::m_bCheckForLocalization
protected

Definition at line 618 of file Attributes.c.

◆ m_sCheckVar

string BaseContainerCustomDoubleCheckTitleField::m_sCheckVar
protected

Definition at line 613 of file Attributes.c.

◆ m_sCheckVarEqual

string BaseContainerCustomDoubleCheckTitleField::m_sCheckVarEqual
protected

Definition at line 617 of file Attributes.c.

◆ m_sFormatFalse

string BaseContainerCustomDoubleCheckTitleField::m_sFormatFalse
protected

Definition at line 616 of file Attributes.c.

◆ m_sFormatTrue

string BaseContainerCustomDoubleCheckTitleField::m_sFormatTrue
protected

Definition at line 615 of file Attributes.c.

◆ m_sPropertyName

string BaseContainerCustomDoubleCheckTitleField::m_sPropertyName
protected

Definition at line 614 of file Attributes.c.


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