![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "GameFramework/GameSession.h"#include "Engine/World.h"#include "Misc/CommandLine.h"#include "Engine/Engine.h"#include "Kismet/GameplayStatics.h"#include "GameFramework/GameModeBase.h"#include "Engine/NetConnection.h"#include "Net/OnlineEngineInterface.h"#include "GameFramework/PlayerState.h"Functions | |
| DEFINE_LOG_CATEGORY (LogGameSession) | |
| APlayerController * | GetPlayerControllerFromNetId (UWorld *World, const FUniqueNetId &PlayerNetId) |
| APlayerController * | GetPlayerControllerFromNetId (UWorld *World, const FUniqueNetIdRepl &PlayerNetId) |
| DEFINE_LOG_CATEGORY | ( | LogGameSession | ) |
| APlayerController * GetPlayerControllerFromNetId | ( | UWorld * | World, |
| const FUniqueNetId & | PlayerNetId | ||
| ) |
| APlayerController * GetPlayerControllerFromNetId | ( | UWorld * | World, |
| const FUniqueNetIdRepl & | PlayerNetId | ||
| ) |
Returns the player controller associated with this net id
| PlayerNetId | the id to search for |