Struct s2protocol::versions::protocol87702::bit_packed::GameSTriggerPingEvent
source · pub struct GameSTriggerPingEvent {
pub m_point: GameSPoint,
pub m_unit: GameTUnitTag,
pub m_unit_link: GameTUnitLink,
pub m_unit_control_player_id: Option<GameTPlayerId>,
pub m_unit_upkeep_player_id: Option<GameTPlayerId>,
pub m_unit_position: GameSMapCoord3D,
pub m_unit_is_under_construction: bool,
pub m_pinged_minimap: bool,
pub m_option: Int32,
}Fields§
§m_point: GameSPoint§m_unit: GameTUnitTag§m_unit_link: GameTUnitLink§m_unit_control_player_id: Option<GameTPlayerId>§m_unit_upkeep_player_id: Option<GameTPlayerId>§m_unit_position: GameSMapCoord3D§m_unit_is_under_construction: bool§m_pinged_minimap: bool§m_option: Int32Implementations§
source§impl GameSTriggerPingEvent
impl GameSTriggerPingEvent
pub fn parse_m_point( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameSPoint>
pub fn parse_m_unit( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameTUnitTag>
pub fn parse_m_unit_link( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameTUnitLink>
pub fn parse_m_unit_control_player_id( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Option<GameTPlayerId>>
pub fn parse_m_unit_upkeep_player_id( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Option<GameTPlayerId>>
pub fn parse_m_unit_position( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), GameSMapCoord3D>
pub fn parse_m_unit_is_under_construction( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), bool>
pub fn parse_m_pinged_minimap( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), bool>
pub fn parse_m_option( input: (&[u8], usize) ) -> S2ProtoResult<(&[u8], usize), Int32>
pub fn parse(input: (&[u8], usize)) -> S2ProtoResult<(&[u8], usize), Self>
Trait Implementations§
source§impl Clone for GameSTriggerPingEvent
impl Clone for GameSTriggerPingEvent
source§fn clone(&self) -> GameSTriggerPingEvent
fn clone(&self) -> GameSTriggerPingEvent
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 GameSTriggerPingEvent
impl Debug for GameSTriggerPingEvent
source§impl PartialEq for GameSTriggerPingEvent
impl PartialEq for GameSTriggerPingEvent
source§fn eq(&self, other: &GameSTriggerPingEvent) -> bool
fn eq(&self, other: &GameSTriggerPingEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GameSTriggerPingEvent
Auto Trait Implementations§
impl RefUnwindSafe for GameSTriggerPingEvent
impl Send for GameSTriggerPingEvent
impl Sync for GameSTriggerPingEvent
impl Unpin for GameSTriggerPingEvent
impl UnwindSafe for GameSTriggerPingEvent
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