Class: Wowr::Classes::ItemPlansFor
- Inherits:
-
ItemCreation
- Object
- Item
- ItemCreation
- Wowr::Classes::ItemPlansFor
- Defined in:
- lib/wowr/item.rb
Overview
(fold) <plansFor>
<spell name="Shadowprowler's Chestguard" icon="trade_leatherworking" id="42731">
<item name="Shadowprowler's Chestguard" icon="inv_chest_plate11" type="Leather" level="105" id="33204" quality="4"></item>
<reagent name="Heavy Knothide Leather" icon="inv_misc_leatherscrap_11" id="23793" count="10"></reagent>
</spell>
</plansFor> (end)
Instance Attribute Summary
Attributes inherited from ItemCreation
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(elem, api = nil) ⇒ ItemPlansFor
constructor
A new instance of ItemPlansFor.
Methods inherited from Item
Constructor Details
#initialize(elem, api = nil) ⇒ ItemPlansFor
Returns a new instance of ItemPlansFor.
558 559 560 561 562 |
# File 'lib/wowr/item.rb', line 558 def initialize(elem, api = nil) super(elem, api) # TODO: Multiple items? @item = CreatedItem.new(elem%'item') if (elem%'item') end |