amend typedmessage eventargs
This commit is contained in:
parent
82377c9119
commit
b979bc652b
|
@ -2,15 +2,21 @@
|
|||
|
||||
namespace BattleBitAPI.Server.EventArgs
|
||||
{
|
||||
/// <remarks>
|
||||
/// Player: The player that typed the message <br/>
|
||||
/// ChatChannel: The channel the message was sent <br/>
|
||||
/// string - Message: The message<br/>
|
||||
/// </remarks>
|
||||
public class PlayerTypedMessageEventArgs<TPlayer> where TPlayer : Player
|
||||
{
|
||||
/// <summary>
|
||||
/// The player who typed the message.
|
||||
/// </summary>
|
||||
public TPlayer Player { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The channel the message was sent in.
|
||||
/// </summary>
|
||||
public ChatChannel ChatChannel { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The message.
|
||||
/// </summary>
|
||||
public string Message { get; init; }
|
||||
|
||||
internal PlayerTypedMessageEventArgs(TPlayer player, ChatChannel chatChannel, string message)
|
||||
|
|
Loading…
Reference in New Issue