using System.Net; namespace OMS.NET.Common { public class UserConnect { /// /// ws连接生成的唯一uuid /// public string ID { get; set; } /// /// ip+port,暂时仅用于服务端日志输出和记录 /// public IPEndPoint UserEndPoint { get; set; } /// /// 用户邮箱,如果为空则说明此连接未登录 /// public string? UserEmail { get; set; } public UserConnect(string ID, IPEndPoint UserEndPoint) { this.ID = ID; this.UserEndPoint = UserEndPoint; } } // public class UserData // { // public string UserEmail { get; set; } // public string UserName { get; set; } // public int Map_Layer { get; set; } // } }