Class SendingCassieMessageEventArgs
Contains all the information after sending a C.A.S.S.I.E. message.
Inheritance
System.Object
SendingCassieMessageEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Cassie
Assembly: Exiled.Events.dll
Syntax
public class SendingCassieMessageEventArgs : IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceSendingCassieMessageEventArgs(String, Boolean, Boolean, Boolean)
Initializes a new instance of the SendingCassieMessageEventArgs class.
Declaration
public SendingCassieMessageEventArgs(string words, bool makeHold, bool makeNoise, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | words | |
System.Boolean | makeHold | |
System.Boolean | makeNoise | |
System.Boolean | isAllowed | Indicates whether the event can be executed or not. |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the message can be sent.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MakeHold
Gets or sets a value indicating whether or not the message should be held.
Declaration
public bool MakeHold { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MakeNoise
Gets or sets a value indicating whether or not the message should make noise.
Declaration
public bool MakeNoise { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Words
Gets or sets the message.
Declaration
public string Words { get; set; }
Property Value
Type | Description |
---|---|
System.String |