The Lab
SCRIPT native

_LOOT_GET_LOOT_CLAIM_DATA

returns BOOL3 paramsbuild 1311

Based on its name and signature, here is our best reading:

Appears to read loot claim data at dataIndex from the server response rpcGuid into outLootData.

Signature

C
BOOL _LOOT_GET_LOOT_CLAIM_DATA(Any* rpcGuid, int dataIndex, Any* outLootData); // 0xF1E9045F5AA9E428 b1311

Parameters

#NameType
1rpcGuidAny* (out pointer)
2dataIndexint
3outLootDataAny* (out pointer)

Facts

Facts about _LOOT_GET_LOOT_CLAIM_DATA
Name
_LOOT_GET_LOOT_CLAIM_DATA
Hash
0xF1E9045F5AA9E428
Namespace
Returns
BOOL
Game build
1311

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, rpcGuid, outLootData = Citizen.InvokeNative(0xF1E9045F5AA9E428, -- _LOOT_GET_LOOT_CLAIM_DATA
  Citizen.PointerValueInt(), -- Any* rpcGuid
  0, -- int dataIndex
  Citizen.PointerValueInt(), -- Any* outLootData
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, rpcGuid, outLootData] = Citizen.invokeNative("0xF1E9045F5AA9E428", // _LOOT_GET_LOOT_CLAIM_DATA
  Citizen.pointerValueInt(), // Any* rpcGuid
  0, // int dataIndex
  Citizen.pointerValueInt(), // Any* outLootData
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var rpcGuidArg = new OutputArgument();
var outLootDataArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xF1E9045F5AA9E428, // _LOOT_GET_LOOT_CLAIM_DATA
  rpcGuidArg, // Any* rpcGuid
  0, // int dataIndex
  outLootDataArg // Any* outLootData
);
int rpcGuid = rpcGuidArg.GetResult<int>();
int outLootData = outLootDataArg.GetResult<int>();
All SCRIPT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.