namespace FantasyNetTest;

[Serializable]
public class Config
{
    /// <summary>
    /// 登录服地址
    /// </summary>
    public string Server { get; set; } = "127.0.0.1:20001";

    /// <summary>
    /// 心跳间隔
    /// </summary>
    public int Heartbeat { get; set; } = 5;

    /// <summary>
    /// 协议目录
    /// </summary>
    public string ProtocolScriptPath { get; set; } = "";

    /// <summary>
    /// 缓存账号列表
    /// </summary>
    public HashSet<string> Accounts { get; set; } = [];
}