Nelaric Unreal Gameplay
Gameplay framework API
Loading...
Searching...
No Matches
SessionTransitionSubsystem.h File Reference
#include "CoreTypes.h"
#include "Containers/Ticker.h"
#include "Core/NetWork/NetworkEndpoint.h"
#include "Delegates/Delegate.h"
#include "Engine/EngineBaseTypes.h"
#include "Misc/Optional.h"
#include "Subsystems/GameInstanceSubsystem.h"
#include "Templates/UniquePtr.h"
#include "UObject/WeakObjectPtr.h"
#include "SessionTransitionSubsystem.generated.h"

Go to the source code of this file.

Classes

struct  Nelaric::FTransitionDestination
 Game and approval endpoints of one destination server. More...
struct  Nelaric::FTransitionHandle
 Stable identity of one accepted transition request. More...
struct  Nelaric::FTransitionCallbacks
 Terminal callbacks for one asynchronous mode request. More...
class  USessionTransitionSubsystem
 Coordinates requests for a game world's network role. More...

Enumerations

enum class  Nelaric::ETransitionError : uint8 {
  UnsupportedMode , NoWorld , MissingDestination , Busy ,
  AuthorityRejected , AuthorityUnavailable , ConfirmationInvalid , TravelFailed ,
  NetworkFailed , UnexpectedNetMode
}
 Reason a network-mode request could not complete. More...

Functions

 Nelaric::DECLARE_DELEGATE_RetVal_TwoParams (bool, FStartTransitionApproval, uint64, const FTransitionDestination &)
 Starts approval for a request and its destination endpoints.
 Nelaric::DECLARE_DELEGATE_OneParam (FOnTransitionTerminated, uint64)
 Releases transport state for a terminal request.
 Nelaric::DECLARE_DELEGATE_TwoParams (FOnTransitionSucceeded, FTransitionHandle, ENetMode)
 Reports a verified destination mode on the game thread.
 Nelaric::DECLARE_DELEGATE_OneParam (FOnTransitionCancelled, FTransitionHandle)
 Reports cancellation on the game thread.
 Nelaric::DECLARE_DELEGATE_OneParam (FOnTransitionTimedOut, FTransitionHandle)
 Reports timeout on the game thread.
 Nelaric::DECLARE_DELEGATE_TwoParams (FOnTransitionFailed, FTransitionHandle, ETransitionError)
 Reports a transition failure on the game thread.

Detailed Description

Declares requests for an observed game-world network mode.

Enumeration Type Documentation

◆ ETransitionError

enum class Nelaric::ETransitionError : uint8
strong

Reason a network-mode request could not complete.

Enumerator
UnsupportedMode 

The target mode or source-to-target route is unsupported.

NoWorld 

No game world is available for the request.

MissingDestination 

A required map or remote destination is unavailable.

Busy 

Another transition is already active.

AuthorityRejected 

The source or destination authority denied the request.

AuthorityUnavailable 

A required authority could not be reached for confirmation.

ConfirmationInvalid 

A confirmation expired or no longer matches this request.

TravelFailed 

Map travel did not establish the requested world.

NetworkFailed 

Network setup or connection failed.

UnexpectedNetMode 

The resulting world has a different network mode.