10#include "StructSerializerTestTypes.generated.h"
63 ,
Int64(-92233720368547)
175 , WrappedClass(
nullptr)
179 , WrappedObject(
nullptr)
182 , ClassPath((
UClass*)
nullptr)
200 UPROPERTY(meta=(IgnoreForMemberInitializationTest))
239 , Datetime(2048, 2, 4, 8, 16, 32, 64)
241 ,
Vector(1.0f, 2.0f, 3.0f)
242 ,
Vector4(4.0f, 5.0f, 6.0f, 7.0f)
244 ,
Quat(1.0f, 2.0f, 3.0f, 0.46f)
245 ,
Color(3, 255, 60, 255)
321 ,
Vector4(0.5, 1.25, 2.5, 3.75)
322 ,
Matrix(
FVector(1.25, 2.25, 3.25),
FVector(4.25, 5.5, 6.5),
FVector(7.25, 8.25, 9.25),
FVector(1, 2, 3))
323 ,
Plane(0.25, 1.25, 2.25, 3.25)
324 ,
Quat(0.25, 0.5, 0.75, 1.)
333 OrientedBox.AxisX =
FVector(1.0, 1.0, 1.0);
334 OrientedBox.AxisY =
FVector(2.0, 2.0, 2.0);
335 OrientedBox.AxisZ =
FVector(3.0, 3.0, 3.0);
336 OrientedBox.Center =
FVector(5.0, 5.0, 5.0);
337 OrientedBox.ExtentX = 10.0;
338 OrientedBox.ExtentY = 20.0;
339 OrientedBox.ExtentZ = 30.0;
341 VectorArray.Add(
FVector(1.0, 2.0, 3.0));
342 VectorArray.Add(
FVector(-1.0, -2.0, -3.0));
344 StrToVec.Add(
TEXT(
"V000"),
FVector(0.0, 0.0, 0.0));
345 StrToVec.Add(
TEXT(
"V123"),
FVector(1.0, 2.0, 3.0));
346 StrToVec.Add(
TEXT(
"V666"),
FVector(6.0, 6.0, 6.0));
366 ,
AxisX(1.0f, 0.0f, 0.0f)
367 ,
AxisY(0.0f, 1.0f, 0.0f)
368 ,
AxisZ(0.0f, 0.0f, 1.0f)
466 :
Vector(1.25f, 2.5f, 3.75f)
468 ,
Vector4(0.5f, 1.25f, 2.5f, 3.75f)
469 ,
Matrix(
FVector3f(1.25f, 2.25f, 3.25f),
FVector3f(4.25f, 5.5f, 6.5f),
FVector3f(7.25f, 8.25f, 9.25f),
FVector3f(1.f, 2.f, 3.f))
470 ,
Plane(0.25f, 1.25f, 2.25f, 3.25f)
471 ,
Quat(0.25f, 0.5f, 0.75f, 1.f)
480 OrientedBox.AxisX =
FVector3f(1.0f, 1.0f, 1.0f);
481 OrientedBox.AxisY =
FVector3f(2.0f, 2.0f, 2.0f);
482 OrientedBox.AxisZ =
FVector3f(3.0f, 3.0f, 3.0f);
483 OrientedBox.Center =
FVector3f(5.0f, 5.0f, 5.0f);
484 OrientedBox.ExtentX = 10.0f;
485 OrientedBox.ExtentY = 20.0f;
486 OrientedBox.ExtentZ = 30.0f;
488 VectorArray.Add(
FVector3f(1.0f, 2.0f, 3.0f));
489 VectorArray.Add(
FVector3f(-1.0f, -2.0f, -3.0f));
574 float StaticFloatArray[3];
579 UPROPERTY(meta=(IgnoreForMemberInitializationTest))
593 StaticSingleElement[0] = 42;
595 StaticInt32Array[0] = -1;
596 StaticInt32Array[1] = 0;
597 StaticInt32Array[2] = 1;
599 StaticFloatArray[0] = -1.0f;
600 StaticFloatArray[1] = 0.0f;
601 StaticFloatArray[2] = 1.0f;
603 VectorArray.Add(
FVector(1.0f, 2.0f, 3.0f));
604 VectorArray.Add(
FVector(-1.0f, -2.0f, -3.0f));
606 StructArray.AddDefaulted(2);
626 TMap<FString, FString> StrToStr;
631 UPROPERTY(meta=(IgnoreForMemberInitializationTest))
637 IntToStr.Add(1,
TEXT(
"One"));
638 IntToStr.Add(2,
TEXT(
"Two"));
639 IntToStr.Add(3,
TEXT(
"Three"));
641 StrToStr.Add(
TEXT(
"StrAll"),
TEXT(
"All"));
642 StrToStr.Add(
TEXT(
"StrYour"),
TEXT(
"Your"));
643 StrToStr.Add(
TEXT(
"StrBase"),
TEXT(
"Base"));
645 StrToVec.Add(
TEXT(
"V000"),
FVector(0.0f, 0.0f, 0.0f));
646 StrToVec.Add(
TEXT(
"V123"),
FVector(1.0f, 2.0f, 3.0f));
647 StrToVec.Add(
TEXT(
"V666"),
FVector(6.0f, 6.0f, 6.0f));
666 TSet<FString> StrSet;
674 UPROPERTY(meta=(IgnoreForMemberInitializationTest))
684 StrSet.Add(
TEXT(
"Are"));
685 StrSet.Add(
TEXT(
"Belong"));
686 StrSet.Add(
TEXT(
"To"));
687 StrSet.Add(
TEXT(
"Us"));
689 NameSet.Add(
TEXT(
"Make"));
690 NameSet.Add(
TEXT(
"Your"));
691 NameSet.Add(
TEXT(
"Time"));
726 UPROPERTY(meta=(IgnoreForMemberInitializationTest))
776 UPROPERTY(meta=(IgnoreForMemberInitializationTest))
ENoInit
Definition CoreMiscDefines.h:158
@ NoInit
Definition CoreMiscDefines.h:158
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define FVector
Definition IOSSystemIncludes.h:8
UE::Math::TVector< float > FVector3f
Definition MathFwd.h:73
const bool
Definition NetworkReplayStreaming.h:178
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
FORCEINLINE uint32 GetTypeHash(const FStructSerializerBuiltinTestStruct &S)
Definition StructSerializerTestTypes.h:506
FORCEINLINE VectorRegister4Float VectorSet(float X, float Y, float Z, float W)
Definition UnrealMathVectorCommon.h.inl:867
Definition NameTypes.h:617
Definition UnrealString.h.inl:34
Definition SoftObjectPtr.h:763
Definition SubclassOf.h:30
Definition StructSerializerTestTypes.h:16
Definition TestUtils.cpp:8
@ false
Definition radaudio_common.h:23
Definition StructSerializerTestTypes.h:361
Definition OrientedBox.h:13
Definition SoftObjectPath.h:539
Definition SoftObjectPath.h:56
Definition StructSerializerTestTypes.h:558
FStructSerializerArrayTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:610
Definition StructSerializerTestTypes.h:82
FStructSerializerBooleanTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:130
Definition StructSerializerTestTypes.h:197
bool operator==(const FStructSerializerBuiltinTestStruct &Rhs) const
Definition StructSerializerTestTypes.h:251
FStructSerializerBuiltinTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:249
Definition StructSerializerTestTypes.h:516
FStructSerializerByteArray(ENoInit)
Definition StructSerializerTestTypes.h:549
Definition StructSerializerTestTypes.h:263
FStructSerializerLWCTypesTest(ENoInit)
Definition StructSerializerTestTypes.h:352
Definition StructSerializerTestTypes.h:619
FStructSerializerMapTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:654
Definition StructSerializerTestTypes.h:410
FStructSerializerNonLWCTypesTest(ENoInit)
Definition StructSerializerTestTypes.h:499
Definition StructSerializerTestTypes.h:25
FStructSerializerNumericTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:73
Definition StructSerializerTestTypes.h:139
FStructSerializerObjectTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:187
Definition StructSerializerTestTypes.h:705
FStructSerializerOptionalTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:756
Definition StructSerializerTestTypes.h:662
FStructSerializerSetTestStruct(ENoInit)
Definition StructSerializerTestTypes.h:697
Definition StructSerializerTestTypes.h:764
Definition ObjectPtr.h:488
Definition Optional.h:131
Definition SoftObjectPtr.h:174
Definition WeakObjectPtrTemplates.h:25
Definition BoxSphereBounds.h:25