Skip to content

Commit

Permalink
Make CP_ widget extension classes abstract to avoid confusion when cr…
Browse files Browse the repository at this point in the history
…eating configs
  • Loading branch information
budak7273 committed Oct 23, 2023
1 parent a08a682 commit 2e2ce58
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ enum class ECP_ArrayWidgetType : uint8
};


UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_Array : public UConfigPropertyArray {
GENERATED_BODY()
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "CP_Bool.generated.h"


UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_Bool : public UConfigPropertyBool {
GENERATED_BODY()
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "CP_Class.generated.h"


UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_Class : public UConfigPropertyClass {
GENERATED_BODY()
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum class ECP_FloatWidgetType : uint8
};


UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_Float : public UConfigPropertyFloat {
GENERATED_BODY()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enum class ECP_IntegerWidgetType : uint8
};


UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_Integer : public UConfigPropertyInteger {
GENERATED_BODY()
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ enum class ECP_SectionWidgetType : uint8
CPS_Vertical UMETA(Displayname = "Vertical List", Tooltip = "Nested Properties will be Listed in a Vertical Layout"),
};

UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_Section : public UConfigPropertySection {
GENERATED_BODY()
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "Configuration/Properties/ConfigPropertyString.h"
#include "CP_String.generated.h"

UCLASS(EditInlineNew)
UCLASS(EditInlineNew, Abstract)
class SML_API UCP_String : public UConfigPropertyString {
GENERATED_BODY()
public:
Expand Down

0 comments on commit 2e2ce58

Please sign in to comment.