Struct bancho_packets::client::MatchChangeSettings
source · pub struct MatchChangeSettings<'a> {
pub id: i16,
pub in_progress: i8,
pub powerplay: i8,
pub mods: i32,
pub name: CowStr<'a>,
pub passwd: CowStr<'a>,
pub map_name: CowStr<'a>,
pub map_id: i32,
pub map_md5: CowStr<'a>,
pub slot_statuses: &'a [i8],
pub slot_teams: &'a [i8],
}Expand description
#41: OSU_MATCH_CHANGE_SETTINGS
Fields§
§id: i16§in_progress: i8§powerplay: i8§mods: i32§name: CowStr<'a>§passwd: CowStr<'a>§map_name: CowStr<'a>§map_id: i32§map_md5: CowStr<'a>§slot_statuses: &'a [i8]§slot_teams: &'a [i8]Implementations§
source§impl<'a> MatchChangeSettings<'a>
impl<'a> MatchChangeSettings<'a>
pub fn new( id: i16, in_progress: i8, powerplay: i8, mods: i32, name: CowStr<'a>, passwd: CowStr<'a>, map_name: CowStr<'a>, map_id: i32, map_md5: CowStr<'a>, slot_statuses: &'a [i8], slot_teams: &'a [i8] ) -> Self
pub fn pack( id: i16, in_progress: i8, powerplay: i8, mods: i32, name: CowStr<'a>, passwd: CowStr<'a>, map_name: CowStr<'a>, map_id: i32, map_md5: CowStr<'a>, slot_statuses: &'a [i8], slot_teams: &'a [i8] ) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<'a> BanchoPacket for MatchChangeSettings<'a>
impl<'a> BanchoPacket for MatchChangeSettings<'a>
source§impl<'a> BanchoPacketLength for MatchChangeSettings<'a>
impl<'a> BanchoPacketLength for MatchChangeSettings<'a>
source§impl<'a> Clone for MatchChangeSettings<'a>
impl<'a> Clone for MatchChangeSettings<'a>
source§fn clone(&self) -> MatchChangeSettings<'a>
fn clone(&self) -> MatchChangeSettings<'a>
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