#pragma once #include "CoreMinimal.h" #include "GameFramework/GameModeBase.h" #include "SaltyGameMode.generated.h" // The server's game mode. Exists only on the server, which makes it the one place a session is minted. Step 3 // adds login and spawning; until then the template's Blueprint game mode derives from it through // ATemplateGameMode and inherits the session. UCLASS() class SALTY_API ASaltyGameMode : public AGameModeBase { GENERATED_BODY() public: ASaltyGameMode(); virtual void InitGameState() override; };