sodoff/src/Schema/AchievementTask.cs
rpaciorek 665089d5ef
support AchievementTask and AchievementID rewards (#25)
- add task and id reward xml databases
   - thanks to Project Edge community for sniffed network data!
- implement SetAchievementAndGetReward, SetUserAchievementAndGetReward
- partially implement SetUserAchievementTask
- move rewards logic to AchievementService
- show real value of farming and fishing XP
- show UDP points

Co-authored-by: Spirtix <michal.prazak1@gmail.com>
2023-08-23 22:07:08 +02:00

27 lines
544 B
C#

using System.Xml.Serialization;
namespace sodoff.Schema;
[XmlRoot(ElementName = "ATS", Namespace = "")]
[Serializable]
public class AchievementTask
{
[XmlElement(ElementName = "oid")]
public string OwnerID;
[XmlElement(ElementName = "tid")]
public int TaskID;
[XmlElement(ElementName = "aiid")]
public int AchievementInfoID;
[XmlElement(ElementName = "rid")]
public string RelatedID;
[XmlElement(ElementName = "pts")]
public int Points;
[XmlElement(ElementName = "etid")]
public int EntityTypeID;
}