{"hash":"0xE9B356C330C0A806","ns":"NETWORK","name":"_NETWORK_SESSION_GET_SESSION_ID","slug":"_NETWORK_SESSION_GET_SESSION_ID","official":false,"named":true,"luaName":"NetworkSessionGetSessionId","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"sessionId","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_GET_SESSION_ID","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_SESSION_GET_SESSION_ID.md","snippets":{"lua":"local sessionId = NetworkSessionGetSessionId(sessionId)","luaInvoke":"local sessionId = Citizen.InvokeNative(0xE9B356C330C0A806, Citizen.PointerValueIntInitialized(sessionId))","js":"const sessionId = NetworkSessionGetSessionId(sessionId);","jsInvoke":"const sessionId = Citizen.invokeNative('0xE9B356C330C0A806', Citizen.pointerValueIntInitialized(sessionId));","csharp":"var sessionId = new OutputArgument();\nFunction.Call((Hash)0xE9B356C330C0A806, sessionId);\n// sessionId.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."]}}