Expand description
Parsing for ArcDPS EVTC logs.
§Usage
Use the parse_file
function to easily parse a Log
from a file path.
match evtc_parse::parse_file("path/to/log.evtc") {
Ok(log) => println!("Log for boss id {}", log.header.boss_id),
Err(err) => eprintln!("Encountered error {}", err),
}
A Log
can also be parsed from any input implementing Read
.
use evtc_parse::{Log, Parse};
use std::io;
fn parse_from_read(input: &mut impl io::Read) -> Log {
Log::parse(input).expect("failed to parse")
}
Note that ArcDPS can save compressed log files with .zevtc
as file extension.
Enabling the "zevtc"
or "zip"
feature adds support for compressed logs.
Modules§
- agent
- Agent bindings & utilities.
- buff
- Buff bindings & utilities.
- content
- Bindings & utilities for GUIDs appearing in events.
- effect
- Effect bindings & utilities.
- event
- Event bindings & utilities.
- extract
- Interfaces for extracting information from events.
- marker
- Marker bindings & utilities.
- missile
- Missile bindings & utilities.
- player
- Player bindings & utilities.
- position
- Bindings & utilities for the game’s 3d space.
- skill
- Skill bindings & utilities.
- strike
- Bindings & utilities for any form of strikes (direct damage).
- weapon
- Bindings & utilities for agent weapon sets.
Structs§
- Agent
- An EVTC agent.
- AgentId
- Ids for an agent.
- Event
- ArcDPS event.
- Header
- An EVTC log header.
- Language
Iter - An iterator over the variants of Language
- Log
- An EVTC log.
- LogTransformed
- A transformed EVTC log.
- Position
- Positional information.
- Ruleset
- Skill
- An EVTC skill definition.
- State
Change Iter - An iterator over the variants of StateChange
Enums§
- Activation
- Skill activation (cast).
- Affinity
- Whether the agent is an ally or enemy.
- Agent
Kind - Possible agent kinds.
- Attribute
- Attributes for buff formulas.
- Buff
Category - Buff info category after 13 December 2022.
- Buff
Cycle - Combat buff cycle.
- Buff
Remove - Combat buff remove.
- Custom
Skill - ArcDPS custom skill ids.
- Event
Category - Possible
Event
categories. - Event
Kind - Possible
Event
kinds. - Language
- GW2 client language.
- Parse
Error - A possible error occurring during parsing.
- Profession
- Player profession.
- Specialization
- Player specialization.
- State
Change - Combat state change kinds.
- Strike
- Strike types.
Traits§
- Parse
- Interface for parsing a value from a
Read
input. - Save
- Interface for saving a value into a
Write
output. - TryExtract
- Attempts to extract information from a combat event.
Functions§
- parse_
file - Parses a
Log
from a givenPath
to a log file. - parse_
zevtc - Parses a
Log
from a compressedzevtc
input.