The Lab
NETWORK native

_NETWORK_SESSION_GET_SESSION_REQUEST_RESULT

returns int2 paramsbuild 1207

Returns the result of the session request identified by sessionRequestId.

Signature

C
int _NETWORK_SESSION_GET_SESSION_REQUEST_RESULT(Any* sessionRequestId, int* p1); // 0x0DD051B1BF4B8BD6 b1207

Parameters

#NameType
1sessionRequestIdAny* (out pointer)
2p1int* (out pointer)

Facts

Facts about _NETWORK_SESSION_GET_SESSION_REQUEST_RESULT
Name
_NETWORK_SESSION_GET_SESSION_REQUEST_RESULT
Hash
0x0DD051B1BF4B8BD6
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, sessionRequestId, p1 = Citizen.InvokeNative(0x0DD051B1BF4B8BD6, -- _NETWORK_SESSION_GET_SESSION_REQUEST_RESULT
  Citizen.PointerValueInt(), -- Any* sessionRequestId
  Citizen.PointerValueInt(), -- int* p1
  Citizen.ResultAsInteger()
)
print(result, sessionRequestId, p1)
JavaScript
const [result, sessionRequestId, p1] = Citizen.invokeNative("0x0DD051B1BF4B8BD6", // _NETWORK_SESSION_GET_SESSION_REQUEST_RESULT
  Citizen.pointerValueInt(), // Any* sessionRequestId
  Citizen.pointerValueInt(), // int* p1
  Citizen.resultAsInteger()
);
console.log(result, sessionRequestId, p1)
C#
var sessionRequestIdArg = new OutputArgument();
var p1Arg = new OutputArgument();
int result = Function.Call<int>((Hash)0x0DD051B1BF4B8BD6, // _NETWORK_SESSION_GET_SESSION_REQUEST_RESULT
  sessionRequestIdArg, // Any* sessionRequestId
  p1Arg // int* p1
);
int sessionRequestId = sessionRequestIdArg.GetResult<int>();
int p1 = p1Arg.GetResult<int>();
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.