Exemplo n.º 1
0
 static void LoadNativeType()
 {
     IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.IntPoint");
     FIntPoint_StructSize = NativeReflection.GetStructSize(classAddress);
     X_Offset = NativeReflectionCached.GetPropertyOffset(classAddress, "X");
     X_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "X", Classes.UIntProperty);
     Y_Offset = NativeReflectionCached.GetPropertyOffset(classAddress, "Y");
     Y_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "Y", Classes.UIntProperty);
     NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FIntPoint));
 }
Exemplo n.º 2
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.TwoVectors");

            FTwoVectors_StructSize = NativeReflection.GetStructSize(classAddress);
            v1_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "v1");
            v1_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "v1", Classes.UStructProperty);
            v2_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "v2");
            v2_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "v2", Classes.UStructProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FTwoVectors));
        }
Exemplo n.º 3
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.FloatInterval");

            FFloatInterval_StructSize = NativeReflection.GetStructSize(classAddress);
            Min_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "Min");
            Min_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "Min", Classes.UFloatProperty);
            Max_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "Max");
            Max_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "Max", Classes.UFloatProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FFloatInterval));
        }
Exemplo n.º 4
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.Int32RangeBound");

            FInt32RangeBound_StructSize = NativeReflection.GetStructSize(classAddress);
            NativeReflectionCached.GetPropertyRef(ref Type_PropertyAddress, classAddress, "Type");
            Type_Offset   = NativeReflectionCached.GetPropertyOffset(classAddress, "Type");
            Type_IsValid  = NativeReflectionCached.ValidatePropertyClass(classAddress, "Type", Classes.UByteProperty);
            Value_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "Value");
            Value_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "Value", Classes.UFloatProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FInt32RangeBound));
        }
Exemplo n.º 5
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.FloatRange");

            FFloatRange_StructSize = NativeReflection.GetStructSize(classAddress);
            LowerBound_Offset      = NativeReflectionCached.GetPropertyOffset(classAddress, "LowerBound");
            LowerBound_IsValid     = NativeReflectionCached.ValidatePropertyClass(classAddress, "LowerBound", Classes.UStructProperty);
            UpperBound_Offset      = NativeReflectionCached.GetPropertyOffset(classAddress, "UpperBound");
            UpperBound_IsValid     = NativeReflectionCached.ValidatePropertyClass(classAddress, "UpperBound", Classes.UStructProperty);
            FFloatRange_IsValid    = classAddress != IntPtr.Zero && LowerBound_IsValid && UpperBound_IsValid;
            NativeReflection.LogStructIsValid("/Script/CoreUObject.FloatRange", FFloatRange_IsValid);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FFloatRange));
        }
Exemplo n.º 6
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.Box");

            FBox_StructSize = NativeReflection.GetStructSize(classAddress);
            Min_Offset      = NativeReflectionCached.GetPropertyOffset(classAddress, "Min");
            Min_IsValid     = NativeReflectionCached.ValidatePropertyClass(classAddress, "Min", Classes.UStructProperty);
            Max_Offset      = NativeReflectionCached.GetPropertyOffset(classAddress, "Max");
            Max_IsValid     = NativeReflectionCached.ValidatePropertyClass(classAddress, "Max", Classes.UStructProperty);
            IsValid_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "IsValid");
            IsValid_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "IsValid", Classes.UByteProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FBox));
        }
Exemplo n.º 7
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.RandomStream");

            FRandomStream_StructSize = NativeReflection.GetStructSize(classAddress);
            InitialSeed_Offset       = NativeReflectionCached.GetPropertyOffset(classAddress, "InitialSeed");
            InitialSeed_IsValid      = NativeReflectionCached.ValidatePropertyClass(classAddress, "InitialSeed", Classes.UIntProperty);
            Seed_Offset           = NativeReflectionCached.GetPropertyOffset(classAddress, "Seed");
            Seed_IsValid          = NativeReflectionCached.ValidatePropertyClass(classAddress, "Seed", Classes.UIntProperty);
            FRandomStream_IsValid = classAddress != IntPtr.Zero && InitialSeed_IsValid && Seed_IsValid;
            NativeReflection.LogStructIsValid("/Script/CoreUObject.RandomStream", FRandomStream_IsValid);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FRandomStream));
        }
Exemplo n.º 8
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.BoxSphereBounds");

            FBoxSphereBounds_StructSize = NativeReflection.GetStructSize(classAddress);
            Origin_Offset        = NativeReflectionCached.GetPropertyOffset(classAddress, "Origin");
            Origin_IsValid       = NativeReflectionCached.ValidatePropertyClass(classAddress, "Origin", Classes.UStructProperty);
            BoxExtent_Offset     = NativeReflectionCached.GetPropertyOffset(classAddress, "BoxExtent");
            BoxExtent_IsValid    = NativeReflectionCached.ValidatePropertyClass(classAddress, "BoxExtent", Classes.UStructProperty);
            SphereRadius_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "SphereRadius");
            SphereRadius_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "SphereRadius", Classes.UFloatProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FBoxSphereBounds));
        }
