1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 10:34:11 +02:00

use vec for raw event values

This commit is contained in:
Robin Appelman 2019-03-02 14:58:08 +01:00
commit 3298ac3fd0
3 changed files with 1031 additions and 1031 deletions

View file

@ -129,9 +129,9 @@ impl FromGameEventValue for () {
pub struct RawGameEvent {
pub event_type: GameEventType,
pub values: HashMap<String, GameEventValue>,
pub values: Vec<GameEventValue>,
}
pub trait FromRawGameEvent: Sized {
fn from_raw_event(values: HashMap<String, GameEventValue>) -> Result<Self>;
fn from_raw_event(values: Vec<GameEventValue>) -> Result<Self>;
}