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 : IEquatable<ScriptBlockId>, IComparable<ScriptBlockId>
Expand Details ...
- Implements
Fields
Value
public readonly Int32 Value
Field Value
Methods
CompareTo(ScriptBlockId)
public Int32 CompareTo(ScriptBlockId other)
Parameters
| Type | Name | Description |
|---|---|---|
other |
Returns
Equals(ScriptBlockId)
public Boolean Equals(ScriptBlockId other)
Parameters
| Type | Name | Description |
|---|---|---|
other |
Returns
- Boolean
Equals(Object)
public override Boolean Equals(Object obj)
Parameters
| Type | Name | Description |
|---|---|---|
obj |
Returns
- Boolean
Generate()
Generates a new unique SequenceID.
public static ScriptBlockId Generate()
Returns
GetHashCode()
public override Int32 GetHashCode()
Returns
ToString()
public override String ToString()
Returns
- String
Operators
operator ==(ScriptBlockId, ScriptBlockId)
public static Boolean operator ==(ScriptBlockId left, ScriptBlockId right)
Parameters
| Type | Name | Description |
|---|---|---|
left |
||
right |
Returns
- Boolean
operator !=(ScriptBlockId, ScriptBlockId)
public static Boolean operator !=(ScriptBlockId left, ScriptBlockId right)
Parameters
| Type | Name | Description |
|---|---|---|
left |
||
right |
Returns
- Boolean