amend typedmessage eventargs

This commit is contained in:
moddedmcplayer 2023-08-07 18:09:31 +02:00
parent 82377c9119
commit b979bc652b
1 changed files with 11 additions and 5 deletions

View File

@ -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)