mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
27 lines
703 B
C#
27 lines
703 B
C#
using Impostor.Api.Events.Player;
|
|
using Impostor.Api.Games;
|
|
using Impostor.Api.Net;
|
|
using Impostor.Api.Net.Inner.Objects;
|
|
|
|
namespace Impostor.Server.Events.Player
|
|
{
|
|
public class PlayerChatEvent : IPlayerChatEvent
|
|
{
|
|
public PlayerChatEvent(IGame game, IClientPlayer clientPlayer, IInnerPlayerControl playerControl, string message)
|
|
{
|
|
Game = game;
|
|
ClientPlayer = clientPlayer;
|
|
PlayerControl = playerControl;
|
|
Message = message;
|
|
}
|
|
|
|
public IGame Game { get; }
|
|
|
|
public IClientPlayer ClientPlayer { get; }
|
|
|
|
public IInnerPlayerControl PlayerControl { get; }
|
|
|
|
public string Message { get; }
|
|
}
|
|
}
|