using System; using System.Collections.Generic; using System.Linq; using System.Text; /// /// 聊天消息类 /// public class ChatMessage { /// /// 聊天消息ID /// public long ID; /// /// 发送者ID /// public long SenderId; /// /// 接收者ID /// public long ReceiverId; /// /// 聊天频道 /// public ChatChannel Channel; /// /// 回放帧数 /// public int ReplayFrameCount; /// /// 聊天创建时间 /// public DateTime CreateTime; /// /// 战斗id /// public long? BattleId; /// /// 聊天群组 /// public ChatType ChatGroup; } public enum ChatType { /// /// 公聊消息 /// PublicChat, /// /// 私聊消息 /// PrivateChat, /// /// 建议消息 /// SuggestChat } public enum ChatMsgType { /// /// 字符串 /// Str, /// /// 语音 /// Audio, /// /// 指令 /// Task }