DemoRunner

Trait DemoRunner 

Source
pub trait DemoRunner {
    // Required methods
    fn run_to_end(&mut self) -> Result<(), ParserError>;
    fn run_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>;
    fn jump_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>;
}

Required Methods§

Source

fn run_to_end(&mut self) -> Result<(), ParserError>

Moves to the end of replay. The last packet is CDemoFileInfo.

Source

fn run_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>

Moves to target tick.

Source

fn jump_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>

Moves to target tick without calling observers and processing delta packets.

Implementors§