Struct s2protocol::versions::protocol87702::bit_packed::GameSDetails
source · pub struct GameSDetails {Show 18 fields
pub m_player_list: Option<GameCPlayerDetailsArray>,
pub m_title: Vec<u8>,
pub m_difficulty: Vec<u8>,
pub m_thumbnail: GameSThumbnail,
pub m_is_blizzard_map: bool,
pub m_time_utc: Int64,
pub m_time_local_offset: Int64,
pub m_restart_as_transition_map: Option<bool>,
pub m_disable_recover_game: bool,
pub m_description: Vec<u8>,
pub m_image_file_path: CFilePath,
pub m_campaign_index: Uint8,
pub m_map_file_name: CFilePath,
pub m_cache_handles: Option<GameCCacheHandles>,
pub m_mini_save: bool,
pub m_game_speed: GameEGameSpeed,
pub m_default_difficulty: GameTDifficulty,
pub m_mod_paths: Option<GameCModPaths>,
}Fields§
§m_player_list: Option<GameCPlayerDetailsArray>§m_title: Vec<u8>§m_difficulty: Vec<u8>§m_thumbnail: GameSThumbnail§m_is_blizzard_map: bool§m_time_utc: Int64§m_time_local_offset: Int64§m_restart_as_transition_map: Option<bool>§m_disable_recover_game: bool§m_description: Vec<u8>§m_image_file_path: CFilePath§m_campaign_index: Uint8§m_map_file_name: CFilePath§m_cache_handles: Option<GameCCacheHandles>§m_mini_save: bool§m_game_speed: GameEGameSpeed§m_default_difficulty: GameTDifficulty§m_mod_paths: Option<GameCModPaths>Implementations§
source§impl GameSDetails
impl GameSDetails
pub fn parse_m_player_list( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Option<GameCPlayerDetailsArray>>
pub fn parse_m_title( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Vec<u8>>
pub fn parse_m_difficulty( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Vec<u8>>
pub fn parse_m_thumbnail( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameSThumbnail>
pub fn parse_m_is_blizzard_map( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), bool>
pub fn parse_m_time_utc( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Int64>
pub fn parse_m_time_local_offset( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Int64>
pub fn parse_m_restart_as_transition_map( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Option<bool>>
pub fn parse_m_disable_recover_game( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), bool>
pub fn parse_m_description( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Vec<u8>>
pub fn parse_m_image_file_path( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), CFilePath>
pub fn parse_m_campaign_index( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Uint8>
pub fn parse_m_map_file_name( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), CFilePath>
pub fn parse_m_cache_handles( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Option<GameCCacheHandles>>
pub fn parse_m_mini_save( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), bool>
pub fn parse_m_game_speed( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameEGameSpeed>
pub fn parse_m_default_difficulty( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameTDifficulty>
pub fn parse_m_mod_paths( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Option<GameCModPaths>>
pub fn parse(input: (&[u8], usize)) -> S2ProtoResult<(&[u8], usize), Self>
Trait Implementations§
source§impl Clone for GameSDetails
impl Clone for GameSDetails
source§fn clone(&self) -> GameSDetails
fn clone(&self) -> GameSDetails
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 moresource§impl Debug for GameSDetails
impl Debug for GameSDetails
source§impl PartialEq for GameSDetails
impl PartialEq for GameSDetails
source§fn eq(&self, other: &GameSDetails) -> bool
fn eq(&self, other: &GameSDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GameSDetails
Auto Trait Implementations§
impl RefUnwindSafe for GameSDetails
impl Send for GameSDetails
impl Sync for GameSDetails
impl Unpin for GameSDetails
impl UnwindSafe for GameSDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more