Skip to content

Get Sansar

Script API

TwitchData

Where: Client
More page actions

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

Class Namespace Sansar.Simulation Inherits Sansar.Script.EventData Added in 38.1.0

Twitch events are generated in response to twitch stream interaction.

public class TwitchData : Sansar.Script.EventData

Members at a glance

KindMembers
PropertiesEventType · Intensity · SessionId
MethodsToString

Properties

EventType

Added in 38.1.0
public TwitchEventType EventType { get; }

The event which occurred

Intensity

Added in 38.1.0
public float Intensity { get; }

The intensity of the event. Range is (0 ..1]

SessionId

Added in 38.1.0
public Sansar.Script.SessionId SessionId { get; }

The client which generated the event.

Methods

ToString

Added in 38.1.0
public override string ToString()

A string representation of this object.

Returns: string — A string representation of this object.

Remarks

The format of this string may change between releases.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.