Table of Contents

Class SendingCassieMessageEventArgs

Namespace
Exiled.Events.EventArgs.Cassie
Assembly
Exiled.Events.dll

Contains all the information after sending a C.A.S.S.I.E. message.

public class SendingCassieMessageEventArgs : IDeniableEvent, IExiledEvent
Inheritance
SendingCassieMessageEventArgs
Implements
Inherited Members
Extension Methods

Constructors

SendingCassieMessageEventArgs(CassieAnnouncement, bool)

Initializes a new instance of the SendingCassieMessageEventArgs class.

public SendingCassieMessageEventArgs(CassieAnnouncement annc, bool isAllowed = true)

Parameters

annc CassieAnnouncement

The announcement to populate all properties from.

isAllowed bool

Properties

Announcement

Gets a Cassie.CassieAnnouncement consisting of all properties in this event.

public CassieAnnouncement Announcement { get; }

Property Value

CassieAnnouncement

CustomSubtitles

Gets or sets the message subtitles.

public string CustomSubtitles { get; set; }

Property Value

string

GlitchScale

Gets or sets a value controlling how glitchy this CASSIE message is.

public float GlitchScale { get; set; }

Property Value

float

IsAllowed

Gets or sets a value indicating whether the message can be sent.

public bool IsAllowed { get; set; }

Property Value

bool

IsCustomAnnouncement

Gets or sets a value indicating whether the event can be executed.

[Obsolete("Useless and will be removed in Exiled 10.")]
public bool IsCustomAnnouncement { get; set; }

Property Value

bool

MakeHold

Gets or sets a value indicating whether the message should be held.

public bool MakeHold { get; set; }

Property Value

bool

MakeNoise

Gets or sets a value indicating whether the message should make noise.

public bool MakeNoise { get; set; }

Property Value

bool

SubtitleSource

Gets or sets a value indicating where the subtitles for this message came from.

public CassieTtsPayload.SubtitleMode SubtitleSource { get; set; }

Property Value

CassieTtsPayload.SubtitleMode

Words

Gets or sets the message.

public string Words { get; set; }

Property Value

string