Pareser for Warcraft III DotA w3g replay file
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dota
README.md

README.md

How To Use

    /**
    * Replay Data Parser
    *
    * @param string $filename = 'path/to/file.w3g'
    *
    * @param array $options = array(
    *  'parseActions' => true, //default true
    *  'parseChat' => true, //default true
    *  'logCallback' => 'string|array' // this function will called when calls $this->_log()
    *  'translateCallback' => 'string|array' // this function will called when calls $this->_t()
    * )
    */

    $replay = new Dota_Replay($filename, $options);
    $replay->toArray();