#include "GameMode.h" #include "reboot.h" void AGameMode::RestartGame() { static auto RestartGameFn = FindObject("/Script/Engine.GameMode.RestartGame"); this->ProcessEvent(RestartGameFn); }