Skip to content

Commit

Permalink
poket
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorForan committed May 29, 2024
1 parent fee5bae commit 438dad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/PocketItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For items, returns [CollectibleType](https://wofsauge.github.io/IsaacDocs/rep/en

___
### GetType () {: aria-label='Functions' }
#### [PocketItemType](PocketItem.md) GetType ( ) {: .copyable aria-label='Functions' }
Returns the [PocketItemType](PocketItem.md). Returns `1` if the slot is empty.
#### [PocketItemType](enums/PocketItemType.md) GetType ( ) {: .copyable aria-label='Functions' }
Returns the [PocketItemType](enums/PocketItemType.md). Returns `1` if the slot is empty.

___
1 change: 1 addition & 0 deletions libzhl/functions/PocketItem.zhl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
struct PocketItem
{
// TODO: "slot" here is actually the ID of the card/pill/collectible and should probably be renamed, both here and luaside.
int _slot : 0x0;
int _type : 0x4;
} : 0x8;

0 comments on commit 438dad7

Please sign in to comment.