Class SendingCassieMessageEventArgs
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
anncCassieAnnouncementThe announcement to populate all properties from.
isAllowedbool
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
GlitchScale
Gets or sets a value controlling how glitchy this CASSIE message is.
public float GlitchScale { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the message can be sent.
public bool IsAllowed { get; set; }
Property Value
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
MakeHold
Gets or sets a value indicating whether the message should be held.
public bool MakeHold { get; set; }
Property Value
MakeNoise
Gets or sets a value indicating whether the message should make noise.
public bool MakeNoise { get; set; }
Property Value
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; }