Arma Reforger Script API
Loading...
Searching...
No Matches
BaseContainerCustomCheckIntTitleField Interface Reference

Attribute for setting a custom format if the given checkVar is equal to checkVarEqual. More...

Inheritance diagram for BaseContainerCustomCheckIntTitleField:

Public Member Functions

void BaseContainerCustomCheckIntTitleField (string checkVar, string conditionTrueText, string conditionFalseText, int checkVarEqual)
 
override bool _WB_GetCustomTitle (BaseContainer source, out string title)
 

Protected Attributes

string m_sCheckVar
 
string m_sConditionTrueText
 
string m_sConditionFalseText
 
int m_iCheckVarEqual
 

Detailed Description

Attribute for setting a custom format if the given checkVar is equal to checkVarEqual.

If condition met just shows default TitleField, if false it show default within given format

[BaseContainerProps(), BaseContainerCustomCheckIntTitleField("m_bEnabled", "Enabled test", "disabled test", 1)]
class TestConfigClass
{
[Attribute()]
protected bool m_bEnabled;
}
void BaseContainerCustomCheckIntTitleField(string checkVar, string conditionTrueText, string conditionFalseText, int checkVarEqual)
Definition Attributes.c:728

Constructor & Destructor Documentation

◆ BaseContainerCustomCheckIntTitleField()

void BaseContainerCustomCheckIntTitleField.BaseContainerCustomCheckIntTitleField ( string checkVar,
string conditionTrueText,
string conditionFalseText,
int checkVarEqual )

Member Function Documentation

◆ _WB_GetCustomTitle()

override bool BaseContainerCustomCheckIntTitleField._WB_GetCustomTitle ( BaseContainer source,
out string title )

Member Data Documentation

◆ m_iCheckVarEqual

int BaseContainerCustomCheckIntTitleField.m_iCheckVarEqual
protected

◆ m_sCheckVar

string BaseContainerCustomCheckIntTitleField.m_sCheckVar
protected

◆ m_sConditionFalseText

string BaseContainerCustomCheckIntTitleField.m_sConditionFalseText
protected

◆ m_sConditionTrueText

string BaseContainerCustomCheckIntTitleField.m_sConditionTrueText
protected

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