sodoff/src/Schema/FuseItemsRequest.cs
rpaciorek 7bee6c620a
dragons tactics (battle) backpack (#26)
* return battle item as battle items

placeholder - no saved stats, always use default stats

* Blacksmith API implementation

* ApplyRewards (DT rewards) and AddBattleItems

also temporary disable some AchievementsTask rewards from DT ... probably should not be repeatable ...

* support "box tickets" blueprints

- add OpenBox in ItemService (should be useful for other boxes also)
- move checking item category to ItemService (ItemHasCategory)

* InventoryService and full DragonTactics rewards

- move "add to inventory" to InventoryService
- move creating CommonInventoryData from inventory to InventoryService
- move CreateItemStats() to ItemService
- assigning random "item" reward from DT based on dtrewards.xml (at this moment list of all DT items not listed in store)
- rework dragon XP and add player XP and gems reward to DT
2023-08-31 20:42:03 +02:00

27 lines
844 B
C#

using System.Xml.Serialization;
namespace sodoff.Schema;
[XmlRoot(ElementName = "FIR", Namespace = "")]
[Serializable]
public class FuseItemsRequest
{
[XmlElement(ElementName = "BPINVID", IsNullable = true)]
public int? BluePrintInventoryID { get; set; }
[XmlElement(ElementName = "BPIID", IsNullable = true)]
public int? BluePrintItemID { get; set; }
[XmlElement(ElementName = "DIIM", IsNullable = true)]
public List<DeductibleItemInventoryMap> DeductibleItemInventoryMaps { get; set; }
[XmlElement(ElementName = "BPFIM", IsNullable = false)]
public List<BluePrintFuseItemMap> BluePrintFuseItemMaps { get; set; }
[XmlElement(ElementName = "LOC", IsNullable = true)]
public string Locale { get; set; }
[XmlElement(ElementName = "AGN", IsNullable = false)]
public Gender AvatarGender { get; set; }
}