diff --git a/Server/DB/Documents/Character.cs b/Server/DB/Documents/Character.cs index 96308bf..146d124 100644 --- a/Server/DB/Documents/Character.cs +++ b/Server/DB/Documents/Character.cs @@ -1,10 +1,19 @@ namespace Server.DB.Documents; +using NpgsqlTypes; + public class Character { + public byte ServerId { get; set; } public Guid AccountId { get; set; } public Account Account { get; set; } = null!; public Guid Id { get; set; } public ushort MapId { get; set; } public string Name { get; set; } + public short LastXCoordinate { get; set; } + public short LastYCoordinate { get; set; } + public PvPLevel PvPLevel { get; set; } + public Gender Gender { get; set; } + public long Experience { get; set; } + public byte Level { get; set; } } diff --git a/Server/DB/Documents/Gender.cs b/Server/DB/Documents/Gender.cs new file mode 100644 index 0000000..8ce6b98 --- /dev/null +++ b/Server/DB/Documents/Gender.cs @@ -0,0 +1,8 @@ +namespace Server.DB.Documents; + +public enum Gender : byte +{ + None = 0, + Male = 1, + Female = 2 +} diff --git a/Server/DB/Documents/PvPLevel.cs b/Server/DB/Documents/PvPLevel.cs new file mode 100644 index 0000000..db96187 --- /dev/null +++ b/Server/DB/Documents/PvPLevel.cs @@ -0,0 +1,30 @@ +namespace Server.DB.Documents; + +public enum PvPLevel : byte +{ + None = 0, + Dualer = 1, + Challenger, + Challenger2, + Challenger3, + Challenger4, + Challenger5, + Veteran1, + Veteran2, + Veteran3, + Veteran4, + Veteran5, + Gladiator1, + Gladiator2, + Gladiator3, + Gladiator4, + Gladiator5, + Vanquisher1, + Vanquisher2, + Vanquisher3, + Vanquisher4, + Vanquisher5, + Hero, + Champion, + WonderKing +}