FFragment

Namespace: UAssetAPI.Unversioned

Unversioned header fragment.

public class FFragment

Inheritance ObjectFFragment

Fields

SkipNum

Number of properties to skip before values.

public int SkipNum;

ValueNum

Number of subsequent property values stored.

public int ValueNum;

bIsLast

Is this the last fragment of the header?

public bool bIsLast;

FirstNum

public int FirstNum;

bHasAnyZeroes

public bool bHasAnyZeroes;

Properties

LastNum

public int LastNum { get; }

Property Value

Int32

Constructors

FFragment()

public FFragment()

FFragment(Int32, Int32, Boolean, Boolean, Int32)

public FFragment(int skipNum, int valueNum, bool bIsLast, bool bHasAnyZeroes, int firstNum)

Parameters

skipNum Int32

valueNum Int32

bIsLast Boolean

bHasAnyZeroes Boolean

firstNum Int32

Methods

ToString()

public string ToString()

Returns

String

Pack()

public ushort Pack()

Returns

UInt16

Unpack(UInt16)

public static FFragment Unpack(ushort Int)

Parameters

Int UInt16

Returns

FFragment

GetFromBounds(Int32, Int32, Int32, Boolean, Boolean)

public static FFragment GetFromBounds(int LastNumBefore, int FirstNum, int LastNum, bool hasAnyZeros, bool isLast)

Parameters

LastNumBefore Int32

FirstNum Int32

LastNum Int32

hasAnyZeros Boolean

isLast Boolean

Returns

FFragment