mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 16:28:50 -07:00

* GetPetAchievementsByUserID and enum for PointTypes * add RankService * use AchievementPointTypes for PointTypeID ... insted of int in schema * support for player XP, fix dragon XP - database table - return correct value in API call - save XP from mission * rename RankService to AchievementService * use addAchievementPoints for all non item reward this could be a good place for wallet servicing too ... so currency reward too * return const XP value for farming and fishing we don't have gathering method for those XPs yet * fix avatar schema, fix coding style
36 lines
563 B
C#
36 lines
563 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
public enum AchievementPointTypes {
|
|
[XmlEnum("1")]
|
|
PlayerXP = 1,
|
|
|
|
[XmlEnum("2")]
|
|
GameCurrency = 2, // gold
|
|
|
|
[XmlEnum("4")]
|
|
Unknown4 = 4,
|
|
|
|
[XmlEnum("5")]
|
|
CashCurrency = 5, // gems
|
|
|
|
[XmlEnum("6")]
|
|
ItemReward = 6,
|
|
|
|
[XmlEnum("8")]
|
|
DragonXP = 8,
|
|
|
|
[XmlEnum("9")]
|
|
PlayerFarmingXP = 9,
|
|
|
|
[XmlEnum("10")]
|
|
PlayerFishingXP = 10,
|
|
|
|
[XmlEnum("12")]
|
|
UDTPoints = 12,
|
|
|
|
[XmlEnum("13")]
|
|
Unknown13 = 13,
|
|
}
|