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

Attribute for setting any flags enum property as custom title. More...

Inheritance diagram for SCR_BaseContainerCustomTitleFlags:
[legend]

Public Member Functions

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

Protected Attributes

TypeName m_EnumType
 
string m_PropertyName
 
string m_sFormat
 

Detailed Description

Attribute for setting any flags enum property as custom title.

[BaseContainerProps(), SCR_BaseContainerCustomTitleEnum(EEditorMode, "m_Modes")]
class TestConfigClass
{
[Attribute()]
protected EEditorMode m_Modes;
}
EEditorMode
Definition: EEditorMode.c:6
Attribute for setting any enum property as custom title.
Definition: Attributes.c:254

Constructor & Destructor Documentation

◆ SCR_BaseContainerCustomTitleFlags()

void SCR_BaseContainerCustomTitleFlags.SCR_BaseContainerCustomTitleFlags ( TypeName  enumType,
string  propertyName,
string  format = "%1" 
)

Member Function Documentation

◆ _WB_GetCustomTitle()

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

Member Data Documentation

◆ m_EnumType

TypeName SCR_BaseContainerCustomTitleFlags.m_EnumType
protected

◆ m_PropertyName

string SCR_BaseContainerCustomTitleFlags.m_PropertyName
protected

◆ m_sFormat

string SCR_BaseContainerCustomTitleFlags.m_sFormat
protected

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