Wowlog
Wowlog is Parser Library for World of Warcraft Combat Log to analyze your combat.
Installation
Add this line to your application's Gemfile:
gem 'wowlog'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wowlog
Usage
require 'wowlog'
psr = Wowlog::Parser.new
File.open('/path/to/WowCombatLog.txt', 'r') do |fd|
fd.each do |line|
ev = psr.parse_line(line)
puts ev
# => {"event"=>"SPELL_HEAL", "sourceGUID"=>"0x0300000007F97AFF", "sourceName"=>"Muret", ...}
end
end
Contributing
- Fork it ( https://github.com/[my-github-username]/wowlog/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request