{"hash":"0xC48FE1971C9743FF","ns":"STATS","name":"STAT_ID_IS_VALID","slug":"STAT_ID_IS_VALID","official":true,"named":true,"luaName":"StatIdIsValid","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"statId","type":"Any*"}],"summary":"alignas(8) Hash BaseId; alignas(8) Hash PermutationId;","descriptions":[{"source":"alloc8or","format":"text","body":"struct StatId\n{\n\talignas(8) Hash BaseId;\n\talignas(8) Hash PermutationId;\n}"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/STATS/STAT_ID_IS_VALID","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/STAT_ID_IS_VALID.md","snippets":{"lua":"local retval, statId = StatIdIsValid(statId)","luaInvoke":"local retval, statId = Citizen.InvokeNative(0xC48FE1971C9743FF, Citizen.PointerValueIntInitialized(statId), Citizen.ReturnResultAnyway())","js":"const [retval, statId] = StatIdIsValid(statId);","jsInvoke":"const [retval, statId] = Citizen.invokeNative('0xC48FE1971C9743FF', Citizen.pointerValueIntInitialized(statId), Citizen.returnResultAnyway());","csharp":"var statId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xC48FE1971C9743FF, statId);\n// statId.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}