/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/GameStateComponent.h
Gets the game mode that owns this component, this will always return null on the client
template<class T> T * GetGameMode() const