Crate vault [] [src]

vault is a fully-featured Company of Heroes 2 replay parser valid for replays created on or after the release of the British forces (version 19545).

This library contains representations of all replay, map, and player information, including chat and equipped items. Command parsing is also being actively integrated.

Structs

Replay

The main Replay type, contains all currently parsed replay data. Can be serialized to JSON for output using rustc_serialize.

Vault

This type is the main entry point for the vault replay parser and provides the cleanest interface for use by external code.

Enums

Error

This type contains the various error messages that can be returned from the library.

Functions

print_version

Prints out the current vault version and compatible CoH2 game versions.

Type Definitions

Result

Custom Result wrapper for vault, used to return vault::Error from every result.