Files
2025-05-18 13:04:45 +08:00

31 lines
726 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* State graph manager for AGameSession::Restart.
*/
#include "StateGraphManager.h"
#include "Subsystems/WorldSubsystem.h"
#include "RestartServerManager.generated.h"
namespace UE::RestartServer::Name
{
STATEGRAPHMANAGER_API extern const FName StateGraph;
} // UE::RestartServer::Name
/** Subsystem manager that other modules and subsystems can depend on to add RestartServer state graph delegates with. */
UCLASS(MinimalAPI)
class URestartServerManager : public UWorldSubsystem, public UE::FStateGraphManagerTracked
{
GENERATED_BODY()
public:
virtual FName GetStateGraphName() const override
{
return UE::RestartServer::Name::StateGraph;
}
};