{"hash":"0xE72E5C1289BD1F40","ns":"NETWORK","name":"_NETWORK_SESSION_CANCEL_REQUEST","slug":"_NETWORK_SESSION_CANCEL_REQUEST","official":false,"named":true,"luaName":"NetworkSessionCancelRequest","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"sessionRequestId","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_SESSION_CANCEL_REQUEST","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_SESSION_CANCEL_REQUEST.md","snippets":{"lua":"local retval, sessionRequestId = NetworkSessionCancelRequest(sessionRequestId)","luaInvoke":"local retval, sessionRequestId = Citizen.InvokeNative(0xE72E5C1289BD1F40, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())","js":"const [retval, sessionRequestId] = NetworkSessionCancelRequest(sessionRequestId);","jsInvoke":"const [retval, sessionRequestId] = Citizen.invokeNative('0xE72E5C1289BD1F40', Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());","csharp":"var sessionRequestId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xE72E5C1289BD1F40, sessionRequestId);\n// sessionRequestId.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."]}}