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:
|
|
|
|
|
};
|
2024-04-12 23:31:49 -07:00
|
|
|
|
|
|
|
|
|
namespace Gasa
|
|
|
|
|
{
|
|
|
|
|
FORCEINLINE
|
|
|
|
|
AGasaGameMode* GetGameMode(UObject* Context) {
|
|
|
|
|
return Context->GetWorld()->GetAuthGameMode<AGasaGameMode>();
|
|
|
|
|
}
|
|
|
|
|
}
|