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

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

Inheritance diagram for BaseContainerCustomDoubleCheckIntResourceNameTitleField:
BaseContainerCustomTitle

Protected Member Functions

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

Protected Attributes

string m_sCheckVar
string m_sPropertyName
string m_sFormatTrue
string m_sFormatFalse
float m_iCheckVarEqual
bool m_bFileNameOnly

Detailed Description

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

[BaseContainerProps(), BaseContainerCustomDoubleCheckResourceNameTitleField("m_bEnabled", "m_sPrefabResourceName", 0, "%1", "(Disabled) %1", true)]
class TestConfigClass
{
protected bool m_bEnabled;
protected ResourceName m_sPrefabResourceName;
}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_FieldOfViewSettings Attribute

Definition at line 676 of file Attributes.c.

Constructor & Destructor Documentation

◆ BaseContainerCustomDoubleCheckIntResourceNameTitleField()

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

Definition at line 686 of file Attributes.c.

Member Function Documentation

◆ _WB_GetCustomTitle()

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

Definition at line 697 of file Attributes.c.

Member Data Documentation

◆ m_bFileNameOnly

bool BaseContainerCustomDoubleCheckIntResourceNameTitleField::m_bFileNameOnly
protected

Definition at line 683 of file Attributes.c.

◆ m_iCheckVarEqual

float BaseContainerCustomDoubleCheckIntResourceNameTitleField::m_iCheckVarEqual
protected

Definition at line 682 of file Attributes.c.

◆ m_sCheckVar

string BaseContainerCustomDoubleCheckIntResourceNameTitleField::m_sCheckVar
protected

Definition at line 678 of file Attributes.c.

◆ m_sFormatFalse

string BaseContainerCustomDoubleCheckIntResourceNameTitleField::m_sFormatFalse
protected

Definition at line 681 of file Attributes.c.

◆ m_sFormatTrue

string BaseContainerCustomDoubleCheckIntResourceNameTitleField::m_sFormatTrue
protected

Definition at line 680 of file Attributes.c.

◆ m_sPropertyName

string BaseContainerCustomDoubleCheckIntResourceNameTitleField::m_sPropertyName
protected

Definition at line 679 of file Attributes.c.


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