Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld > GetAuthGameMode
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
template<class T>
T &42; GetAuthGameMode&40;&41; const
Remarks
Returns the current Game Mode instance cast to the template type. This can only return a valid pointer on the server and may be null if the cast fails. Will always return null on a client.