pub enum DecodedPacketPayloadKind {
Show 57 variants
Chat,
VoiceLine,
Ribbon,
Position,
PlayerOrientation,
DamageStat,
ShipDestroyed,
EntityMethod,
EntityProperty,
BasePlayerCreate,
CellPlayerCreate,
EntityEnter,
EntityLeave,
EntityCreate,
OnArenaStateReceived,
OnGameRoomStateChanged,
NewPlayerSpawnedInBattle,
CheckPing,
DamageReceived,
MinimapUpdate,
PropertyUpdate,
BattleEnd,
Consumable,
CruiseState,
Map,
Version,
Camera,
CameraMode,
CameraFreeLook,
ArtilleryShots,
TorpedoesReceived,
TorpedoDirection,
ShotKills,
GunSync,
PlaneAdded,
WardAdded,
WardRemoved,
PlaneRemoved,
PlanePosition,
SetAmmoForWeapon,
EntityControl,
NonVolatilePosition,
PlayerNetStats,
ServerTimestamp,
OwnShip,
SetWeaponLock,
ServerTick,
SubController,
ShotTracking,
GunMarker,
SyncShipCracks,
InitFlag,
InitMarker,
Unknown,
Invalid,
Audit,
BattleResults,
}Variants§
Chat
VoiceLine
Ribbon
Position
PlayerOrientation
DamageStat
ShipDestroyed
EntityMethod
EntityProperty
BasePlayerCreate
CellPlayerCreate
EntityEnter
EntityLeave
EntityCreate
OnArenaStateReceived
OnGameRoomStateChanged
NewPlayerSpawnedInBattle
CheckPing
DamageReceived
MinimapUpdate
PropertyUpdate
BattleEnd
Consumable
CruiseState
Map
Version
Camera
CameraMode
CameraFreeLook
ArtilleryShots
TorpedoesReceived
TorpedoDirection
ShotKills
GunSync
PlaneAdded
WardAdded
WardRemoved
PlaneRemoved
PlanePosition
SetAmmoForWeapon
EntityControl
NonVolatilePosition
PlayerNetStats
ServerTimestamp
OwnShip
SetWeaponLock
ServerTick
SubController
ShotTracking
GunMarker
SyncShipCracks
InitFlag
InitMarker
Unknown
Invalid
Audit
BattleResults
Implementations§
Source§impl DecodedPacketPayloadKind
impl DecodedPacketPayloadKind
pub fn all() -> &'static [DecodedPacketPayloadKind]
Trait Implementations§
Source§impl Clone for DecodedPacketPayloadKind
impl Clone for DecodedPacketPayloadKind
Source§fn clone(&self) -> DecodedPacketPayloadKind
fn clone(&self) -> DecodedPacketPayloadKind
Returns a duplicate 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 DecodedPacketPayloadKind
impl Debug for DecodedPacketPayloadKind
Source§impl Display for DecodedPacketPayloadKind
impl Display for DecodedPacketPayloadKind
Source§impl<'replay, 'argtype, 'rawpacket> From<&DecodedPacketPayload<'replay, 'argtype, 'rawpacket>> for DecodedPacketPayloadKind
impl<'replay, 'argtype, 'rawpacket> From<&DecodedPacketPayload<'replay, 'argtype, 'rawpacket>> for DecodedPacketPayloadKind
Source§fn from(
value: &DecodedPacketPayload<'replay, 'argtype, 'rawpacket>,
) -> DecodedPacketPayloadKind
fn from( value: &DecodedPacketPayload<'replay, 'argtype, 'rawpacket>, ) -> DecodedPacketPayloadKind
Converts to this type from the input type.
Source§impl<'replay, 'argtype, 'rawpacket> From<DecodedPacketPayload<'replay, 'argtype, 'rawpacket>> for DecodedPacketPayloadKind
impl<'replay, 'argtype, 'rawpacket> From<DecodedPacketPayload<'replay, 'argtype, 'rawpacket>> for DecodedPacketPayloadKind
Source§fn from(
value: DecodedPacketPayload<'replay, 'argtype, 'rawpacket>,
) -> DecodedPacketPayloadKind
fn from( value: DecodedPacketPayload<'replay, 'argtype, 'rawpacket>, ) -> DecodedPacketPayloadKind
Converts to this type from the input type.
Source§impl FromStr for DecodedPacketPayloadKind
impl FromStr for DecodedPacketPayloadKind
Source§impl Kind for DecodedPacketPayloadKind
impl Kind for DecodedPacketPayloadKind
Source§fn all() -> &'static [DecodedPacketPayloadKind]
fn all() -> &'static [DecodedPacketPayloadKind]
Return a slice with all possible kind variants.
Source§impl PartialEq for DecodedPacketPayloadKind
impl PartialEq for DecodedPacketPayloadKind
Source§impl Serialize for DecodedPacketPayloadKind
impl Serialize for DecodedPacketPayloadKind
impl Copy for DecodedPacketPayloadKind
impl Eq for DecodedPacketPayloadKind
impl StructuralPartialEq for DecodedPacketPayloadKind
Auto Trait Implementations§
impl Freeze for DecodedPacketPayloadKind
impl RefUnwindSafe for DecodedPacketPayloadKind
impl Send for DecodedPacketPayloadKind
impl Sync for DecodedPacketPayloadKind
impl Unpin for DecodedPacketPayloadKind
impl UnsafeUnpin for DecodedPacketPayloadKind
impl UnwindSafe for DecodedPacketPayloadKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more