|
| void | ScriptConsoleItemsTab (Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null) |
| |
| void | ~ScriptConsoleItemsTab () |
| |
| void | Init () |
| |
| override bool | OnKeyDown (Widget w, int x, int y, int key) |
| |
| void | SelectObject (bool hide_presets=true) |
| |
| void | SelectPreset () |
| |
| int | GetCurrentPresetIndex () |
| |
| int | GetCurrentItemIndex () |
| |
| bool | IsCurrentPresetFixed () |
| |
| bool | IsPresetFixed (string preset_name) |
| |
| int | GetPresetIndexByName (string preset_name) |
| |
| void | ShowItemButtons () |
| |
| void | HideItemButtons () |
| |
| void | ShowItemTransferButtons () |
| |
| void | ItemMoveUp () |
| |
| void | ItemMoveDown () |
| |
| void | SaveProfileSpawnDistance () |
| |
| void | RenamePreset (string new_preset_name) |
| |
| void | SpawnPreset (EntityAI target, bool clear_inventory, string preset_name, InventoryLocationType location=InventoryLocationType.ATTACHMENT, float distance=0) |
| |
| void | SetDefaultPreset (int preset_index) |
| |
| void | SetObject (string object) |
| |
| void | SetPreviewObject (string object) |
| |
| void | AddItemToPreset () |
| |
| void | ShowPresetButtons () |
| |
| void | RemoveItemFromPreset () |
| |
| string | GetCurrentPresetName () |
| |
| string | GetCurrentItemName () |
| |
| string | GetCurrentObjectName () |
| |
| void | RefreshLists () |
| |
| void | RenderPresets () |
| |
| void | RenderPresetItems () |
| |
| void | NewPreset (string preset_name) |
| |
| void | DeletePreset () |
| |
| int | GetFilterColor (string color) |
| |
| void | PrepareFilters (string filter, out TStringArray filters, out TIntArray colors) |
| |
| void | ChangeFilter (TStringArray classes, TextListboxWidget widget, MultilineEditBoxWidget filterWidget, int categoryMask=-1, bool ignoreScope=false) |
| |
| void | SetFilterOrder (bool reversed) |
| |
| override bool | OnChange (Widget w, int x, int y, bool finished) |
| |
| override bool | OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn) |
| |
| override bool | OnClick (Widget w, int x, int y, int button) |
| |
| override bool | OnDoubleClick (Widget w, int x, int y, int button) |
| |
| override void | Update (float timeslice) |
| |
| void | SetTextSpawnButton (ButtonWidget w, bool special, string suffix=" Special") |
| |
| void | UpdateButtonNames () |
| |
| TStringArray | GetItemsClasses () |
| |
| string | PreprocessFilterText (MultilineEditBoxWidget w) |
| |
| void | ChangeFilterItems (bool forced=false) |
| |
|
| const string | CONST_DEFAULT_PRESET_PREFIX = "[Default]" |
| |
| ref array< Widget > | m_CategoryButtonsWidgets = new array<Widget> |
| |
| ref array< string > | m_CategoryButtonsNames = {"FIREARMS","MELEE","ATTACHMENTS","MAGAZINES","AMMO","FOOD","MEDICAL","CARS","BACKPACKS","B-BUILDING"} |
| |
| ref map< Widget, string > | m_SpawnButtonsOriginalText = new map<Widget, string>() |
| |
| int | m_CategoryMask |
| |
| MissionGameplay | m_MissionGameplay |
| |
| ref Timer | m_RefreshFilterTimer = new Timer() |
| |
| PluginDeveloper | m_Developer |
| |
| bool | m_FilterOrderReversed |
| |
| string | m_SelectedObject |
| |
| string | m_FilterTextPrev |
| |
| CheckBoxWidget | m_CategoryMergeType |
| |
| CheckBoxWidget | m_ItemPreviewCheckbox |
| |
| CheckBoxWidget | m_ShowProtected |
| |
| CheckBoxWidget | m_ClearInventory |
| |
| TextListboxWidget | m_ObjectsTextListbox |
| |
| TextListboxWidget | m_PresetsTextListbox |
| |
| TextListboxWidget | m_PresetItemsTextListbox |
| |
| ButtonWidget | m_DrawInWorld |
| |
| ButtonWidget | m_DrawInWorldClear |
| |
| ButtonWidget | m_PresetNewButton |
| |
| ButtonWidget | m_PresetDeleteButton |
| |
| ButtonWidget | m_PresetRenameButton |
| |
| ButtonWidget | m_PresetSetDefaultButton |
| |
| ButtonWidget | m_PresetAddItemtButton |
| |
| ButtonWidget | m_ItemNameCopy |
| |
| ButtonWidget | m_PresetRemoveItemButton |
| |
| ButtonWidget | m_ItemMoveUpButton |
| |
| ButtonWidget | m_ItemMoveDownButton |
| |
| ButtonWidget | m_FilterOrderButton |
| |
| ButtonWidget | m_SpawnInInvButton |
| |
| ButtonWidget | m_SpawnGroundButton |
| |
| ButtonWidget | m_SpawnGroundPatternGrid |
| |
| ButtonWidget | m_SpawnOnTarget |
| |
| ButtonWidget | m_SpawnOnCursor |
| |
| ButtonWidget | m_SpawnInHands |
| |
| ButtonWidget | m_SpawnBatchButton |
| |
| ButtonWidget | m_ListActions |
| |
| MultilineEditBoxWidget | m_ObjectFilter |
| |
| EditBoxWidget | m_SpawnDistanceEditBox |
| |
| EditBoxWidget | m_RectSpawnRow |
| |
| EditBoxWidget | m_RectSpawnColumn |
| |
| EditBoxWidget | m_RectSpawnRowStep |
| |
| EditBoxWidget | m_RectSpawnColumnStep |
| |
| EditBoxWidget | m_DrawDistanceWidget |
| |
| EditBoxWidget | m_QuantityEditBox |
| |
| EditBoxWidget | m_DamageEditBox |
| |
| EditBoxWidget | m_BatchSpawnQuantity |
| |
| CheckBoxWidget | m_WithPhysicsCheckbox |
| |
| ButtonWidget | m_ReloadShapeButton |
| |
| TextWidget | m_ItemDamageLabel |
| |
| TextWidget | m_ItemQuantityLabel |
| |
| TextWidget | m_SelectedObjectText |
| |
| TextWidget | m_SelectedObjectLocalized |
| |
| ItemPreviewWidget | m_ItemPreviewWidget |
| |
| ImageWidget | m_FilterOrderImage |
| |
Definition at line 3 of file scriptconsoleitemstab.c.
◆ ScriptConsoleItemsTab()
| void ScriptConsoleItemsTab::ScriptConsoleItemsTab |
( |
Widget | root, |
|
|
ScriptConsole | console, |
|
|
Widget | button, |
|
|
ScriptConsoleTabBase | parent = null ) |
|
protected |
◆ ~ScriptConsoleItemsTab()
| void ScriptConsoleItemsTab::~ScriptConsoleItemsTab |
( |
| ) |
|
|
protected |
◆ AddItemToPreset()
| void ScriptConsoleItemsTab::AddItemToPreset |
( |
| ) |
|
|
protected |
◆ ChangeFilter()
| void ScriptConsoleItemsTab::ChangeFilter |
( |
TStringArray | classes, |
|
|
TextListboxWidget | widget, |
|
|
MultilineEditBoxWidget | filterWidget, |
|
|
int | categoryMask = -1, |
|
|
bool | ignoreScope = false ) |
|
protected |
◆ ChangeFilterItems()
| void ScriptConsoleItemsTab::ChangeFilterItems |
( |
bool | forced = false | ) |
|
|
protected |
◆ DeletePreset()
| void ScriptConsoleItemsTab::DeletePreset |
( |
| ) |
|
|
protected |
◆ DrawItems()
| static void ScriptConsoleItemsTab::DrawItems |
( |
string | type, |
|
|
float | distance = 0 ) |
|
staticprotected |
◆ DrawItemsClear()
| static void ScriptConsoleItemsTab::DrawItemsClear |
( |
| ) |
|
|
staticprotected |
◆ GetCurrentItemIndex()
| int ScriptConsoleItemsTab::GetCurrentItemIndex |
( |
| ) |
|
|
protected |
◆ GetCurrentItemName()
| string ScriptConsoleItemsTab::GetCurrentItemName |
( |
| ) |
|
|
protected |
◆ GetCurrentObjectName()
| string ScriptConsoleItemsTab::GetCurrentObjectName |
( |
| ) |
|
|
protected |
◆ GetCurrentPresetIndex()
| int ScriptConsoleItemsTab::GetCurrentPresetIndex |
( |
| ) |
|
|
protected |
◆ GetCurrentPresetName()
| string ScriptConsoleItemsTab::GetCurrentPresetName |
( |
| ) |
|
|
protected |
◆ GetFilterColor()
| int ScriptConsoleItemsTab::GetFilterColor |
( |
string | color | ) |
|
|
protected |
◆ GetItemsClasses()
◆ GetLastSelectedObject()
| static string ScriptConsoleItemsTab::GetLastSelectedObject |
( |
| ) |
|
|
staticprotected |
◆ GetPresetIndexByName()
| int ScriptConsoleItemsTab::GetPresetIndexByName |
( |
string | preset_name | ) |
|
|
protected |
◆ HideItemButtons()
| void ScriptConsoleItemsTab::HideItemButtons |
( |
| ) |
|
|
protected |
◆ Init()
| void ScriptConsoleItemsTab::Init |
( |
| ) |
|
|
protected |
◆ IsCurrentPresetFixed()
| bool ScriptConsoleItemsTab::IsCurrentPresetFixed |
( |
| ) |
|
|
protected |
◆ IsPresetFixed()
| bool ScriptConsoleItemsTab::IsPresetFixed |
( |
string | preset_name | ) |
|
|
protected |
◆ ItemMoveDown()
| void ScriptConsoleItemsTab::ItemMoveDown |
( |
| ) |
|
|
protected |
◆ ItemMoveUp()
| void ScriptConsoleItemsTab::ItemMoveUp |
( |
| ) |
|
|
protected |
◆ NewPreset()
| void ScriptConsoleItemsTab::NewPreset |
( |
string | preset_name | ) |
|
|
protected |
◆ OnChange()
| override bool ScriptConsoleItemsTab::OnChange |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
bool | finished ) |
|
protected |
◆ OnClick()
| override bool ScriptConsoleItemsTab::OnClick |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
int | button ) |
|
protected |
◆ OnDoubleClick()
| override bool ScriptConsoleItemsTab::OnDoubleClick |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
int | button ) |
|
protected |
◆ OnItemSelected()
| override bool ScriptConsoleItemsTab::OnItemSelected |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
int | row, |
|
|
int | column, |
|
|
int | oldRow, |
|
|
int | oldColumn ) |
|
protected |
◆ OnKeyDown()
| override bool ScriptConsoleItemsTab::OnKeyDown |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
int | key ) |
|
protected |
◆ PrepareFilters()
◆ PreprocessFilterText()
| string ScriptConsoleItemsTab::PreprocessFilterText |
( |
MultilineEditBoxWidget | w | ) |
|
|
protected |
◆ RefreshLists()
| void ScriptConsoleItemsTab::RefreshLists |
( |
| ) |
|
|
protected |
◆ RemoveItemFromPreset()
| void ScriptConsoleItemsTab::RemoveItemFromPreset |
( |
| ) |
|
|
protected |
◆ RenamePreset()
| void ScriptConsoleItemsTab::RenamePreset |
( |
string | new_preset_name | ) |
|
|
protected |
◆ RenderPresetItems()
| void ScriptConsoleItemsTab::RenderPresetItems |
( |
| ) |
|
|
protected |
◆ RenderPresets()
| void ScriptConsoleItemsTab::RenderPresets |
( |
| ) |
|
|
protected |
◆ SaveProfileSpawnDistance()
| void ScriptConsoleItemsTab::SaveProfileSpawnDistance |
( |
| ) |
|
|
protected |
◆ SelectObject()
| void ScriptConsoleItemsTab::SelectObject |
( |
bool | hide_presets = true | ) |
|
|
protected |
◆ SelectPreset()
| void ScriptConsoleItemsTab::SelectPreset |
( |
| ) |
|
|
protected |
◆ SetDefaultPreset()
| void ScriptConsoleItemsTab::SetDefaultPreset |
( |
int | preset_index | ) |
|
|
protected |
◆ SetFilterOrder()
| void ScriptConsoleItemsTab::SetFilterOrder |
( |
bool | reversed | ) |
|
|
protected |
◆ SetObject()
| void ScriptConsoleItemsTab::SetObject |
( |
string | object | ) |
|
|
protected |
◆ SetPreviewObject()
| void ScriptConsoleItemsTab::SetPreviewObject |
( |
string | object | ) |
|
|
protected |
◆ SetTextSpawnButton()
| void ScriptConsoleItemsTab::SetTextSpawnButton |
( |
ButtonWidget | w, |
|
|
bool | special, |
|
|
string | suffix = " Special" ) |
|
protected |
◆ ShowItemButtons()
| void ScriptConsoleItemsTab::ShowItemButtons |
( |
| ) |
|
|
protected |
◆ ShowItemTransferButtons()
| void ScriptConsoleItemsTab::ShowItemTransferButtons |
( |
| ) |
|
|
protected |
◆ ShowPresetButtons()
| void ScriptConsoleItemsTab::ShowPresetButtons |
( |
| ) |
|
|
protected |
◆ SpawnPreset()
◆ Update()
| override void ScriptConsoleItemsTab::Update |
( |
float | timeslice | ) |
|
|
protected |
◆ UpdateButtonNames()
| void ScriptConsoleItemsTab::UpdateButtonNames |
( |
| ) |
|
|
protected |
◆ CLEAR_IVN
| bool ScriptConsoleItemsTab::CLEAR_IVN |
|
staticprotected |
◆ CONST_DEFAULT_PRESET_PREFIX
| const string ScriptConsoleItemsTab::CONST_DEFAULT_PRESET_PREFIX = "[Default]" |
|
protected |
◆ DRAW_DISTANCE
| float ScriptConsoleItemsTab::DRAW_DISTANCE = 1000 |
|
staticprotected |
◆ ITEMS_IN_PRESET_SELECTED_ROW
| int ScriptConsoleItemsTab::ITEMS_IN_PRESET_SELECTED_ROW |
|
staticprotected |
◆ ITEMS_SELECTED_ROW
| int ScriptConsoleItemsTab::ITEMS_SELECTED_ROW = -1 |
|
staticprotected |
◆ m_BatchSpawnQuantity
| EditBoxWidget ScriptConsoleItemsTab::m_BatchSpawnQuantity |
|
protected |
◆ m_CategoryButtonsNames
| ref array<string> ScriptConsoleItemsTab::m_CategoryButtonsNames = {"FIREARMS","MELEE","ATTACHMENTS","MAGAZINES","AMMO","FOOD","MEDICAL","CARS","BACKPACKS","B-BUILDING"} |
|
protected |
◆ m_CategoryButtonsWidgets
| ref array<Widget> ScriptConsoleItemsTab::m_CategoryButtonsWidgets = new array<Widget> |
|
protected |
◆ m_CategoryMask
| int ScriptConsoleItemsTab::m_CategoryMask |
|
protected |
◆ m_CategoryMergeType
| CheckBoxWidget ScriptConsoleItemsTab::m_CategoryMergeType |
|
protected |
◆ m_ClearInventory
| CheckBoxWidget ScriptConsoleItemsTab::m_ClearInventory |
|
protected |
◆ m_DamageEditBox
| EditBoxWidget ScriptConsoleItemsTab::m_DamageEditBox |
|
protected |
◆ m_DebugShapes
◆ m_Developer
| PluginDeveloper ScriptConsoleItemsTab::m_Developer |
|
protected |
◆ m_DrawDistanceWidget
| EditBoxWidget ScriptConsoleItemsTab::m_DrawDistanceWidget |
|
protected |
◆ m_DrawInWorld
| ButtonWidget ScriptConsoleItemsTab::m_DrawInWorld |
|
protected |
◆ m_DrawInWorldClear
| ButtonWidget ScriptConsoleItemsTab::m_DrawInWorldClear |
|
protected |
◆ m_FilterOrderButton
| ButtonWidget ScriptConsoleItemsTab::m_FilterOrderButton |
|
protected |
◆ m_FilterOrderImage
| ImageWidget ScriptConsoleItemsTab::m_FilterOrderImage |
|
protected |
◆ m_FilterOrderReversed
| bool ScriptConsoleItemsTab::m_FilterOrderReversed |
|
protected |
◆ m_FilterTextPrev
| string ScriptConsoleItemsTab::m_FilterTextPrev |
|
protected |
◆ m_ItemDamageLabel
| TextWidget ScriptConsoleItemsTab::m_ItemDamageLabel |
|
protected |
◆ m_ItemMoveDownButton
| ButtonWidget ScriptConsoleItemsTab::m_ItemMoveDownButton |
|
protected |
◆ m_ItemMoveUpButton
| ButtonWidget ScriptConsoleItemsTab::m_ItemMoveUpButton |
|
protected |
◆ m_ItemNameCopy
| ButtonWidget ScriptConsoleItemsTab::m_ItemNameCopy |
|
protected |
◆ m_ItemPreviewCheckbox
| CheckBoxWidget ScriptConsoleItemsTab::m_ItemPreviewCheckbox |
|
protected |
◆ m_ItemPreviewWidget
◆ m_ItemQuantity
| float ScriptConsoleItemsTab::m_ItemQuantity = 1 |
|
staticprotected |
◆ m_ItemQuantityLabel
| TextWidget ScriptConsoleItemsTab::m_ItemQuantityLabel |
|
protected |
◆ m_LastSelectedObject
| string ScriptConsoleItemsTab::m_LastSelectedObject |
|
staticprotected |
◆ m_ListActions
| ButtonWidget ScriptConsoleItemsTab::m_ListActions |
|
protected |
◆ m_MissionGameplay
| MissionGameplay ScriptConsoleItemsTab::m_MissionGameplay |
|
protected |
◆ m_ObjectFilter
| MultilineEditBoxWidget ScriptConsoleItemsTab::m_ObjectFilter |
|
protected |
◆ m_ObjectsScope
| int ScriptConsoleItemsTab::m_ObjectsScope = 2 |
|
staticprotected |
◆ m_ObjectsTextListbox
| TextListboxWidget ScriptConsoleItemsTab::m_ObjectsTextListbox |
|
protected |
◆ m_PresetAddItemtButton
| ButtonWidget ScriptConsoleItemsTab::m_PresetAddItemtButton |
|
protected |
◆ m_PresetDeleteButton
| ButtonWidget ScriptConsoleItemsTab::m_PresetDeleteButton |
|
protected |
◆ m_PresetItemsTextListbox
| TextListboxWidget ScriptConsoleItemsTab::m_PresetItemsTextListbox |
|
protected |
◆ m_PresetNewButton
| ButtonWidget ScriptConsoleItemsTab::m_PresetNewButton |
|
protected |
◆ m_PresetRemoveItemButton
| ButtonWidget ScriptConsoleItemsTab::m_PresetRemoveItemButton |
|
protected |
◆ m_PresetRenameButton
| ButtonWidget ScriptConsoleItemsTab::m_PresetRenameButton |
|
protected |
◆ m_PresetSetDefaultButton
| ButtonWidget ScriptConsoleItemsTab::m_PresetSetDefaultButton |
|
protected |
◆ m_PresetsTextListbox
| TextListboxWidget ScriptConsoleItemsTab::m_PresetsTextListbox |
|
protected |
◆ m_PreviewEntity
| EntityAI ScriptConsoleItemsTab::m_PreviewEntity |
|
staticprotected |
◆ m_QuantityEditBox
| EditBoxWidget ScriptConsoleItemsTab::m_QuantityEditBox |
|
protected |
◆ m_RectSpawnColumn
| EditBoxWidget ScriptConsoleItemsTab::m_RectSpawnColumn |
|
protected |
◆ m_RectSpawnColumnStep
| EditBoxWidget ScriptConsoleItemsTab::m_RectSpawnColumnStep |
|
protected |
◆ m_RectSpawnRow
| EditBoxWidget ScriptConsoleItemsTab::m_RectSpawnRow |
|
protected |
◆ m_RectSpawnRowStep
| EditBoxWidget ScriptConsoleItemsTab::m_RectSpawnRowStep |
|
protected |
◆ m_RefreshFilterTimer
| ref Timer ScriptConsoleItemsTab::m_RefreshFilterTimer = new Timer() |
|
protected |
◆ m_ReloadShapeButton
| ButtonWidget ScriptConsoleItemsTab::m_ReloadShapeButton |
|
protected |
◆ m_SelectedObject
| string ScriptConsoleItemsTab::m_SelectedObject |
|
protected |
◆ m_SelectedObjectIsPreset
| int ScriptConsoleItemsTab::m_SelectedObjectIsPreset = -1 |
|
staticprotected |
◆ m_SelectedObjectLocalized
| TextWidget ScriptConsoleItemsTab::m_SelectedObjectLocalized |
|
protected |
◆ m_SelectedObjectText
| TextWidget ScriptConsoleItemsTab::m_SelectedObjectText |
|
protected |
◆ m_ShowProtected
| CheckBoxWidget ScriptConsoleItemsTab::m_ShowProtected |
|
protected |
◆ m_SpawnBatchButton
| ButtonWidget ScriptConsoleItemsTab::m_SpawnBatchButton |
|
protected |
◆ m_SpawnButtonsOriginalText
| ref map<Widget, string> ScriptConsoleItemsTab::m_SpawnButtonsOriginalText = new map<Widget, string>() |
|
protected |
◆ m_SpawnDistanceEditBox
| EditBoxWidget ScriptConsoleItemsTab::m_SpawnDistanceEditBox |
|
protected |
◆ m_SpawnGroundButton
| ButtonWidget ScriptConsoleItemsTab::m_SpawnGroundButton |
|
protected |
◆ m_SpawnGroundPatternGrid
| ButtonWidget ScriptConsoleItemsTab::m_SpawnGroundPatternGrid |
|
protected |
◆ m_SpawnInHands
| ButtonWidget ScriptConsoleItemsTab::m_SpawnInHands |
|
protected |
◆ m_SpawnInInvButton
| ButtonWidget ScriptConsoleItemsTab::m_SpawnInInvButton |
|
protected |
◆ m_SpawnOnCursor
| ButtonWidget ScriptConsoleItemsTab::m_SpawnOnCursor |
|
protected |
◆ m_SpawnOnTarget
| ButtonWidget ScriptConsoleItemsTab::m_SpawnOnTarget |
|
protected |
◆ m_WithPhysics
| bool ScriptConsoleItemsTab::m_WithPhysics = false |
|
staticprotected |
◆ m_WithPhysicsCheckbox
| CheckBoxWidget ScriptConsoleItemsTab::m_WithPhysicsCheckbox |
|
protected |
◆ PRESETS_SELECTED_ROW
| int ScriptConsoleItemsTab::PRESETS_SELECTED_ROW = 0 |
|
staticprotected |
The documentation for this class was generated from the following file: