AssetBinaryReader

Namespace: UAssetAPI

Reads primitive data types from Unreal Engine assets.

public class AssetBinaryReader : UnrealBinaryReader, System.IDisposable

Inheritance ObjectBinaryReaderUnrealBinaryReaderAssetBinaryReader
Implements IDisposable

Fields

Asset

public UAsset Asset;

LoadUexp

public bool LoadUexp;

Properties

BaseStream

public Stream BaseStream { get; }

Property Value

Stream

Constructors

AssetBinaryReader(Stream, UAsset)

public AssetBinaryReader(Stream stream, UAsset asset)

Parameters

stream Stream

asset UAsset

AssetBinaryReader(Stream, Boolean, UAsset)

public AssetBinaryReader(Stream stream, bool inLoadUexp, UAsset asset)

Parameters

stream Stream

inLoadUexp Boolean

asset UAsset

Methods

ReadPropertyGuid()

public Nullable<Guid> ReadPropertyGuid()

Returns

Nullable<Guid>

ReadFName()

public FName ReadFName()

Returns

FName

ReadArray<T>(Int32, Func<T>)

public T[] ReadArray<T>(int length, Func<T> readElement)

Type Parameters

T

Parameters

length Int32

readElement Func<T>

Returns

T[]

ReadArray<T>(Func<T>)

public T[] ReadArray<T>(Func<T> readElement)

Type Parameters

T

Parameters

readElement Func<T>

Returns

T[]

ReadMap<TKey, TValue>(Int32, Func<TKey>, Func<TValue>)

public TMap<TKey, TValue> ReadMap<TKey, TValue>(int length, Func<TKey> keyGetter, Func<TValue> valueGetter)

Type Parameters

TKey

TValue

Parameters

length Int32

keyGetter Func<TKey>

valueGetter Func<TValue>

Returns

TMap<TKey, TValue>

ReadMap<TKey, TValue>(Func<TKey>, Func<TValue>)

public TMap<TKey, TValue> ReadMap<TKey, TValue>(Func<TKey> keyGetter, Func<TValue> valueGetter)

Type Parameters

TKey

TValue

Parameters

keyGetter Func<TKey>

valueGetter Func<TValue>

Returns

TMap<TKey, TValue>

ReadObjectThumbnail()

public FObjectThumbnail ReadObjectThumbnail()

Returns

FObjectThumbnail

ReadLocMetadataObject()

public FLocMetadataObject ReadLocMetadataObject()

Returns

FLocMetadataObject

XFERSTRING()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public string XFERSTRING()

Returns

String

XFERUNICODESTRING()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public string XFERUNICODESTRING()

Returns

String

XFERTEXT()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public void XFERTEXT()

XFERNAME()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public FName XFERNAME()

Returns

FName

XFER_FUNC_NAME()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public FName XFER_FUNC_NAME()

Returns

FName

XFERPTR()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public FPackageIndex XFERPTR()

Returns

FPackageIndex

XFER_FUNC_POINTER()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public FPackageIndex XFER_FUNC_POINTER()

Returns

FPackageIndex

XFER_PROP_POINTER()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public KismetPropertyPointer XFER_PROP_POINTER()

Returns

KismetPropertyPointer

XFER_OBJECT_POINTER()

This method is intended only to be used in parsing Kismet bytecode; please do not use it for any other purpose!

public FPackageIndex XFER_OBJECT_POINTER()

Returns

FPackageIndex

ReadExpressionArray(EExprToken)

public KismetExpression[] ReadExpressionArray(EExprToken endToken)

Parameters

endToken EExprToken

Returns

KismetExpression[]