15 lines
529 B
C#
15 lines
529 B
C#
namespace Fantasy;
|
|
|
|
public sealed class AuthenticationComponent : Entitas.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>();
|
|
} |