#[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§
§impl<'de> Deserialize<'de> for WeaponSet
impl<'de> Deserialize<'de> for WeaponSet
§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
§impl IntoEnumIterator for WeaponSet
impl IntoEnumIterator for WeaponSet
type Iterator = WeaponSetIter
fn iter() -> WeaponSetIter ⓘ
§impl Ord for WeaponSet
impl Ord for WeaponSet
§impl PartialOrd for WeaponSet
impl PartialOrd for WeaponSet
§impl Serialize for WeaponSet
impl Serialize for WeaponSet
§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)