evtclib

Latest Version Rust Documentation

evtclib is a Rust library that allows you to parse .evtc files, as generated by the arcdps addon for the Guild Wars 2 video game.

Features:

evtclib is currently in beta-stage. Not all evtc events are supported, and the API is not yet set in stone.

Example

```rust use std::fs::File;

fn main() -> Result<(), Box> { // Open a file for processing let mut file = File::open("Skorvald/20200421-183243.evtc")?; // Parse the raw content of the file let rawlog = evtclib::raw::parsefile(&mut file)?; // Process the file to do the nitty-gritty low-level stuff done let log = evtclib::process(&rawlog)?; // Do work on the log for player in log.players() { println!("Player {} participated!", player.accountname()); } Ok(()) } ```

License

This project is licensed under the MIT license (LICENSE or https://opensource.org/licenses/MIT).