namespace TEngine.Logic;
///
/// 账号信息
///
public class AccountInfo : Entity
{
///
/// 用户唯一ID。
///
public uint UID { get; set; }
///
/// 用户名。
///
public string UserName { get; set; }
///
/// 密码。
///
public string Password { get; set; }
///
/// 渠道唯一ID。
///
public uint SDKUID { get; set; }
///
/// 是否禁用账号。
///
public bool Forbid { get; set; }
public override void Dispose()
{
Log.Debug($"UID:{this.UID}");
this.Parent?.Scene?.GetComponent()?.Remove(this);
base.Dispose();
}
}