InstanceInterface Class
Base class for all Sansar Script Object Oriented C# interfaces.
Syntax
public class InstanceInterface
Remarks
Internal.
Requirements
Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
Members
See Also: Inherited members from object.
Public Properties
Public Operators
static
|
Conversion to System.IntPtr (Implicit) | Internal use only. |
Member Details
IsValid Property
Whether or not this interface is valid.Syntax
public bool IsValid { get; }Value
True if this interface is validRemarks
This function is provided for debugging and convenience only. Scripts are frequently "force yielded", which means there is still the (rare) possibility that on the line after checking IsValid the interface could become invalid. It is highly recommended to "program defensively" and wrap the use of volatile interfaces, like AgentPrivate, in try/catch blocks. Once an interface becomes invalid it will never again become valid. Attempting to call any method on an invalid interface may throw an exception.Requirements
Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
Conversion Method
Internal use only.Syntax
public static implicit operator IntPtr (InstanceInterface instance)Parameters
- instance
Returns
Remarks
Requirements
Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
0 Comments