UGameEngine::GetGameWorld

This is a global, parameterless function used by the online subsystem modules.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameEngine.h

Include

#include "Engine/GameEngine.h"

Source

/Engine/Source/Runtime/Engine/Private/GameEngine.cpp

Syntax

UWorld * GetGameWorld()

Remarks

This is a global, parameterless function used by the online subsystem modules. It should never be used in gamecode - instead use the appropriate world context function in order to properly support multiple concurrent UWorlds.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss