/Engine/Source/Runtime/Engine/Classes/Engine/World.h
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.
template<class T> T * GetAuthGameMode() const