ToyTwoHanded or TwoHandedToy?

ToyTwoHanded or TwoHandedToy?

in API Development

Posted by: dlonie.6547

dlonie.6547

Item 36373, “Enchanted Broom” has weapon type ‘ToyTwoHanded’, but the docs says ‘TwoHandedToy’ is the proper identifier. Which should we use for parsing?

{
“chat_link” : “[&AgEVjgAA]”,
“default_skin” : 3241,
“description” : “Town clothes can no longer be equipped separately.\n\nSpeak to a Black Lion Armor Trader to exchange this for a portable bundle item.”,
“details” : {
“damage_type” : “Physical”,
“defense” : 0,
“infusion_slots” : [],
“max_power” : 0,
“min_power” : 0,
“secondary_suffix_item_id” : "",
“type” : “ToyTwoHanded”
},
“flags” : [
“AccountBound”,
“NoMysticForge”,
“NoSell”,
“NotUpgradeable”,
“AccountBindOnUse”
],
“game_types” : [ “PvpLobby”, “Activity”, “Wvw”, “Dungeon”, “Pve” ],
“icon” : “https://render.guildwars2.com/file/0B041363F2E8D23B9CF828C51A77B81F303626BA/534228.png”,
“id” : 36373,
“level” : 0,
“name” : “Enchanted Broom”,
“rarity” : “Rare”,
“restrictions” : [],
“type” : “Weapon”,
“vendor_value” : 0
}

ToyTwoHanded or TwoHandedToy?

in API Development

Posted by: darthmaim.6017

darthmaim.6017

ToyTwoHanded is the correct one.