Export

Namespace: UAssetAPI.ExportTypes

UObject resource type for objects that are contained within this package and can be referenced by other packages.

public class Export : System.ICloneable

Inheritance ObjectExport
Implements ICloneable

Fields

ObjectName

The name of the UObject represented by this resource.

public FName ObjectName;

ObjectFlags

The object flags for the UObject represented by this resource. Only flags that match the RF_Load combination mask will be loaded from disk and applied to the UObject.

public EObjectFlags ObjectFlags;

SerialSize

The number of bytes to serialize when saving/loading this export's UObject.

public long SerialSize;

SerialOffset

The location (into the FLinker's underlying file reader archive) of the beginning of the data for this export's UObject. Used for verification only.

public long SerialOffset;

bForcedExport

Was this export forced into the export table via OBJECTMARK_ForceTagExp?

public bool bForcedExport;

bNotForClient

Should this export not be loaded on clients?

public bool bNotForClient;

bNotForServer

Should this export not be loaded on servers?

public bool bNotForServer;

PackageGuid

If this object is a top level package (which must have been forced into the export table via OBJECTMARK_ForceTagExp), this is the GUID for the original package file. Deprecated

public Guid PackageGuid;

IsInheritedInstance

public bool IsInheritedInstance;

PackageFlags

If this export is a top-level package, this is the flags for the original package

public EPackageFlags PackageFlags;

bNotAlwaysLoadedForEditorGame

Should this export be always loaded in editor game?

public bool bNotAlwaysLoadedForEditorGame;

bIsAsset

Is this export an asset?

public bool bIsAsset;

GeneratePublicHash

public bool GeneratePublicHash;

SerializationBeforeSerializationDependencies

public List<FPackageIndex> SerializationBeforeSerializationDependencies;

CreateBeforeSerializationDependencies

public List<FPackageIndex> CreateBeforeSerializationDependencies;

SerializationBeforeCreateDependencies

public List<FPackageIndex> SerializationBeforeCreateDependencies;

CreateBeforeCreateDependencies

public List<FPackageIndex> CreateBeforeCreateDependencies;

Zen_OuterIndex

public FPackageObjectIndex Zen_OuterIndex;

Zen_ClassIndex

public FPackageObjectIndex Zen_ClassIndex;

Zen_SuperIndex

public FPackageObjectIndex Zen_SuperIndex;

Zen_TemplateIndex

public FPackageObjectIndex Zen_TemplateIndex;

PublicExportHash

PublicExportHash. Interpreted as a global import FPackageObjectIndex in UE4 assets.

public ulong PublicExportHash;

Padding

public Byte[] Padding;

Extras

Miscellaneous, unparsed export data, stored as a byte array.

public Byte[] Extras;

Asset

The asset that this export is parsed with.

public UnrealPackage Asset;

Properties

OuterIndex

Location of the resource for this resource's Outer (import/other export). 0 = this resource is a top-level UPackage

public FPackageIndex OuterIndex { get; set; }

Property Value

FPackageIndex

ClassIndex

Location of this export's class (import/other export). 0 = this export is a UClass

public FPackageIndex ClassIndex { get; set; }

Property Value

FPackageIndex

SuperIndex

Location of this export's parent class (import/other export). 0 = this export is not derived from UStruct

public FPackageIndex SuperIndex { get; set; }

Property Value

FPackageIndex

TemplateIndex

Location of this export's template (import/other export). 0 = there is some problem

public FPackageIndex TemplateIndex { get; set; }

Property Value

FPackageIndex

Constructors

Export(UnrealPackage, Byte[])

public Export(UnrealPackage asset, Byte[] extras)

Parameters

asset UnrealPackage

extras Byte[]

Export()

public Export()

Methods

ShouldSerializeOuterIndex()

public bool ShouldSerializeOuterIndex()

Returns

Boolean

ShouldSerializeClassIndex()

public bool ShouldSerializeClassIndex()

Returns

Boolean

ShouldSerializeSuperIndex()

public bool ShouldSerializeSuperIndex()

Returns

Boolean

ShouldSerializeTemplateIndex()

public bool ShouldSerializeTemplateIndex()

Returns

Boolean

ShouldSerializeZen_OuterIndex()

public bool ShouldSerializeZen_OuterIndex()

Returns

Boolean

ShouldSerializeZen_ClassIndex()

public bool ShouldSerializeZen_ClassIndex()

Returns

Boolean

ShouldSerializeZen_SuperIndex()

public bool ShouldSerializeZen_SuperIndex()

Returns

Boolean

ShouldSerializeZen_TemplateIndex()

public bool ShouldSerializeZen_TemplateIndex()

Returns

Boolean

Read(AssetBinaryReader, Int32)

public void Read(AssetBinaryReader reader, int nextStarting)

Parameters

reader AssetBinaryReader

nextStarting Int32

ResolveAncestries(UnrealPackage, AncestryInfo)

Resolves the ancestry of all child properties of this export.

public void ResolveAncestries(UnrealPackage asset, AncestryInfo ancestrySoFar)

Parameters

asset UnrealPackage

ancestrySoFar AncestryInfo

Write(AssetBinaryWriter)

public void Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

ReadExportMapEntry(AssetBinaryReader)

public void ReadExportMapEntry(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

GetExportMapEntrySize(UnrealPackage)

public static long GetExportMapEntrySize(UnrealPackage asset)

Parameters

asset UnrealPackage

Returns

Int64

WriteExportMapEntry(AssetBinaryWriter)

public void WriteExportMapEntry(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

GetAllObjectExportFields(UnrealPackage)

public static MemberInfo[] GetAllObjectExportFields(UnrealPackage asset)

Parameters

asset UnrealPackage

Returns

MemberInfo[]

GetAllFieldNames(UnrealPackage)

public static String[] GetAllFieldNames(UnrealPackage asset)

Parameters

asset UnrealPackage

Returns

String[]

GetExportClassType()

public FName GetExportClassType()

Returns

FName

GetClassTypeForAncestry(UnrealPackage)

public FName GetClassTypeForAncestry(UnrealPackage asset)

Parameters

asset UnrealPackage

Returns

FName

GetClassTypeForAncestry(FPackageIndex, UnrealPackage)

public static FName GetClassTypeForAncestry(FPackageIndex classIndex, UnrealPackage asset)

Parameters

classIndex FPackageIndex

asset UnrealPackage

Returns

FName

ToString()

public string ToString()

Returns

String

Clone()

public object Clone()

Returns

Object

ConvertToChildExport<T>()

Creates a child export instance with the same export details as the current export.

public T ConvertToChildExport<T>()

Type Parameters

T
The type of child export to create.

Returns

T
An instance of the child export type provided with the export details copied over.