6 [
Attribute(
"", UIWidgets.Object,
"Available commands")]
7 protected ref array<ref SCR_BaseRadialCommand> m_aCommands;
9 array<ref SCR_BaseRadialCommand> GetCommands()
20 [
Attribute(
"", UIWidgets.Object,
"Root category of the commanding radial menu")]
25 return m_RootCategory;
34 [
Attribute(
"", UIWidgets.EditBox,
"Name of the command used from SCR_PlayerCommandsConfig" )]
35 protected string m_sCommandName;
37 [
Attribute(
"", UIWidgets.EditBox,
"Name of the command that is displayed in the menu" )]
38 protected string m_sCommandDisplayText;
40 protected string m_sCommandCustomDisplayText;
43 string GetCommandName()
45 return m_sCommandName;
49 void SetCommandName(
string name)
51 m_sCommandName = name;
55 string GetCommandDisplayText()
57 return m_sCommandDisplayText;
61 string GetCommandCustomName()
63 return m_sCommandCustomDisplayText;
67 void SetCommandCustomName(
string customName)
69 m_sCommandCustomDisplayText = customName;
86 [
Attribute(
"", UIWidgets.EditBox,
"Name of the category that is displayed in the menu" )]
87 protected string m_sCategoryDisplayText;
89 [
Attribute(
"", UIWidgets.Object,
"Elements in the given category")]
90 protected ref array<ref SCR_PlayerCommandingMenuBaseElement> m_aElements;
93 protected bool m_bShowOnMap;
96 string GetCategoryDisplayText()
98 return m_sCategoryDisplayText;
102 void SetCategoryDisplayText(
string displayText)
104 m_sCategoryDisplayText = displayText;
108 array<ref SCR_PlayerCommandingMenuBaseElement> GetCategoryElements()
114 bool GetCanShowOnMap()
123 override bool _WB_GetCustomTitle(BaseContainer source, out
string title)
126 int index = source.GetVarIndex(
"m_sCommandName");
131 source.Get(
"m_sCommandName", title);