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
otherScriptBlockId
Returns
- int
Equals(ScriptBlockId)
public bool Equals(ScriptBlockId other)
Parameters
otherScriptBlockId
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
Generate()
Generates a new unique SequenceID.
public static ScriptBlockId Generate()
Returns
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
leftScriptBlockIdrightScriptBlockId
Returns
- bool
operator !=(ScriptBlockId, ScriptBlockId)
public static bool operator !=(ScriptBlockId left, ScriptBlockId right)
Parameters
leftScriptBlockIdrightScriptBlockId
Returns
- bool