Files
DanhengServer-OpenSource/Common/Database/Player/PlayerData.cs
2024-03-03 14:13:48 +08:00

49 lines
1.6 KiB
C#

using EggLink.DanhengServer.Enums;
using EggLink.DanhengServer.Proto;
using EggLink.DanhengServer.Util;
using SqlSugar;
namespace EggLink.DanhengServer.Database.Player
{
[SugarTable("Player")]
public class PlayerData : BaseDatabaseData
{
public string? Name { get; set; }
public string? Signature { get; set; }
public int Birthday { get; set; }
public int CurBasicType { get; set; }
public int HeadIcon { get; set; }
public int PhoneTheme { get; set; }
public int ChatBubble { get; set; }
public int CurrentBgm { get; set; }
public Gender? CurrentGender { get; set; }
public int Level { get; set; }
public int Exp { get; set; }
public int WorldLevel { get; set; }
public int Scoin { get; set; } // Credits
public int Hcoin { get; set; } // Jade
public int Mcoin { get; set; } // Crystals
public int TalentPoints { get; set; } // Rogue talent points
public int Stamina { get; set; }
public double StaminaReserve { get; set; }
public long NextStaminaRecover { get; set; }
[SugarColumn(IsNullable = true)]
public Position? Pos { get; set; }
[SugarColumn(IsNullable = true)]
public Position? Rot { get; set; }
[SugarColumn(IsNullable = true)]
public int PlaneId { get; set; }
[SugarColumn(IsNullable = true)]
public int FloorId { get; set; }
[SugarColumn(IsNullable = true)]
public int EntryId { get; set; }
[SugarColumn(IsNullable = true)]
public long LastActiveTime { get; set; }
}
}