{"hash":"0x4DEC5000F7B508F0","ns":"NETWORK","name":"_NETWORK_SESSION_ARE_SESSION_IDS_EQUAL","slug":"_NETWORK_SESSION_ARE_SESSION_IDS_EQUAL","official":false,"named":true,"luaName":"NetworkSessionAreSessionIdsEqual","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"sessionId1","type":"Any*"},{"name":"sessionId2","type":"Any*"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"Note: this native was added in build 1311.23"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1311","unused":true,"sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_SESSION_ARE_SESSION_IDS_EQUAL","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_SESSION_ARE_SESSION_IDS_EQUAL.md","snippets":{"lua":"local retval, sessionId1, sessionId2 = NetworkSessionAreSessionIdsEqual()","luaInvoke":"local retval, sessionId1, sessionId2 = Citizen.InvokeNative(0x4DEC5000F7B508F0, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, sessionId1, sessionId2] = NetworkSessionAreSessionIdsEqual();","jsInvoke":"const [retval, sessionId1, sessionId2] = Citizen.invokeNative('0x4DEC5000F7B508F0', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var sessionId1 = new OutputArgument();\nvar sessionId2 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x4DEC5000F7B508F0, sessionId1, sessionId2);\n// sessionId1.GetResult<int>()\n// sessionId2.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`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."]}}