Skip to content

Get Sansar

Script API

Script API reference

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Browse the namespaces to find script types and their members.

See Allowed .NET APIs for the .NET APIs your scripts can use.

NamespaceTypes
(global)1
Sansar5
Sansar.Metadata2
Sansar.Microthreading3
Sansar.Script43
Sansar.Script.Testing2
Sansar.Simulation117
Sansar.Utility6

Types documented only in the client

These types are absent from the reference assemblies that scripts compile against. Scripts may not be able to use them.

TypeKindSummary
Microthread.State Client documentation onlyEnumRepresents possible states for a Microthread
Reflective.ReflectiveBase Client documentation onlyClassInternal support class.
SimpleScriptEventData Client documentation onlyClassUsed by ScriptBase.PostSimpleScriptEvent to send simple script events.
AssertionFailureException Client documentation onlyClassThrown by Assertions tests.
SimpleScript.OnAddUserOptionsAttribute Client documentation onlyClassUse to create additional OnAddUser subscriptions
SimpleScript.OnRemoveUserOptionsAttribute Client documentation onlyClassUse to create additional OnRemoveUser subscriptions

Generated from the Sansar 47.10.0 client ScriptApi snapshot.