Skip to content

Commit

Permalink
Document GET_TATTOO_SHOP_DLC_ITEM_INDEX (#1023)
Browse files Browse the repository at this point in the history
* Document GET_TATTOO_SHOP_DLC_ITEM_INDEX

Added information and fixed the parameters.

* Update N_0x10144267dd22866c.md

Fixes a few issues

* Forgot to edit the parameter types:

* Update N_0x10144267dd22866c.md

* Update N_0x10144267dd22866c.md

Prettier formatting.

* Rename N_0x10144267dd22866c.md to GetTattooShopDlcItemIndex.md

File-name change.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
freedy69 and 4mmonium authored Feb 20, 2024
1 parent 3e5a365 commit a0acdbd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 29 deletions.
22 changes: 22 additions & 0 deletions FILES/GetTattooShopDlcItemIndex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
ns: FILES
aliases: ["0x10144267DD22866C"]
---
## GET_TATTOO_SHOP_DLC_ITEM_INDEX

```c
// 0x10144267DD22866C
int GET_TATTOO_SHOP_DLC_ITEM_INDEX(cs_type(Hash) int character, int collection, int preset);
```
```
NativeDB Introduced: v2189
```
## Parameters
* **character**: AKA eFaction in shop_tattoo.meta. Which character this tattoo belongs to. See [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#_0x278F76C3B0A8F109).
* **collection**: Which collection this tattoo belongs to. If you specify `-1`, it will check all collections.
* **preset**: Which preset this tattoo belongs to.
## Return value
Returns the actual index (Not ID from `shop_tattoo.meta`) from `0` to [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#_0x278F76C3B0A8F109), or `-1` (if it failed to find the tattoo) of a tattoo.
29 changes: 0 additions & 29 deletions FILES/N_0x10144267dd22866c.md

This file was deleted.

0 comments on commit a0acdbd

Please sign in to comment.