pub struct RCGCD16 {
pub packet_number: u8,
pub players_per_team: u8,
pub competition_phase: u8,
pub competition_type: u8,
pub game_phase: u8,
pub state: u8,
pub set_play: u8,
pub first_half: u8,
pub kicking_team: u8,
pub secs_remaining: i16,
pub secondary_time: i16,
pub teams: [TeamInfo15; 2],
}Fields§
§packet_number: u8§players_per_team: u8§competition_phase: u8§competition_type: u8§game_phase: u8§state: u8§set_play: u8§first_half: u8§kicking_team: u8§secs_remaining: i16§secondary_time: i16§teams: [TeamInfo15; 2]Implementations§
Source§impl RCGCD16
impl RCGCD16
pub const COMPETITION_PHASE_ROUNDROBIN: u8 = 0u8
pub const COMPETITION_PHASE_PLAYOFF: u8 = 1u8
pub const COMPETITION_TYPE_NORMAL: u8 = 0u8
pub const COMPETITION_TYPE_SHARED_AUTONOMY: u8 = 1u8
pub const GAME_PHASE_NORMAL: u8 = 0u8
pub const GAME_PHASE_PENALTYSHOOT: u8 = 1u8
pub const GAME_PHASE_OVERTIME: u8 = 2u8
pub const GAME_PHASE_TIMEOUT: u8 = 3u8
pub const STATE_INITIAL: u8 = 0u8
pub const STATE_READY: u8 = 1u8
pub const STATE_SET: u8 = 2u8
pub const STATE_PLAYING: u8 = 3u8
pub const STATE_FINISHED: u8 = 4u8
pub const SET_PLAY_NONE: u8 = 0u8
pub const SET_PLAY_GOAL_KICK: u8 = 1u8
pub const SET_PLAY_PUSHING_FREE_KICK: u8 = 2u8
pub const SET_PLAY_CORNER_KICK: u8 = 3u8
pub const SET_PLAY_KICK_IN: u8 = 4u8
pub const SET_PLAY_PENALTY_KICK: u8 = 5u8
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RCGCD16
impl<'de> Deserialize<'de> for RCGCD16
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
impl Message for RCGCD16
impl StructuralPartialEq for RCGCD16
Auto Trait Implementations§
impl Freeze for RCGCD16
impl RefUnwindSafe for RCGCD16
impl Send for RCGCD16
impl Sync for RCGCD16
impl Unpin for RCGCD16
impl UnwindSafe for RCGCD16
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