pub struct MatchData {Show 19 fields
pub match_id: i32,
pub in_progress: bool,
pub match_type: i8,
pub play_mods: u32,
pub match_name: String,
pub password: Option<String>,
pub beatmap_name: String,
pub beatmap_id: i32,
pub beatmap_md5: String,
pub slot_status: Vec<u8>,
pub slot_teams: Vec<u8>,
pub slot_players: Vec<i32>,
pub host_player_id: i32,
pub match_game_mode: u8,
pub win_condition: u8,
pub team_type: u8,
pub freemods: bool,
pub player_mods: Vec<i32>,
pub match_seed: i32,
}Expand description
MatchData is the data of bancho client multiplayer game room.
Fields§
§match_id: i32§in_progress: bool§match_type: i8§play_mods: u32§match_name: String§password: Option<String>§beatmap_name: String§beatmap_id: i32§beatmap_md5: String§slot_status: Vec<u8>§slot_teams: Vec<u8>§slot_players: Vec<i32>§host_player_id: i32§match_game_mode: u8§win_condition: u8§team_type: u8§freemods: bool§player_mods: Vec<i32>§match_seed: i32Trait Implementations§
Source§impl BanchoPacketLength for MatchData
impl BanchoPacketLength for MatchData
Source§impl BanchoPacketWrite for MatchData
impl BanchoPacketWrite for MatchData
Source§impl<'de> Deserialize<'de> for MatchData
impl<'de> Deserialize<'de> for MatchData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MatchData
impl RefUnwindSafe for MatchData
impl Send for MatchData
impl Sync for MatchData
impl Unpin for MatchData
impl UnwindSafe for MatchData
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