{"hash":"0x28EEACE9B43D9597","ns":"CLOCK","name":"_ADD_TIME_TO_DATE_TIME","slug":"_ADD_TIME_TO_DATE_TIME","official":false,"named":true,"luaName":"AddTimeToDateTime","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"inDateTime","type":"Any*"},{"name":"timeToAdd","type":"Any*"},{"name":"outDateTime","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/CLOCK/_ADD_TIME_TO_DATE_TIME","markdownUrl":"https://natives.borderlinerp.com/natives/CLOCK/_ADD_TIME_TO_DATE_TIME.md","snippets":{"lua":"local inDateTime, timeToAdd, outDateTime = AddTimeToDateTime()","luaInvoke":"local inDateTime, timeToAdd, outDateTime = Citizen.InvokeNative(0x28EEACE9B43D9597, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt())","js":"const [inDateTime, timeToAdd, outDateTime] = AddTimeToDateTime();","jsInvoke":"const [inDateTime, timeToAdd, outDateTime] = Citizen.invokeNative('0x28EEACE9B43D9597', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt());","csharp":"var inDateTime = new OutputArgument();\nvar timeToAdd = new OutputArgument();\nvar outDateTime = new OutputArgument();\nFunction.Call((Hash)0x28EEACE9B43D9597, inDateTime, timeToAdd, outDateTime);\n// inDateTime.GetResult<int>()\n// timeToAdd.GetResult<int>()\n// outDateTime.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.","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."]}}