#pragma once #include "CoreMinimal.h" #include "GameFramework/GameModeBase.h" #include "Core/DescentBoot.h" #include "DescentGameMode.generated.h" /** * The game mode every map of The Descent runs under. Set as the project default in DefaultEngine.ini. * StartPlay runs the boot registry (Core/DescentBoot.h, DESIGN_UE.md section 1.5): every system spawns what it owns * from its own boot step, so this class never changes when a system is added. */ UCLASS() class THEDESCENT_API ADescentGameMode : public AGameModeBase { GENERATED_BODY() public: ADescentGameMode(); virtual void StartPlay() override; /** What the boot steps did at StartPlay (empty before it ran). */ const FDescentBootReport& GetBootReport() const { return BootReport; } private: FDescentBootReport BootReport; };