The Lab
SCRIPT native

_AWARDS_GET_UNLOCK_CLAIM_DATA

returns BOOL4 paramsbuild 1207

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

Appears to read unlock claim data for the award awardHash from the server response rpcGuid into outUnlockData, returning true on success.

Signature

C
BOOL _AWARDS_GET_UNLOCK_CLAIM_DATA(Any* rpcGuid, Hash awardHash, int dataIndex, Any* outUnlockData); // 0xB9467E41DAB1CF2C b1207

Parameters

#NameType
1rpcGuidAny* (out pointer)
2awardHashHash
3dataIndexint
4outUnlockDataAny* (out pointer)

Facts

Facts about _AWARDS_GET_UNLOCK_CLAIM_DATA
Name
_AWARDS_GET_UNLOCK_CLAIM_DATA
Hash
0xB9467E41DAB1CF2C
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result, rpcGuid, outUnlockData = Citizen.InvokeNative(0xB9467E41DAB1CF2C, -- _AWARDS_GET_UNLOCK_CLAIM_DATA
  Citizen.PointerValueInt(), -- Any* rpcGuid
  GetHashKey("name"), -- Hash awardHash
  0, -- int dataIndex
  Citizen.PointerValueInt(), -- Any* outUnlockData
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, rpcGuid, outUnlockData] = Citizen.invokeNative("0xB9467E41DAB1CF2C", // _AWARDS_GET_UNLOCK_CLAIM_DATA
  Citizen.pointerValueInt(), // Any* rpcGuid
  GetHashKey("name"), // Hash awardHash
  0, // int dataIndex
  Citizen.pointerValueInt(), // Any* outUnlockData
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var rpcGuidArg = new OutputArgument();
var outUnlockDataArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xB9467E41DAB1CF2C, // _AWARDS_GET_UNLOCK_CLAIM_DATA
  rpcGuidArg, // Any* rpcGuid
  (uint)API.GetHashKey("name"), // Hash awardHash
  0, // int dataIndex
  outUnlockDataArg // Any* outUnlockData
);
int rpcGuid = rpcGuidArg.GetResult<int>();
int outUnlockData = outUnlockDataArg.GetResult<int>();
All SCRIPT natives

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