pub struct RCGCD15 {
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 RCGCD15
impl RCGCD15
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_DYNAMIC_BALL_HANDLING: 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 RCGCD15
impl<'de> Deserialize<'de> for RCGCD15
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 RCGCD15
impl StructuralPartialEq for RCGCD15
Auto Trait Implementations§
impl Freeze for RCGCD15
impl RefUnwindSafe for RCGCD15
impl Send for RCGCD15
impl Sync for RCGCD15
impl Unpin for RCGCD15
impl UnwindSafe for RCGCD15
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