#[repr(u64)]pub enum WeaponSet {
Water1 = 0,
Water2 = 1,
Bundle = 2,
Transform = 3,
Land1 = 4,
Land2 = 5,
Unknown(u64),
}
Expand description
Agent weapon set.
Typically used with an Event
with StateChange::WeaponSwap
.
Variants§
Water1 = 0
First underwater weapon set.
Water2 = 1
Second underwater weapon set.
Bundle = 2
Bundle or kit weapon set.
Transform = 3
Transform weapon set.
Land1 = 4
First land weapon set.
Land2 = 5
Second land weapon set.
Unknown(u64)
Unknown.
Trait Implementations§
source§impl<'de> Deserialize<'de> for WeaponSet
impl<'de> Deserialize<'de> for WeaponSet
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WeaponSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WeaponSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromPrimitive for WeaponSet
impl FromPrimitive for WeaponSet
type Primitive = u64
fn from_primitive(number: <WeaponSet as FromPrimitive>::Primitive) -> WeaponSet
source§impl Ord for WeaponSet
impl Ord for WeaponSet
source§impl PartialEq for WeaponSet
impl PartialEq for WeaponSet
source§impl PartialOrd for WeaponSet
impl PartialOrd for WeaponSet
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for WeaponSet
impl Serialize for WeaponSet
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for WeaponSet
impl Eq for WeaponSet
impl StructuralPartialEq for WeaponSet
Auto Trait Implementations§
impl Freeze for WeaponSet
impl RefUnwindSafe for WeaponSet
impl Send for WeaponSet
impl Sync for WeaponSet
impl Unpin for WeaponSet
impl UnwindSafe for WeaponSet
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