Game codeUnofficial name
INVENTORY::_INVENTORY_SWAP_INVENTORY_ITEM
0xE4325CEB0D8AC296 ·RVA 0x03E8B590
Signature
int _INVENTORY_SWAP_INVENTORY_ITEM(int inventoryId, Any* guid1);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | int | inventoryId |
– |
| 1 | Any* | guid1 |
– |
Returns
int
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- guid2, in RDR3's signature, is not passed in GTA VI.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// INVENTORY::_INVENTORY_SWAP_INVENTORY_ITEM
auto result = invoke<int>(0xE4325CEB0D8AC296, inventoryId, &guid1);// INVENTORY::_INVENTORY_SWAP_INVENTORY_ITEM
int result = Function.Call<int>((Hash)0xE4325CEB0D8AC296, inventoryId, guid1);-- INVENTORY::_INVENTORY_SWAP_INVENTORY_ITEM
local result = Citizen.InvokeNative(0xE4325CEB0D8AC296, inventoryId, guid1)// INVENTORY::_INVENTORY_SWAP_INVENTORY_ITEM
const result = Citizen.invokeNative("0xE4325CEB0D8AC296", inventoryId, guid1);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.