{"hash":"0x309BBEBEA8A3986C","ns":"NETWORK","name":"NETWORK_SESSION_REQUEST_SESSION_COMPETITIVE","slug":"NETWORK_SESSION_REQUEST_SESSION_COMPETITIVE","official":true,"named":true,"luaName":"NetworkSessionRequestSessionCompetitive","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"flags","type":"int"},{"name":"matchType","type":"int"},{"name":"userHash","type":"int"},{"name":"p3","type":"int"},{"name":"sessionRequestId","type":"Any*"}],"summary":"MATCHTYPE_DEPRECATED, MATCHTYPE_UGCPLAYLIST, MATCHTYPE_UGCMISSION, MATCHTYPE_MINIGAME, MATCHTYPE_SEAMLESS, MATCHTYPE_PRIVATE_DO_NOT_USE","descriptions":[{"source":"alloc8or","format":"text","body":"matchType:\nenum eMatchType\n{\n\tMATCHTYPE_DEPRECATED,\n\tMATCHTYPE_UGCPLAYLIST,\n\tMATCHTYPE_UGCMISSION,\n\tMATCHTYPE_MINIGAME,\n\tMATCHTYPE_SEAMLESS,\n\tMATCHTYPE_PRIVATE_DO_NOT_USE\n};"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_SESSION_REQUEST_SESSION_COMPETITIVE","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_SESSION_REQUEST_SESSION_COMPETITIVE.md","snippets":{"lua":"local retval, sessionRequestId = NetworkSessionRequestSessionCompetitive(flags, matchType, userHash, p3, sessionRequestId)","luaInvoke":"local retval, sessionRequestId = Citizen.InvokeNative(0x309BBEBEA8A3986C, flags, matchType, userHash, p3, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())","js":"const [retval, sessionRequestId] = NetworkSessionRequestSessionCompetitive(flags, matchType, userHash, p3, sessionRequestId);","jsInvoke":"const [retval, sessionRequestId] = Citizen.invokeNative('0x309BBEBEA8A3986C', flags, matchType, userHash, p3, Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());","csharp":"var sessionRequestId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x309BBEBEA8A3986C, flags, matchType, userHash, p3, 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."]}}