Exemplo n.º 9
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.Rotator");

            FRotator_StructSize = NativeReflection.GetStructSize(classAddress);
            Pitch_Offset        = NativeReflectionCached.GetPropertyOffset(classAddress, "Pitch");
            Pitch_IsValid       = NativeReflectionCached.ValidatePropertyClass(classAddress, "Pitch", Classes.UFloatProperty);
            Yaw_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "Yaw");
            Yaw_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "Yaw", Classes.UFloatProperty);
            Roll_Offset         = NativeReflectionCached.GetPropertyOffset(classAddress, "Roll");
            Roll_IsValid        = NativeReflectionCached.ValidatePropertyClass(classAddress, "Roll", Classes.UFloatProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FRotator));
        }
Exemplo n.º 10
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.Vector4");

            FVector4_StructSize = NativeReflection.GetStructSize(classAddress);
            X_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "X");
            X_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "X", Classes.UFloatProperty);
            Y_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "Y");
            Y_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "Y", Classes.UFloatProperty);
            Z_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "Z");
            Z_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "Z", Classes.UFloatProperty);
            W_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "W");
            W_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "W", Classes.UFloatProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FVector4));
        }
Exemplo n.º 11
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.Color");

            FColor_StructSize = NativeReflection.GetStructSize(classAddress);
            B_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "B");
            B_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "B", Classes.UByteProperty);
            G_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "G");
            G_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "G", Classes.UByteProperty);
            R_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "R");
            R_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "R", Classes.UByteProperty);
            A_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "A");
            A_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "A", Classes.UByteProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FColor));
        }
Exemplo n.º 12
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.InterpCurvePointLinearColor");

            FInterpCurvePointLinearColor_StructSize = NativeReflection.GetStructSize(classAddress);
            InVal_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "InVal");
            InVal_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "InVal", Classes.UFloatProperty);
            OutVal_Offset         = NativeReflectionCached.GetPropertyOffset(classAddress, "OutVal");
            OutVal_IsValid        = NativeReflectionCached.ValidatePropertyClass(classAddress, "OutVal", Classes.UStructProperty);
            ArriveTangent_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "ArriveTangent");
            ArriveTangent_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "ArriveTangent", Classes.UStructProperty);
            LeaveTangent_Offset   = NativeReflectionCached.GetPropertyOffset(classAddress, "LeaveTangent");
            LeaveTangent_IsValid  = NativeReflectionCached.ValidatePropertyClass(classAddress, "LeaveTangent", Classes.UStructProperty);
            NativeReflectionCached.GetPropertyRef(ref InterpMode_PropertyAddress, classAddress, "InterpMode");
            InterpMode_Offset  = NativeReflectionCached.GetPropertyOffset(classAddress, "InterpMode");
            InterpMode_IsValid = NativeReflectionCached.ValidatePropertyClass(classAddress, "InterpMode", Classes.UByteProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FInterpCurvePointLinearColor));
        }
Exemplo n.º 13
0
        static void LoadNativeType()
        {
            IntPtr classAddress = NativeReflection.GetStruct("/Script/CoreUObject.OrientedBox");

            FOrientedBox_StructSize = NativeReflection.GetStructSize(classAddress);
            Center_Offset           = NativeReflectionCached.GetPropertyOffset(classAddress, "Center");
            Center_IsValid          = NativeReflectionCached.ValidatePropertyClass(classAddress, "Center", Classes.UStructProperty);
            AxisX_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "AxisX");
            AxisX_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "AxisX", Classes.UStructProperty);
            AxisY_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "AxisY");
            AxisY_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "AxisY", Classes.UStructProperty);
            AxisZ_Offset            = NativeReflectionCached.GetPropertyOffset(classAddress, "AxisZ");
            AxisZ_IsValid           = NativeReflectionCached.ValidatePropertyClass(classAddress, "AxisZ", Classes.UStructProperty);
            ExtentX_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "ExtentX");
            ExtentX_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "ExtentX", Classes.UFloatProperty);
            ExtentY_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "ExtentY");
            ExtentY_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "ExtentY", Classes.UFloatProperty);
            ExtentZ_Offset          = NativeReflectionCached.GetPropertyOffset(classAddress, "ExtentZ");
            ExtentZ_IsValid         = NativeReflectionCached.ValidatePropertyClass(classAddress, "ExtentZ", Classes.UFloatProperty);
            NativeReflection.ValidateBlittableStructSize(classAddress, typeof(FOrientedBox));
        }