NETWORK_REQUEST_SESSION_SEAMLESS
Requests a seamless session with the given flags and type, writing the request id to sessionRequestId. Returns true if the request started.
Signature
BOOL NETWORK_REQUEST_SESSION_SEAMLESS(int flags, int seamlessType, Any* sessionRequestId); // 0x04019AE4956D4393 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | flags | int |
| 2 | seamlessType | int |
| 3 | sessionRequestId | Any* (out pointer) |
Facts
| Name | NETWORK_REQUEST_SESSION_SEAMLESS |
|---|---|
| Hash | 0x04019AE4956D4393 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, sessionRequestId = Citizen.InvokeNative(0x04019AE4956D4393, -- NETWORK_REQUEST_SESSION_SEAMLESS
0, -- int flags
0, -- int seamlessType
Citizen.PointerValueInt(), -- Any* sessionRequestId
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, sessionRequestId] = Citizen.invokeNative("0x04019AE4956D4393", // NETWORK_REQUEST_SESSION_SEAMLESS
0, // int flags
0, // int seamlessType
Citizen.pointerValueInt(), // Any* sessionRequestId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var sessionRequestIdArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x04019AE4956D4393, // NETWORK_REQUEST_SESSION_SEAMLESS
0, // int flags
0, // int seamlessType
sessionRequestIdArg // Any* sessionRequestId
);
int sessionRequestId = sessionRequestIdArg.GetResult<int>();Related NETWORK natives
- NETWORK_SESSION_REQUEST_SESSION_SEAMLESS
- NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
- NETWORK_SESSION_IS_SESSION_REQUEST_ID_VALID
- NETWORK_SESSION_REQUEST_SESSION_COMPETITIVE
- NETWORK_SESSION_REQUEST_SESSION_PRIVATE
- _NETWORK_SESSION_GET_SESSION_REQUEST_RESULT
- _NETWORK_SESSION_REQUEST_SESSION_NOMINATED
- _NETWORK_SESSION_REQUEST_SESSION_ON_CALL
- NETWORK_AUTO_SESSION_CAN_SPLIT_SESSION
- NETWORK_AUTO_SESSION_SPLIT_SESSION
- NETWORK_REQUEST_CLOUD_TUNABLES
- NETWORK_REQUEST_CONTROL_OF_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.