UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GameSession.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "GameFramework/Actor.h"
#include "Online/CoreOnline.h"
#include "GameFramework/Info.h"
#include "GameSession.generated.h"

Go to the source code of this file.

Classes

class  AGameSession
 

Functions

ENGINE_API DECLARE_LOG_CATEGORY_EXTERN (LogGameSession, Log, All)
 
ENGINE_API APlayerControllerGetPlayerControllerFromNetId (UWorld *World, const FUniqueNetIdRepl &PlayerNetId)
 

Function Documentation

◆ DECLARE_LOG_CATEGORY_EXTERN()

ENGINE_API DECLARE_LOG_CATEGORY_EXTERN ( LogGameSession  ,
Log  ,
All   
)

◆ GetPlayerControllerFromNetId()

ENGINE_API APlayerController * GetPlayerControllerFromNetId ( UWorld World,
const FUniqueNetIdRepl PlayerNetId 
)

Returns the player controller associated with this net id

Parameters
PlayerNetIdthe id to search for
Returns
the player controller if found, otherwise NULL