PC Stable Documentation
|
|
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) |
|
inlinestaticprivate |
|
inlinestaticprivate |
References Class::CastTo().
|
inlinestaticprivate |
References Class::CastTo().
Referenced by Icon::SetQuantity(), and SlotsIcon::SetQuantity().
References Class::CastTo(), string::Format(), and float::ToString().
Referenced by InventoryGridController::GetItemQuantityText(), Icon::SetQuantity(), SlotsIcon::SetQuantity(), and UIScriptedMenu::UpdateQuickbarItemCard().
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().