You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Edit conditions are now correctly applied to fields of nested structs. #jira UE-76079 #rb chris.gagnon [FYI] jamie.dale #ROBOMERGE-OWNER: ben.marsh #ROBOMERGE-AUTHOR: sebastian.nordgren #ROBOMERGE-SOURCE: CL 6969280 in //UE4/Dev-Editor/... via CL 6969287 #ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689) [CL 7090684 by sebastian nordgren in Dev-Build branch]
45 lines
827 B
C++
45 lines
827 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UObject/Object.h"
|
|
#include "EditConditionParserTests.generated.h"
|
|
|
|
UENUM()
|
|
enum class EditConditionTestEnum
|
|
{
|
|
First = 15,
|
|
Second = 31
|
|
};
|
|
|
|
UENUM()
|
|
enum EditConditionByteEnum
|
|
{
|
|
First = 15,
|
|
Second = 31
|
|
};
|
|
|
|
UCLASS(transient)
|
|
class UEditConditionTestObject : public UObject
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
UPROPERTY(EditAnywhere, Category=Test)
|
|
bool BoolProperty;
|
|
|
|
UPROPERTY(EditAnywhere, Category=Test)
|
|
EditConditionTestEnum EnumProperty;
|
|
|
|
UPROPERTY(EditAnywhere, Category=Test)
|
|
TEnumAsByte<EditConditionByteEnum> ByteEnumProperty;
|
|
|
|
UPROPERTY(EditAnywhere, Category=Test)
|
|
double DoubleProperty;
|
|
|
|
UPROPERTY(EditAnywhere, Category=Test)
|
|
int32 IntegerProperty;
|
|
|
|
UPROPERTY(EditAnywhere, Category=Test)
|
|
uint8 UintBitfieldProperty : 1;
|
|
};
|