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

Functions

 DEFINE_LOG_CATEGORY (LogGameSession)
 
APlayerControllerGetPlayerControllerFromNetId (UWorld *World, const FUniqueNetId &PlayerNetId)
 
APlayerControllerGetPlayerControllerFromNetId (UWorld *World, const FUniqueNetIdRepl &PlayerNetId)
 

Function Documentation

◆ DEFINE_LOG_CATEGORY()

DEFINE_LOG_CATEGORY ( LogGameSession  )

◆ GetPlayerControllerFromNetId() [1/2]

APlayerController * GetPlayerControllerFromNetId ( UWorld World,
const FUniqueNetId PlayerNetId 
)

◆ GetPlayerControllerFromNetId() [2/2]

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