ClassExport

Namespace: UAssetAPI.ExportTypes

Represents an object class.

public class ClassExport : StructExport, System.ICloneable

Inheritance ObjectExportNormalExportFieldExportStructExportClassExport
Implements ICloneable

Fields

FuncMap

Map of all functions by name contained in this class

public TMap<FName, FPackageIndex> FuncMap;

ClassFlags

Class flags; See EClassFlags for more information

public EClassFlags ClassFlags;

ClassWithin

The required type for the outer of instances of this class

public FPackageIndex ClassWithin;

ClassConfigName

Which Name.ini file to load Config variables out of

public FName ClassConfigName;

Interfaces

The list of interfaces which this class implements, along with the pointer property that is located at the offset of the interface's vtable. If the interface class isn't native, the property will be empty.

public SerializedInterfaceReference[] Interfaces;

ClassGeneratedBy

This is the blueprint that caused the generation of this class, or null if it is a native compiled-in class

public FPackageIndex ClassGeneratedBy;

bDeprecatedForceScriptOrder

Does this class use deprecated script order?

public bool bDeprecatedForceScriptOrder;

bCooked

Used to check if the class was cooked or not

public bool bCooked;

ClassDefaultObject

The class default object; used for delta serialization and object initialization

public FPackageIndex ClassDefaultObject;

SuperStruct

Struct this inherits from, may be null

public FPackageIndex SuperStruct;

Children

List of child fields

public FPackageIndex[] Children;

LoadedProperties

Properties serialized with this struct definition

public FProperty[] LoadedProperties;

ScriptBytecode

The bytecode instructions contained within this struct.

public KismetExpression[] ScriptBytecode;

ScriptBytecodeSize

Bytecode size in total in deserialized memory. Filled out in lieu of StructExport.ScriptBytecode if an error occurs during bytecode parsing.

public int ScriptBytecodeSize;

ScriptBytecodeRaw

Raw binary bytecode data. Filled out in lieu of StructExport.ScriptBytecode if an error occurs during bytecode parsing.

public Byte[] ScriptBytecodeRaw;

Field

public UField Field;

Data

public List<PropertyData> Data;

ObjectGuid

public Nullable<Guid> ObjectGuid;

SerializationControl

public EClassSerializationControlExtension SerializationControl;

Operation

public EOverriddenPropertyOperation Operation;

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

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

ClassExport(Export)

public ClassExport(Export super)

Parameters

super Export

ClassExport(UAsset, Byte[])

public ClassExport(UAsset asset, Byte[] extras)

Parameters

asset UAsset

extras Byte[]

ClassExport()

public ClassExport()

Methods

Read(AssetBinaryReader, Int32)

public void Read(AssetBinaryReader reader, int nextStarting)

Parameters

reader AssetBinaryReader

nextStarting Int32

Write(AssetBinaryWriter)

public void Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter