{"hash":"0x9D896A3B87D96E2B","ns":"DATAFILE","name":"DATADICT_GET_INT","slug":"DATADICT_GET_INT","official":true,"named":true,"luaName":"DatadictGetInt","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"objectData","type":"Any*"},{"name":"key","type":"const char*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x96DEA500B6EBBE53","0x52FC26D2D2FC2987"],"build":"1207","gtaHash":"0x78F06F6B1FB5A80C","gtaJhash":"0xA6C68693","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/DATAFILE/DATADICT_GET_INT","markdownUrl":"https://natives.borderlinerp.com/natives/DATAFILE/DATADICT_GET_INT.md","snippets":{"lua":"local retval, objectData = DatadictGetInt(key)","luaInvoke":"local retval, objectData = Citizen.InvokeNative(0x9D896A3B87D96E2B, Citizen.PointerValueInt(), key, Citizen.ResultAsInteger())","js":"const [retval, objectData] = DatadictGetInt(key);","jsInvoke":"const [retval, objectData] = Citizen.invokeNative('0x9D896A3B87D96E2B', Citizen.pointerValueInt(), key, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var objectData = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x9D896A3B87D96E2B, objectData, key);\n// objectData.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}