_LOOT_GET_LOOT_CLAIM_DATA
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
BOOL _LOOT_GET_LOOT_CLAIM_DATA(Any* rpcGuid, int dataIndex, Any* outLootData); // 0xF1E9045F5AA9E428 b1311Parameters
| # | Name | Type |
|---|---|---|
| 1 | rpcGuid | Any* (out pointer) |
| 2 | dataIndex | int |
| 3 | outLootData | Any* (out pointer) |
Facts
| 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.
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
-- ...
endconst [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) {
// ...
}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>();Related SCRIPT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.