{"hash":"0x2738D68D2B4E09E7","ns":"UISTATEMACHINE","name":"UI_STATE_MACHINE_DESTROY_AND_CLEAR","slug":"UI_STATE_MACHINE_DESTROY_AND_CLEAR","official":true,"named":true,"luaName":"UiStateMachineDestroyAndClear","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"p0","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/UISTATEMACHINE/UI_STATE_MACHINE_DESTROY_AND_CLEAR","markdownUrl":"https://natives.borderlinerp.com/natives/UISTATEMACHINE/UI_STATE_MACHINE_DESTROY_AND_CLEAR.md","snippets":{"lua":"local p0 = UiStateMachineDestroyAndClear(p0)","luaInvoke":"local p0 = Citizen.InvokeNative(0x2738D68D2B4E09E7, Citizen.PointerValueIntInitialized(p0))","js":"const p0 = UiStateMachineDestroyAndClear(p0);","jsInvoke":"const p0 = Citizen.invokeNative('0x2738D68D2B4E09E7', Citizen.pointerValueIntInitialized(p0));","csharp":"var p0 = new OutputArgument();\nFunction.Call((Hash)0x2738D68D2B4E09E7, p0);\n// p0.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."]}}