Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_BaseContainerCustomTitleField Interface Reference

Attribute for setting any string property as custom title. More...

Inheritance diagram for SCR_BaseContainerCustomTitleField:
[legend]

Public Member Functions

void SCR_BaseContainerCustomTitleField (string propertyName, string format="%1")
 
override bool _WB_GetCustomTitle (BaseContainer source, out string title)
 

Protected Attributes

string m_sPropertyName
 
string m_sFormat
 

Detailed Description

Attribute for setting any string property as custom title.

[BaseContainerProps(), SCR_BaseContainerCustomTitleField("m_sDisplayName", "Title is %1")]
class TestConfigClass
{
[Attribute()]
protected string m_sDisplayName;
}
Attribute for setting any string property as custom title.
Definition: Attributes.c:44

Constructor & Destructor Documentation

◆ SCR_BaseContainerCustomTitleField()

void SCR_BaseContainerCustomTitleField.SCR_BaseContainerCustomTitleField ( string  propertyName,
string  format = "%1" 
)

Member Function Documentation

◆ _WB_GetCustomTitle()

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

Member Data Documentation

◆ m_sFormat

string SCR_BaseContainerCustomTitleField.m_sFormat
protected

◆ m_sPropertyName

string SCR_BaseContainerCustomTitleField.m_sPropertyName
protected

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