{"hash":"0x2F54B146D3EDCE4D","ns":"NETWORK","name":"NETWORK_SESSION_IS_SESSION_REQUEST_ID_VALID","slug":"NETWORK_SESSION_IS_SESSION_REQUEST_ID_VALID","official":true,"named":true,"luaName":"NetworkSessionIsSessionRequestIdValid","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_IS_SESSION_REQUEST_ID_VALID","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_SESSION_IS_SESSION_REQUEST_ID_VALID.md","snippets":{"lua":"local retval, sessionRequestId = NetworkSessionIsSessionRequestIdValid(sessionRequestId)","luaInvoke":"local retval, sessionRequestId = Citizen.InvokeNative(0x2F54B146D3EDCE4D, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())","js":"const [retval, sessionRequestId] = NetworkSessionIsSessionRequestIdValid(sessionRequestId);","jsInvoke":"const [retval, sessionRequestId] = Citizen.invokeNative('0x2F54B146D3EDCE4D', Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());","csharp":"var sessionRequestId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x2F54B146D3EDCE4D, 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."]}}