Ed_
6765478a9d
- Enabled a few more plugins - Added clang formatting straight from the GasaGen cpp. - Setup auto-generation of the DevOptionsCache - Messed around with generating widgettree hiearchy from template widget
42 lines
999 B
C++
42 lines
999 B
C++
#pragma once
|
|
|
|
#include "Engine/DeveloperSettings.h"
|
|
|
|
#include "GasaCommon.h"
|
|
|
|
#include "GasaDevOptions.generated.h"
|
|
|
|
UCLASS(Config=Game, DefaultConfig, meta=(DisplayName="Gasa"))
|
|
class GASA_API UGasaDevOptions : public UDeveloperSettings
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
// NOTE(Ed): Any Soft-References must have their includes defined in GasaDevOptions.cpp
|
|
// They are used by GasaGen for the GasaDevOptionsCache
|
|
|
|
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category="UI")
|
|
TSoftClassPtr<ACameraMount> Template_PlayerCamera;
|
|
|
|
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category="UI")
|
|
TSoftClassPtr<UUI_HostWidget> Template_HUD_HostUI;
|
|
|
|
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category="Tags")
|
|
FName Tag_GlobalPPV;
|
|
};
|
|
|
|
namespace Gasa
|
|
{
|
|
extern FName Tag_GlobalPPV;
|
|
|
|
FORCEINLINE
|
|
UGasaDevOptions const* GetDevOptions() {
|
|
return GetDefault<UGasaDevOptions>();
|
|
}
|
|
|
|
FORCEINLINE
|
|
UGasaDevOptions* GetMutDevOptions() {
|
|
return GetMutableDefault<UGasaDevOptions>();
|
|
}
|
|
}
|