/// <summary> /// Setter function for this property's InterfaceClass member. Favor this /// function whilst loading (since, to handle circular dependencies, we defer /// some class loads and use a placeholder class instead). It properly /// handles deferred loading placeholder classes (so they can properly be /// replaced later). /// </summary> /// <param name="newInterfaceClass">The InterfaceClass you want this property set with.</param> public void SetMetaClass(UClass newInterfaceClass) { Native_UInterfaceProperty.SetInterfaceClass(Address, newInterfaceClass == null ? IntPtr.Zero : newInterfaceClass.Address); }
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); } }