using Milimoe.FunGame.Core.Entity; using Milimoe.FunGame.Core.Library.Constant; namespace Milimoe.FunGame.Core.Model { public class Session { /// /// 服务器地址 /// public string Server_Address { get; set; } = ""; /// /// 服务器端口号 /// public int Server_Port { get; set; } = 0; /// /// SocketToken /// public Guid SocketToken { get; set; } = Guid.Empty; /// /// LoginKey /// public Guid LoginKey { get; set; } = Guid.Empty; /// /// 已登录的用户 /// public User LoginUser { get; set; } = General.UnknownUserInstance; /// /// 已登录用户名 /// public string LoginUserName { get; set; } = ""; /// /// 所处的房间 /// public Room InRoom { get; set; } = General.HallInstance; } }