PropertyData<T>

Namespace: UAssetAPI.PropertyTypes.Objects

public abstract class PropertyData<T> : PropertyData, System.ICloneable

Type Parameters

T

Inheritance ObjectPropertyDataPropertyData<T>
Implements ICloneable

Fields

Name

The name of this property.

public FName Name;

Ancestry

The ancestry of this property. Contains information about all the classes/structs that this property is contained within. Not serialized.

public AncestryInfo Ancestry;

DuplicationIndex

The duplication index of this property. Used to distinguish properties with the same name in the same struct.

public int DuplicationIndex;

PropertyGuid

An optional property GUID. Nearly always null.

public Nullable<Guid> PropertyGuid;

Offset

The offset of this property on disk. This is for the user only, and has no bearing in the API itself.

public long Offset;

Tag

An optional tag which can be set on any property in memory. This is for the user only, and has no bearing in the API itself.

public object Tag;

Properties

Value

The "main value" of this property, if such a concept is applicable to the property in question. Properties may contain other values as well, in which case they will be present as other fields in the child class.

public T Value { get; set; }

Property Value

T

RawValue

public object RawValue { get; set; }

Property Value

Object

ShouldBeRegistered

Determines whether or not this particular property should be registered in the property registry and automatically used when parsing assets.

public bool ShouldBeRegistered { get; }

Property Value

Boolean

HasCustomStructSerialization

Determines whether or not this particular property has custom serialization within a StructProperty.

public bool HasCustomStructSerialization { get; }

Property Value

Boolean

PropertyType

The type of this property as an FString.

public FString PropertyType { get; }

Property Value

FString

DefaultValue

The default value of this property, used as a fallback when no value is defined. Null by default.

public object DefaultValue { get; }

Property Value

Object

Constructors

PropertyData(FName)

public PropertyData(FName name)

Parameters

name FName

PropertyData()

public PropertyData()