Class SendingAdminChatMessageEventsArgs
Contains all information before a player sends a message in AdminChat.
Inheritance
System.Object
SendingAdminChatMessageEventsArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class SendingAdminChatMessageEventsArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceSendingAdminChatMessageEventsArgs(Player, String, Boolean)
Initializes a new instance of the SendingAdminChatMessageEventsArgs class.
Declaration
public SendingAdminChatMessageEventsArgs(Player player, string message, bool isAllowed)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.String | message | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether the pickup can be searched.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Gets or sets the message which is being sent.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Player
Gets the player who's sending the message.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |