Class: Wowlog::AuraBrokenParser

Inherits:
ColumnParser show all
Defined in:
lib/wowlog.rb

Constant Summary

Constants inherited from ColumnParser

ColumnParser::OBJECT_SPECIAL_MASK, ColumnParser::PT_MAP, ColumnParser::SCHOOL_FLAG_MAP, ColumnParser::UNIT_FLAG_MAP, ColumnParser::UNIT_SPECIAL_FLAG_MAP

Instance Method Summary collapse

Methods inherited from ColumnParser

#initialize, #int, #parse_school_flag, #parse_unit_flag, #resolv_power_type

Constructor Details

This class inherits a constructor from Wowlog::ColumnParser

Instance Method Details

#parse(cols, obj) ⇒ Object



305
306
307
308
309
310
311
312
# File 'lib/wowlog.rb', line 305

def parse(cols, obj)
  cols, obj = super(cols, obj)
  obj['extraSpellID'] = cols.shift
  obj['extraSpellName'] = cols.shift
  obj['extraSchool'] = parse_school_flag(cols.shift)
  obj['auraType'] = cols.shift
  return cols, obj
end