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§
Sourcefn run_to_end(&mut self) -> Result<(), ParserError>
fn run_to_end(&mut self) -> Result<(), ParserError>
Moves to the end of replay. The last packet is CDemoFileInfo.
Sourcefn run_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>
fn run_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>
Moves to target tick.
Sourcefn jump_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>
fn jump_to_tick(&mut self, target_tick: u32) -> Result<(), ParserError>
Moves to target tick without calling observers and processing delta packets.