Uses of Class
com.prineside.tdi2.Item
Packages that use Item
Package
Description
The game itself.
-
Uses of Item in com.prineside.tdi2
Classes in com.prineside.tdi2 with type parameters of type ItemModifier and TypeInterfaceDescriptionstatic interface
Item.Factory<T extends Item>
static class
Item.Factory.AbstractFactory<T extends Item>
Fields in com.prineside.tdi2 declared as ItemMethods in com.prineside.tdi2 that return ItemModifier and TypeMethodDescriptionItem.cpy()
static Item
Item[]
CraftRecipe.Ingredient.getExampleItems()
ItemStack.getItem()
Methods in com.prineside.tdi2 with parameters of type ItemModifier and TypeMethodDescriptionboolean
boolean
void
ItemStack.setItemAndCount
(Item item, int count) Constructors in com.prineside.tdi2 with parameters of type Item -
Uses of Item in com.prineside.tdi2.events.game
Methods in com.prineside.tdi2.events.game that return ItemMethods in com.prineside.tdi2.events.game with parameters of type ItemConstructors in com.prineside.tdi2.events.game with parameters of type Item -
Uses of Item in com.prineside.tdi2.events.mapEditor
Methods in com.prineside.tdi2.events.mapEditor that return ItemMethods in com.prineside.tdi2.events.mapEditor with parameters of type ItemConstructors in com.prineside.tdi2.events.mapEditor with parameters of type ItemModifierConstructorDescriptionInventoryItemAdd
(Item item, int count) InventoryItemRemove
(Item item, int count, int availableCount) -
Uses of Item in com.prineside.tdi2.gameplayMods.mods
Methods in com.prineside.tdi2.gameplayMods.mods with parameters of type Item -
Uses of Item in com.prineside.tdi2.items
Subclasses of Item in com.prineside.tdi2.itemsModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
Используется с началом игры Дает бонус +50% к кол-ву лутаclass
class
class
class
class
class
class
class
Действует определенное время Дает бонус +50% к редкости лутаclass
class
class
class
class
class
class
Methods in com.prineside.tdi2.items that return ItemModifier and TypeMethodDescriptionCaseItem.cpy()
DoubleGainShardItem.cpy()
GameValueGlobalItem.cpy()
GameValueLevelItem.cpy()
GateItem.cpy()
OpenedResearchItem.cpy()
RandomBarrierItem.cpy()
RandomTileItem.cpy()
ResourceItem.cpy()
TileItem.cpy()
TrophyItem.cpy()
Methods in com.prineside.tdi2.items with parameters of type ItemModifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Item in com.prineside.tdi2.managers
Fields in com.prineside.tdi2.managers declared as ItemMethods in com.prineside.tdi2.managers that return ItemMethods in com.prineside.tdi2.managers that return types with arguments of type ItemModifier and TypeMethodDescriptionItem.Factory<? extends Item>
ItemManager.getFactory
(ItemType itemType) Methods in com.prineside.tdi2.managers with parameters of type ItemModifier and TypeMethodDescriptionvoid
Добавляет вещь куда надо, в зависимости от типа.static ItemStack
ProgressManager.addItemToStacksArray
(Array<ItemStack> array, Item item, int count) Добавить предметы в массив стеков.void
ItemManager.getCraftRecipes
(Item item) int
ProgressManager.getItemsCount
(Item item) static ItemStack
ProgressManager.getItemStackFromArray
(Array<ItemStack> array, Item item) boolean
void
ProgressManager.ProgressManagerListener.itemsChanged
(Item item, int oldAmount, int delta) void
ProgressManager.ProgressManagerListener.ProgressManagerListenerAdapter.itemsChanged
(Item item, int oldAmount, int delta) boolean
static ItemStack
ProgressManager.removeItemFromStacksArray
(Array<ItemStack> array, Item item, int count) boolean
ProgressManager.removeItems
(Item item, int count) boolean
Продать вещьvoid
ProgressManager.setStarred
(Item item, boolean setStarred) Method parameters in com.prineside.tdi2.managers with type arguments of type ItemModifier and TypeMethodDescriptionvoid
ProgressManager.startCrafting
(CraftRecipe recipe, Array<Item> ingredients, int count) Начать крафт -
Uses of Item in com.prineside.tdi2.managers.preferences.categories.progress
Methods in com.prineside.tdi2.managers.preferences.categories.progress with parameters of type ItemModifier and TypeMethodDescriptionvoid
int
PP_Inventory.getItemsCount
(Item item) boolean
PP_Inventory.removeItems
(Item item, int count) boolean
PP_Inventory.setStarred
(Item item, boolean setStarred) -
Uses of Item in com.prineside.tdi2.systems
Methods in com.prineside.tdi2.systems with parameters of type ItemModifier and TypeMethodDescriptionvoid
Use this method to add loot and trigger an eventboolean
void
InventorySystem.initAddItem
(Item item, int count) Used only by game mode / managers outside of map editor logic Ignores GM.isInventoryStatic()boolean
boolean
InventorySystem.removeMany
(Item item, int count) -
Uses of Item in com.prineside.tdi2.ui.actors
Methods in com.prineside.tdi2.ui.actors that return ItemMethods in com.prineside.tdi2.ui.actors with parameters of type Item -
Uses of Item in com.prineside.tdi2.ui.components
Methods in com.prineside.tdi2.ui.components with parameters of type ItemModifier and TypeMethodDescriptionvoid
MapEditorInventoryMenu.rebuildSlotOfItem
(Item item, boolean forceIconRedraw) -
Uses of Item in com.prineside.tdi2.utils.mapeditor
Methods in com.prineside.tdi2.utils.mapeditor that return ItemModifier and TypeMethodDescriptionSelection.getCurrentItem()
Creates an item from the selection At least one item must be selected (ideally exactly one) so check count() beforehand Throws exception when nothing is selected