ScriptID
Last updated
Last updated
Encapsulates an Script Id.
The invalid id script.
Syntaxpublic static readonly AllScripts
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Compares another instance to this scriptId.
SyntaxParameters
other
The scriptId to compare with this instance.
Returns
Returns -1 if this scriptId comes before the specified instance, 1 if this script id comes after the specified instance, 0 otherwise.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Compares another instance to this scriptId.
SyntaxParameters
other
The scriptId to compare with this instance.
Returns
Returns -1 if this scriptId comes before the specified instance, 1 if this script id comes after the specified instance, 0 otherwise. Returns 2 if the object is not a scriptId.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Value comparison for ScriptId.
SyntaxParameters
obj
The script to compare.
Returns
true if the argument is an ScriptId and has the same value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Retrieves the hash code for this instance.
SyntaxReturns
The hash code for this instance.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
The invalid id script.
Syntax
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Gets the valid state for this ScriptId.
SyntaxValue
True if this id is a valid ScriptId.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
ScriptId equality operator.
SyntaxParameters
a
First ScriptId to compare.
b
Second ScriptId to compare.
Returns
true if the ScriptIds have the same value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Convert a ScriptId to a uint.
SyntaxParameters
id
The Script id to convert.
Returns
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
ScriptId inequality operator.
SyntaxParameters
a
First ScriptId to compare.
b
Second ScriptId to compare.
Returns
true if the ScriptIds have a different value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Converts the id to a hexadecimal string representation.
SyntaxReturns
The hexadecimal string representation.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
public override GetHashCode ()
public static readonly Invalid
public IsValid { get; }
public static implicit operator ( id)
public override ToString ()