L2Bot2.0/Client/Domain/ValueObjects/ChatMessage.cs
2023-01-28 16:32:10 +04:00

26 lines
635 B
C#

using Client.Domain.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Domain.ValueObjects
{
public class ChatMessage
{
public uint ObjectId { get; set; }
public ChatChannelEnum Channel { get; set; }
public string Name { get; set; }
public string Text { get; set; }
public ChatMessage(uint objectId, ChatChannelEnum channel, string name, string text)
{
ObjectId = objectId;
Channel = channel;
Name = name;
Text = text;
}
}
}