Detailed Description

A speaker. Either an item (which includes NPCs), an item instance or a user. Note that if there are multiple instances of an item in the scene, all of them are selected.

Static Public Member Functions

static string LoadReference (JSObject data, out SpeakerType type)
 Loads the speaker meta from the given JSON data. More...
 

Public Attributes

string Reference
 Typically an ID but can also be a custom reference used when resolving who the speaker is. More...
 
SpeakerType Type
 The type of speaker. More...
 
string FullName
 The full name of this speaker. More...
 
string ChatHeadUrl
 The URL of a chathead. Use {$mood} to include emotion (e.g. happy, sad etc). More...
 

Static Public Attributes

static OnSpeakerDelegate OnGetInfo
 Used when resolving the information for a speaker (their name etc). More...
 

Properties

bool IsCurrentUser [get]
 True if this speaker represents the current user. Use 'self', null or 0 as your reference. More...
 

Member Function Documentation

static string PowerSlide.Speaker.LoadReference ( JSObject  data,
out SpeakerType  type 
)
inlinestatic

Loads the speaker meta from the given JSON data.

Member Data Documentation

string PowerSlide.Speaker.ChatHeadUrl

The URL of a chathead. Use {$mood} to include emotion (e.g. happy, sad etc).

string PowerSlide.Speaker.FullName

The full name of this speaker.

OnSpeakerDelegate PowerSlide.Speaker.OnGetInfo
static

Used when resolving the information for a speaker (their name etc).

string PowerSlide.Speaker.Reference

Typically an ID but can also be a custom reference used when resolving who the speaker is.

SpeakerType PowerSlide.Speaker.Type

The type of speaker.

Property Documentation

bool PowerSlide.Speaker.IsCurrentUser
get

True if this speaker represents the current user. Use 'self', null or 0 as your reference.