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:
parent
3adf7eebe7
commit
3298ac3fd0
3 changed files with 1031 additions and 1031 deletions
|
|
@ -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>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue