mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-12 00:38:48 -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
18 lines
508 B
C#
18 lines
508 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "ItemStateCriteriaReplenishable", Namespace = "")]
|
|
[Serializable]
|
|
public class ItemStateCriteriaReplenishable : ItemStateCriteria
|
|
{
|
|
[XmlElement(ElementName = "ApplyRank")]
|
|
public bool ApplyRank;
|
|
|
|
[XmlElement(ElementName = "PointTypeID", IsNullable = true)]
|
|
public AchievementPointTypes? PointTypeID;
|
|
|
|
[XmlElement(ElementName = "ReplenishableRates")]
|
|
public List<ReplenishableRate> ReplenishableRates;
|
|
}
|