Constructor input for SohlSpeaker: Foundry's speaker ids plus a roll mode and user. Any subset may be supplied; unspecified pieces are resolved from context at construction.

interface Data {
    actor: string;
    alias: string;
    rollMode: SohlSpeakerRollMode;
    scene: string;
    token: string;
    user: string;
}

Properties

actor: string

Actor Id

alias: string

Display name of the speaker

Roll mode to apply to messages from this speaker.

scene: string

Scene Id of the scene containing the speaker

token: string

TokenDocument Id

user: string

Acting user Id