GASATHON/Project/Source/Gasa/GasaGameMode.h
2024-04-13 02:31:49 -04:00

19 lines
338 B
C++

#pragma once
#include "GameFramework/GameMode.h"
#include "GasaGameMode.generated.h"
UCLASS(Blueprintable)
class GASA_API AGasaGameMode : public AGameMode
{
GENERATED_BODY()
public:
};
namespace Gasa
{
FORCEINLINE
AGasaGameMode* GetGameMode(UObject* Context) {
return Context->GetWorld()->GetAuthGameMode<AGasaGameMode>();
}
}