Struct source_demo_tool::demo_file::header::DemoHeader
source · pub struct DemoHeader {
pub demo_protocol: i32,
pub network_protocol: i32,
pub server_name: String,
pub client_name: String,
pub map_name: String,
pub game_directory: String,
pub playback_time: f32,
pub ticks: i32,
pub frames: i32,
pub sign_on_length: i32,
}
Fields§
§demo_protocol: i32
§network_protocol: i32
§server_name: String
§client_name: String
§map_name: String
§game_directory: String
§playback_time: f32
§ticks: i32
§frames: i32
§sign_on_length: i32
Implementations§
source§impl DemoHeader
impl DemoHeader
pub fn from_readable(reader: impl Read) -> Result<DemoHeader, String>
Trait Implementations§
source§impl Clone for DemoHeader
impl Clone for DemoHeader
source§fn clone(&self) -> DemoHeader
fn clone(&self) -> DemoHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more