FunGame-Core/Model/FunGameConfig.cs
milimoe b4ce65a35b
更新 DataRequest, RunTime, GameMode; 添加 FunGameConfig (#33)
* 更新DataRequest GetResult<T>

* 更新了DataRequest的构造方法,以及RunTime类

* 更新RunTime控制器

* 从Desktop复制Config到Core;更新常量

* 添加GameMode
2023-06-19 09:07:20 +08:00

68 lines
1.8 KiB
C#

using Milimoe.FunGame.Core.Library.Constant;
namespace Milimoe.FunGame.Core.Model
{
public class FunGameConfig
{
/// <summary>
/// 是否自动连接服务器
/// </summary>
public bool FunGame_isAutoConnect { get; set; } = true;
/// <summary>
/// 是否自动登录
/// </summary>
public bool FunGame_isAutoLogin { get; set; } = false;
/// <summary>
/// 是否在匹配中
/// </summary>
public bool FunGame_isMatching { get; set; } = false;
/// <summary>
/// 是否连接上服务器
/// </summary>
public bool FunGame_isConnected { get; set; } = false;
/// <summary>
/// 是否正在重连
/// </summary>
public bool FunGame_isRetrying { get; set; } = false;
/// <summary>
/// 是否自动重连
/// </summary>
public bool FunGame_isAutoRetry { get; set; } = true;
/// <summary>
/// 当前游戏模式
/// </summary>
public string FunGame_GameMode { get; set; } = GameMode.GameMode_Mix;
/// <summary>
/// 服务器名称
/// </summary>
public string FunGame_ServerName { get; set; } = "";
/// <summary>
/// 公告
/// </summary>
public string FunGame_Notice { get; set; } = "";
/// <summary>
/// 自动登录的账号
/// </summary>
public string FunGame_AutoLoginUser { get; set; } = "";
/// <summary>
/// 自动登录的密码
/// </summary>
public string FunGame_AutoLoginPassword { get; set; } = "";
/// <summary>
/// 自动登录的秘钥
/// </summary>
public string FunGame_AutoLoginKey { get; set; } = "";
}
}