{"hash":"0x86A68E84E5884951","ns":"CLOCK","name":"_GET_POSIX_TIME_STRUCT","slug":"_GET_POSIX_TIME_STRUCT","official":false,"named":true,"luaName":"GetPosixTimeStruct","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"outTime","type":"Any*"}],"summary":"Same as GET_POSIX_TIME except that it takes a single pointer to a struct.","descriptions":[{"source":"alloc8or","format":"text","body":"Same as GET_POSIX_TIME except that it takes a single pointer to a struct."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CLOCK/_GET_POSIX_TIME_STRUCT","markdownUrl":"https://natives.borderlinerp.com/natives/CLOCK/_GET_POSIX_TIME_STRUCT.md","snippets":{"lua":"local outTime = GetPosixTimeStruct(outTime)","luaInvoke":"local outTime = Citizen.InvokeNative(0x86A68E84E5884951, Citizen.PointerValueIntInitialized(outTime))","js":"const outTime = GetPosixTimeStruct(outTime);","jsInvoke":"const outTime = Citizen.invokeNative('0x86A68E84E5884951', Citizen.pointerValueIntInitialized(outTime));","csharp":"var outTime = new OutputArgument();\nFunction.Call((Hash)0x86A68E84E5884951, outTime);\n// outTime.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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}