UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GameInstance.h File Reference

Go to the source code of this file.

Classes

class  UGameInstance
 

Namespaces

namespace  ERHIFeatureLevel
 
namespace  GameInstanceState
 

Typedefs

typedef FOnPreClientTravel::FDelegate FOnPreClientTravelDelegate
 

Functions

 DECLARE_MULTICAST_DELEGATE_ThreeParams (FOnPreClientTravel, const FString &, ETravelType, bool)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnPawnControllerChanged, APawn *, Pawn, AController *, Controller)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FOnUserInputDeviceConnectionChange, EInputDeviceConnectionState, NewConnectionState, FPlatformUserId, PlatformUserId, FInputDeviceId, InputDeviceId)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FOnUserInputDevicePairingChange, FInputDeviceId, InputDeviceId, FPlatformUserId, NewUserPlatformId, FPlatformUserId, OldUserPlatformId)
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FOnLocalPlayerEvent, ULocalPlayer *)
 

Variables

ENGINE_API const FName GameInstanceState::Playing
 

Typedef Documentation

◆ FOnPreClientTravelDelegate

typedef FOnPreClientTravel::FDelegate FOnPreClientTravelDelegate

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FOnUserInputDeviceConnectionChange  ,
EInputDeviceConnectionState  ,
NewConnectionState  ,
FPlatformUserId  ,
PlatformUserId  ,
FInputDeviceId  ,
InputDeviceId   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FOnUserInputDevicePairingChange  ,
FInputDeviceId  ,
InputDeviceId  ,
FPlatformUserId  ,
NewUserPlatformId  ,
FPlatformUserId  ,
OldUserPlatformId   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnPawnControllerChanged  ,
APawn *  ,
Pawn  ,
AController ,
Controller   
)

◆ DECLARE_MULTICAST_DELEGATE_OneParam()

DECLARE_MULTICAST_DELEGATE_OneParam ( FOnLocalPlayerEvent  ,
ULocalPlayer  
)

◆ DECLARE_MULTICAST_DELEGATE_ThreeParams()

DECLARE_MULTICAST_DELEGATE_ThreeParams ( FOnPreClientTravel  ,
const FString &  ,
ETravelType  ,
bool   
)

Notification that the client is about to travel to a new URL

Parameters
PendingURLthe travel URL
TravelTypetype of travel that will occur (absolute, relative, etc)
bIsSeamlessTravelis traveling seamlessly