DayZ 1.24
Loading...
Searching...
No Matches
WorkbenchPluginAttribute Class Reference
Inheritance diagram for WorkbenchPluginAttribute:
[legend]
Collaboration diagram for WorkbenchPluginAttribute:
[legend]

Private Member Functions

void WorkbenchPluginAttribute (string name, string description="", string shortcut="", string icon="", array< string > wbModules=null)
 

Private Attributes

string m_Name
 
string m_Icon
 
string m_Shortcut
 
string m_Description
 
ref array< stringm_WBModules
 

Detailed Description

Attribute for Workbench plugin definition: name - ui name in Script Tools menu description - tooltip shortcut - shortcut in simple text form e.g. "ctrl+g" icon - relative path to icon file (32x32 png) wbModules - list of strings representing Workbench modules where this tool should be avalaible (e.g. {"ResourceManager", "ScriptEditor"}). Leave null or empty array for any module.

Definition at line 128 of file workbenchApi.c.

Constructor & Destructor Documentation

◆ WorkbenchPluginAttribute()

void WorkbenchPluginAttribute::WorkbenchPluginAttribute ( string name,
string description = "",
string shortcut = "",
string icon = "",
array< string > wbModules = null )
inlineprivate

Definition at line 136 of file workbenchApi.c.

137 {
138 m_Name = name;
139 m_Icon = icon;
143 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
ref array< string > m_WBModules

References m_Description, m_Icon, m_Name, m_Shortcut, m_WBModules, and name.

Member Data Documentation

◆ m_Description

string WorkbenchPluginAttribute::m_Description
private

Definition at line 133 of file workbenchApi.c.

Referenced by WorkbenchPluginAttribute().

◆ m_Icon

string WorkbenchPluginAttribute::m_Icon
private

Definition at line 131 of file workbenchApi.c.

Referenced by WorkbenchPluginAttribute().

◆ m_Name

string WorkbenchPluginAttribute::m_Name
private

Definition at line 130 of file workbenchApi.c.

Referenced by WorkbenchPluginAttribute().

◆ m_Shortcut

string WorkbenchPluginAttribute::m_Shortcut
private

Definition at line 132 of file workbenchApi.c.

Referenced by WorkbenchPluginAttribute().

◆ m_WBModules

ref array<string> WorkbenchPluginAttribute::m_WBModules
private

Definition at line 134 of file workbenchApi.c.

Referenced by WorkbenchPluginAttribute().


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