forked from SoDOff-Project/sodoff

* 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
27 lines
587 B
C#
27 lines
587 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "UAI", Namespace = "")]
|
|
[Serializable]
|
|
public class UserAchievementInfo
|
|
{
|
|
[XmlElement(ElementName = "u")]
|
|
public Guid? UserID;
|
|
|
|
[XmlElement(ElementName = "n")]
|
|
public string UserName;
|
|
|
|
[XmlElement(ElementName = "a")]
|
|
public int? AchievementPointTotal;
|
|
|
|
[XmlElement(ElementName = "r")]
|
|
public int RankID;
|
|
|
|
[XmlElement(ElementName = "p")]
|
|
public AchievementPointTypes? PointTypeID;
|
|
|
|
[XmlElement(ElementName = "FBUID", IsNullable = true)]
|
|
public long? FacebookUserID;
|
|
}
|