GASATHON/Project/Source/Gasa/GasaGameMode.h

19 lines
338 B
C
Raw Normal View History

2024-04-12 16:55:34 -07:00
#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>();
}
}