Skip to content

Get Sansar

Script API

SimpleScriptEventData

Where: Client
More page actions

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

Class Namespace Sansar.Script Inherits Reflective

This type is documented in the client, but it is not in the reference assemblies that scripts compile against. Scripts may not be able to use it.

Used by ScriptBase.PostSimpleScriptEvent to send simple script events.

public class SimpleScriptEventData : Reflective

Remarks

Supports sending a single Sansar or System type object between scripts, without the overhead of creating a custom Reflective class and Interface pair. Used by PostSimpleScriptEvent and SimpleScript.OnScriptEvent.

Members at a glance

KindMembers
ConstructorsSimpleScriptEventData
PropertiesData

Constructors

SimpleScriptEventData

public SimpleScriptEventData()

Default constructor.

Properties

Data

public object Data { get; set; }

A single object to pass between scripts.

Remarks

To be useful, Data must be a system or Sansar type and not a locally defined type. Locally defined types will not be usable by other scripts.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.