Class "PocketItem"⚓︎
Info
You can get this class by using the following functions:
Example Code
1 |
|
Functions⚓︎
GetSlot ()⚓︎
int GetSlot ( )⚓︎
For cards, returns Card.
For pills, returns PillColor.
For pocket active items, returns the corresponding ActiveSlot (either ActiveSlot.SLOT_POCKET
or ActiveSlot.SLOT_POCKET2
).
Returns 0
if the slot is empty.
GetType ()⚓︎
PocketItemType GetType ( )⚓︎
Returns the PocketItemType.
This value is unreliable if the slot is currently empty, as the game sometimes does not clear it.