/// <summary> /// Draw fields for an item /// </summary> private static void DrawItemFields() { HeroKitCommon.DrawItemDropdown(intFields, "Ammunition Type", 0, HeroKitCommon.ammunitionTypeDatabase); HeroKitCommon.BasicFieldsA(stringFields, uoFields, 0, 1, 0); HeroKitCommon.DrawMoneyValue(stringFields_att, intFields_att); HeroKitCommon.DrawItemWeight(intFields_att); SimpleLayout.Line(); HeroKitCommon.DrawStatsValue(stringFields_att, intFields_att); HeroKitCommon.DrawConditionsValue(stringFields_att, intFields_att); HeroKitCommon.DrawElementValue(stringFields_att, intFields_att, "Attach elements to this item"); SimpleLayout.Line(); HeroKitCommon.DrawActions(heroObject, heroActions, addItem, showBlockContent, showContextMenu); }
/// <summary> /// Draw fields for an item /// </summary> private static void DrawItemFields() { HeroKitCommon.DrawItemDropdown(intFields, "Item Type", 0, HeroKitCommon.itemTypeDatabase); HeroKitCommon.BasicFieldsA(stringFields, uoFields, 0, 1, 0); HeroKitCommon.DrawMoneyValue(stringFields_att, intFields_att); HeroKitCommon.DrawItemWeight(intFields_att); HeroKitCommon.DrawStackItems(boolFields_att); SimpleLayout.Line(); HeroKitCommon.DrawAffixValue(stringFields_att, intFields_att); HeroKitCommon.DrawSocketsValue(stringFields_att, intFields_att); SimpleLayout.Line(); HeroKitCommon.DrawMeterValue(stringFields_att, intFields_att); HeroKitCommon.DrawStatsValue(stringFields_att, intFields_att); HeroKitCommon.DrawExtras(intFields_att); SimpleLayout.Line(); HeroKitCommon.DrawConditionsValue(stringFields_att, intFields_att); HeroKitCommon.DrawElementValue(stringFields_att, intFields_att); SimpleLayout.Line(); HeroKitCommon.DrawActions(heroObject, heroActions, addItem, showBlockContent, showContextMenu); }
/// <summary> /// Draw fields for an item /// </summary> private static void DrawItemFields() { HeroKitCommon.DrawItemDropdown(intFields, "Weapon Type", 0, HeroKitCommon.weaponTypeDatabase); HeroKitCommon.BasicFieldsA(stringFields, uoFields, 0, 1, 0); HeroKitCommon.DrawMoneyValue(stringFields_att, intFields_att); HeroKitCommon.DrawItemWeight(intFields_att); DrawAttackSpeed(); HeroKitCommon.DrawStackItems(boolFields_att); DrawIsTwoHanded(); DrawUsesAmmo(); SimpleLayout.Line(); HeroKitCommon.DrawAffixValue(stringFields_att, intFields_att); HeroKitCommon.DrawSocketsValue(stringFields_att, intFields_att); SimpleLayout.Line(); HeroKitCommon.DrawMeterValue(stringFields_att, intFields_att, "Change meters (on attack target)"); HeroKitCommon.DrawStatsValue(stringFields_att, intFields_att, "Change stats (on character who has this weapon)"); SimpleLayout.Line(); HeroKitCommon.DrawConditionsValue(stringFields_att, intFields_att); HeroKitCommon.DrawElementValue(stringFields_att, intFields_att, "Attach elements to this item"); SimpleLayout.Line(); HeroKitCommon.DrawActions(heroObject, heroActions, addItem, showBlockContent, showContextMenu); }