DayZ 1.24
|
Static Private Member Functions | |
static string | GetItemQuantityText (EntityAI item, bool showMax=false) |
static float | GetItemQuantity (InventoryItem item) |
static float | GetItemQuantityMax (InventoryItem item) |
static void | GetItemQuantity (InventoryItem item, out float q_cur, out float q_min, out float q_max) |
static int | HasItemQuantity (notnull EntityAI item) |
Definition at line 1 of file QuantityConversions.c.
|
inlinestaticprivate |
Definition at line 68 of file QuantityConversions.c.
References Class::CastTo().
Referenced by InventoryGridController::GetItemQuantity(), ActionTargetsCursor::GetItemQuantity(), ScriptedWidgetEventHandler::GetItemQuantity(), Icon::SetQuantity(), SlotsIcon::SetQuantity(), and UIScriptedMenu::UpdateQuickbarItemCard().
|
inlinestaticprivate |
Definition at line 112 of file QuantityConversions.c.
References Class::CastTo().
|
inlinestaticprivate |
Definition at line 90 of file QuantityConversions.c.
References Class::CastTo().
Referenced by Icon::SetQuantity(), and SlotsIcon::SetQuantity().
|
inlinestaticprivate |
Definition at line 3 of file QuantityConversions.c.
References Class::CastTo().
Referenced by InventoryGridController::GetItemQuantityText(), Icon::SetQuantity(), SlotsIcon::SetQuantity(), and UIScriptedMenu::UpdateQuickbarItemCard().
Definition at line 135 of file QuantityConversions.c.
References Class::CastTo(), QUANTITY_COUNT, QUANTITY_HIDDEN, and QUANTITY_PROGRESS.
Referenced by SlotsIcon::CheckHasQuantity(), Icon::CheckHasQuantityEx(), ActionTargetsCursor::GetItemQuantity(), ScriptedWidgetEventHandler::GetItemQuantity(), InventoryGridController::HasItemQuantity(), Attachments::IsItemActive(), HandsContainer::IsItemActive(), Attachments::IsItemWithQuantityActive(), Container::IsItemWithQuantityActive(), HandsContainer::IsItemWithQuantityActive(), PlayerContainer::IsItemWithQuantityActive(), VicinitySlotsContainer::IsItemWithQuantityActive(), ZombieContainer::IsItemWithQuantityActive(), Icon::SetQuantity(), SlotsIcon::SetQuantity(), and UIScriptedMenu::UpdateQuickbarItemCard().