Package com.prineside.tdi2.items
Class CaseItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.CaseItem
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.prineside.tdi2.Item
Item.D, Item.Factory<T extends Item>, Item.UsableItem
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
cpy()
void
fillItemCreationForm
(ItemCreationOverlay overlay) generateIcon
(float size, boolean withShadow) int
int
int
getColor()
getData()
float
int
int[]
getTitle()
getType()
boolean
boolean
openPack
(ProgressManager.InventoryStatistics inventoryStatistics) void
boolean
void
void
Methods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItemsMultiplied, affectedByLuckyWheelMultiplier, canBeSold, fillWithInfo, fromJson, getDataOfType, getPriceInAcceleratorsForResearchReset, getSortingScore, toJsonString
-
Field Details
-
caseType
-
containsPapers
public boolean containsPapers
-
-
Method Details
-
write
- Specified by:
write
in interfaceKryoSerializable
- Overrides:
write
in classItem
-
read
- Specified by:
read
in interfaceKryoSerializable
- Overrides:
read
in classItem
-
isAffectedByDoubleGain
public boolean isAffectedByDoubleGain()- Overrides:
isAffectedByDoubleGain
in classItem
-
from
-
getData
-
getAnalyticName
- Overrides:
getAnalyticName
in classItem
-
getColor
-
getItemCount
public int getItemCount() -
getItemRarityChances
public int[] getItemRarityChances() -
getGuaranteedItemType
-
getCasePriceInKeys
public int getCasePriceInKeys() -
getCasePriceInPapers
public int getCasePriceInPapers() -
getCasePriceInAccelerators
public int getCasePriceInAccelerators() -
cpy
-
canBeUnpacked
public boolean canBeUnpacked()- Overrides:
canBeUnpacked
in classItem
-
openPack
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in classItem
- Returns:
- true if ItemStack.count is being accounted for
-
getType
-
getCategory
- Specified by:
getCategory
in classItem
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
getTitle
-
getDecryptionTime
public float getDecryptionTime() -
getDescription
- Specified by:
getDescription
in classItem
-
getRarity
-
sameAs
-
toJson
-
getIconDrawable
- Overrides:
getIconDrawable
in classItem
-
generateIcon
- Specified by:
generateIcon
in classItem
-