RMafia/MafiaCommon/Packets/MessageReceivePacket.cs
2021-01-17 22:47:37 +03:00

18 lines
540 B
C#

namespace MafiaCommon.Packets
{
public class MessageReceivePacket : Packet
{
public readonly ChatType ChatType;
public readonly bool IsSystem;
public readonly string Author;
public readonly string Text;
public MessageReceivePacket(ChatType chatType, bool isSystem, string author, string text) : base(PacketType.MessageReceivePacket)
{
ChatType = chatType;
IsSystem = isSystem;
Author = author;
Text = text;
}
}
}