Table of Contents

Struct ScriptBlockId

Namespace
LunyScript
Assembly
LunyScript.dll

Unique identifier for a Sequence/FSM/BT instance. Sequential integers for deterministic ordering and debugging.

public readonly struct ScriptBlockId

Fields

Value

public readonly int Value

Field Value

int

Methods

CompareTo(ScriptBlockId)

public int CompareTo(ScriptBlockId other)

Parameters

other ScriptBlockId

Returns

int

Equals(ScriptBlockId)

public bool Equals(ScriptBlockId other)

Parameters

other ScriptBlockId

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Generate()

Generates a new unique SequenceID.

public static ScriptBlockId Generate()

Returns

ScriptBlockId

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ScriptBlockId, ScriptBlockId)

public static bool operator ==(ScriptBlockId left, ScriptBlockId right)

Parameters

left ScriptBlockId
right ScriptBlockId

Returns

bool

operator !=(ScriptBlockId, ScriptBlockId)

public static bool operator !=(ScriptBlockId left, ScriptBlockId right)

Parameters

left ScriptBlockId
right ScriptBlockId

Returns

bool