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 Object → Export
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;
ScriptSerializationStartOffset
The location (relative to SerialOffset) of the beginning of the portion of this export's data that is serialized using tagged property serialization. Serialized into packages using tagged property serialization as of ObjectVersionUE5.SCRIPT_SERIALIZATION_OFFSET (5.4).
public long ScriptSerializationStartOffset;
ScriptSerializationEndOffset
The location (relative to SerialOffset) of the end of the portion of this export's data that is serialized using tagged property serialization. Serialized into packages using tagged property serialization as of ObjectVersionUE5.SCRIPT_SERIALIZATION_OFFSET (5.4)
public long ScriptSerializationEndOffset;
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
ClassIndex
Location of this export's class (import/other export). 0 = this export is a UClass
public FPackageIndex ClassIndex { get; set; }
Property Value
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
TemplateIndex
Location of this export's template (import/other export). 0 = there is some problem
public FPackageIndex TemplateIndex { get; set; }
Property Value
Constructors
Export(UnrealPackage, Byte[])
public Export(UnrealPackage asset, Byte[] extras)
Parameters
asset
UnrealPackage
extras
Byte[]
Export()
public Export()
Methods
ShouldSerializeOuterIndex()
public bool ShouldSerializeOuterIndex()
Returns
ShouldSerializeClassIndex()
public bool ShouldSerializeClassIndex()
Returns
ShouldSerializeSuperIndex()
public bool ShouldSerializeSuperIndex()
Returns
ShouldSerializeTemplateIndex()
public bool ShouldSerializeTemplateIndex()
Returns
ShouldSerializeZen_OuterIndex()
public bool ShouldSerializeZen_OuterIndex()
Returns
ShouldSerializeZen_ClassIndex()
public bool ShouldSerializeZen_ClassIndex()
Returns
ShouldSerializeZen_SuperIndex()
public bool ShouldSerializeZen_SuperIndex()
Returns
ShouldSerializeZen_TemplateIndex()
public bool ShouldSerializeZen_TemplateIndex()
Returns
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
WriteExportMapEntry(AssetBinaryWriter)
public void WriteExportMapEntry(AssetBinaryWriter writer)
Parameters
writer
AssetBinaryWriter
GetAllObjectExportFields(UnrealPackage)
public static MemberInfo[] GetAllObjectExportFields(UnrealPackage asset)
Parameters
asset
UnrealPackage
Returns
GetAllFieldNames(UnrealPackage)
public static String[] GetAllFieldNames(UnrealPackage asset)
Parameters
asset
UnrealPackage
Returns
GetExportClassType()
public FName GetExportClassType()
Returns
GetClassTypeForAncestry(UnrealPackage, FName&)
public FName GetClassTypeForAncestry(UnrealPackage asset, FName& modulePath)
Parameters
asset
UnrealPackage
modulePath
FName&
Returns
GetClassTypeForAncestry(FPackageIndex, UnrealPackage, FName&)
public static FName GetClassTypeForAncestry(FPackageIndex classIndex, UnrealPackage asset, FName& modulePath)
Parameters
classIndex
FPackageIndex
asset
UnrealPackage
modulePath
FName&
Returns
ToString()
public string ToString()
Returns
Clone()
public object Clone()
Returns
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.