Ejemplo n.º 1
0
        public static IntPtr GetPropertyClass(EPropertyType propertyType)
        {
            switch (propertyType)
            {
            case EPropertyType.Bool: return(Native_UBoolProperty.StaticClass());

            case EPropertyType.Int8: return(Native_UInt8Property.StaticClass());

            case EPropertyType.Int16: return(Native_UInt16Property.StaticClass());

            case EPropertyType.Int: return(Native_UIntProperty.StaticClass());

            case EPropertyType.Int64: return(Native_UInt64Property.StaticClass());

            case EPropertyType.Byte: return(Native_UByteProperty.StaticClass());

            case EPropertyType.UInt16: return(Native_UUInt16Property.StaticClass());

            case EPropertyType.UInt32: return(Native_UUInt32Property.StaticClass());

            case EPropertyType.UInt64: return(Native_UUInt64Property.StaticClass());

            case EPropertyType.Double: return(Native_UDoubleProperty.StaticClass());

            case EPropertyType.Float: return(Native_UFloatProperty.StaticClass());

            case EPropertyType.Enum: return(Native_UEnumProperty.StaticClass());

            case EPropertyType.Interface: return(Native_UInterfaceProperty.StaticClass());

            case EPropertyType.Struct: return(Native_UStructProperty.StaticClass());

            case EPropertyType.Class: return(Native_UClassProperty.StaticClass());

            case EPropertyType.Object: return(Native_UObjectProperty.StaticClass());

            case EPropertyType.LazyObject: return(Native_ULazyObjectProperty.StaticClass());

            case EPropertyType.WeakObject: return(Native_UWeakObjectProperty.StaticClass());

            case EPropertyType.SoftClass: return(Native_USoftClassProperty.StaticClass());

            case EPropertyType.SoftObject: return(Native_USoftObjectProperty.StaticClass());

            case EPropertyType.Delegate: return(Native_UDelegateProperty.StaticClass());

            case EPropertyType.MulticastDelegate: return(Native_UMulticastDelegateProperty.StaticClass());

            case EPropertyType.Array: return(Native_UArrayProperty.StaticClass());

            case EPropertyType.Map: return(Native_UMapProperty.StaticClass());

            case EPropertyType.Set: return(Native_USetProperty.StaticClass());

            case EPropertyType.Str: return(Native_UStrProperty.StaticClass());

            case EPropertyType.Name: return(Native_UNameProperty.StaticClass());

            case EPropertyType.Text: return(Native_UTextProperty.StaticClass());

            default: return(IntPtr.Zero);
            }
        }