Files
Fishing2Server/Entity/Authentication/AuthenticationComponent.cs
2025-07-26 17:58:25 +08:00

17 lines
540 B
C#

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>();
}