Twitch events are generated in response to twitch stream interaction.
public class TwitchData : Sansar.Script.EventDataMembers at a glance
| Kind | Members |
|---|---|
| Properties | EventType · Intensity · SessionId |
| Methods | ToString |
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.