UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
Mod::Extension::FModNetworkHandshake Class Reference

Game Thread handshake on UE's pending connection. More...

#include <ModExtensionSession.h>

Public Member Functions

bool ReceivePlan (UNetConnection &Connection, uint8 Message, const FString &Value, FString &Error)
 Accepts and validates a control message for the current pending join.
bool GetExpectedPlan (const UNetConnection &Connection, const FURL &URL, FString &Digest, FString &Error) const
 Verifies the pending peer and map before UE loads network gameplay.
void Reset ()
 Clears the plan when the pending join ends or fails.

Static Public Member Functions

static FString GetContractDigest ()
 Fingerprints the generated host API, Hook, and Event contracts.
static FString MakeLoginOption (const UModExtensionSubsystem *Extensions)
 Builds the single URL option submitted in the client's login request.
static bool VerifyLogin (const UModExtensionSubsystem &Extensions, const FString &Options, FString &Error)
 Compares the client's admitted releases with the ready server World.
static bool SendPlan (const UModExtensionSubsystem &Extensions, UNetConnection &Connection)
 Sends the server's plan before UE sends Welcome.
static bool ConfirmPlan (const UModExtensionSubsystem &Extensions, UNetConnection &Connection, const FString &Digest)
 Confirms the ready client plan to the server on the pending connection.
static bool ReceiveAcknowledgment (const UModExtensionSubsystem &Extensions, uint8 Message, const FString &Value, bool &bAccepted)
 Checks whether an acknowledgment matches the ready server plan.

Detailed Description

Game Thread handshake on UE's pending connection.

Login compares the admitted gameplay releases before Welcome. The client checks the map and confirms its ready plan before Join.


The documentation for this class was generated from the following file: