using Fantasy.Entitas;

namespace NB;

public sealed class AuthenticationComponent : Entity
{
    /// <summary>
    /// 代表当前服务器在鉴权服务器中的位置
    /// </summary>
    public int Position;
    /// <summary>
    /// 代表当前鉴权组的数量
    /// </summary>
    public int AuthenticationCount;
    public readonly Dictionary<string, Account> Accounts = new Dictionary<string, Account>();
    public readonly Dictionary<string, AccountCacheInfo> LoginAccounts = new Dictionary<string, AccountCacheInfo>();
}