EX_NothingInt32

Namespace: UAssetAPI.Kismet.Bytecode.Expressions

A single Kismet bytecode instruction, corresponding to the EExprToken.EX_NothingInt32 instruction. No operation with an int32 argument (useful for debugging script disassembly).

public class EX_NothingInt32 : UAssetAPI.Kismet.Bytecode.KismetExpression`1[[System.Int32]]

Inheritance ObjectKismetExpressionKismetExpression<Int32>EX_NothingInt32

Fields

Tag

An optional tag which can be set on any expression in memory. This is for the user only, and has no bearing in the API itself.

public object Tag;

RawValue

public object RawValue;

Properties

Token

The token of this expression.

public EExprToken Token { get; }

Property Value

EExprToken

Value

The value of this expression if it is a constant.

public int Value { get; set; }

Property Value

Int32

Inst

The token of this instruction expressed as a string.

public string Inst { get; }

Property Value

String

Constructors

EX_NothingInt32()

public EX_NothingInt32()

Methods

Read(AssetBinaryReader)

Reads out the expression from a BinaryReader.

public void Read(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader
The BinaryReader to read from.

Write(AssetBinaryWriter)

Writes the expression to a BinaryWriter.

public int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter
The BinaryWriter to write from.

Returns

Int32
The iCode offset of the data that was written.

Visit(UAsset, UInt32&, Action<KismetExpression, UInt32>)

public void Visit(UAsset asset, UInt32& offset, Action<KismetExpression, uint> visitor)

Parameters

asset UAsset

offset UInt32&

visitor Action<KismetExpression, UInt32>