{"hash":"0x04019AE4956D4393","ns":"NETWORK","name":"NETWORK_REQUEST_SESSION_SEAMLESS","slug":"NETWORK_REQUEST_SESSION_SEAMLESS","official":true,"named":true,"luaName":"NetworkRequestSessionSeamless","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"flags","type":"int"},{"name":"seamlessType","type":"int"},{"name":"sessionRequestId","type":"Any*"}],"summary":"SEAMLESS_TYPE_NORMAL, SEAMLESS_TYPE_PVE, SEAMLESS_TYPE_DEV, SEAMLESS_TYPE_NO_SEAMLESS","descriptions":[{"source":"alloc8or","format":"text","body":"flags:\nenum eSessionRequestOptionFlags\n{\n\tSESSION_REQUEST_OPTION_FLAG_INCLUDE_GANG_MEMBERS = (1 << 1),\n\tSESSION_REQUEST_OPTION_FLAG_LEADER_KEEPS_GANG = (1 << 7),\n};\n\nseamlessType:\nenum eSeamlessType\n{\n\tSEAMLESS_TYPE_NORMAL,\n\tSEAMLESS_TYPE_PVE,\n\tSEAMLESS_TYPE_DEV,\n\tSEAMLESS_TYPE_NO_SEAMLESS\n};"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_REQUEST_SESSION_SEAMLESS","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_REQUEST_SESSION_SEAMLESS.md","snippets":{"lua":"local retval, sessionRequestId = NetworkRequestSessionSeamless(flags, seamlessType, sessionRequestId)","luaInvoke":"local retval, sessionRequestId = Citizen.InvokeNative(0x04019AE4956D4393, flags, seamlessType, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())","js":"const [retval, sessionRequestId] = NetworkRequestSessionSeamless(flags, seamlessType, sessionRequestId);","jsInvoke":"const [retval, sessionRequestId] = Citizen.invokeNative('0x04019AE4956D4393', flags, seamlessType, Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());","csharp":"var sessionRequestId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x04019AE4956D4393, flags, seamlessType, 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."]}}