Enum boxcars::Attribute [−][src]
pub enum Attribute {}Show 39 variants
Boolean(bool), Byte(u8), AppliedDamage(AppliedDamage), DamageState(DamageState), CamSettings(Box<CamSettings>), ClubColors(ClubColors), Demolish(Box<Demolish>), DemolishFx(Box<DemolishFx>), Enum(u16), Explosion(Explosion), ExtendedExplosion(ExtendedExplosion), FlaggedByte(bool, u8), ActiveActor(ActiveActor), Float(f32), GameMode(u8, u8), Int(i32), Int64(i64), Loadout(Box<Loadout>), TeamLoadout(Box<TeamLoadout>), Location(Vector3f), MusicStinger(MusicStinger), PlayerHistoryKey(u16), Pickup(Pickup), PickupNew(PickupNew), QWord(u64), Welded(Welded), Title(bool, bool, u32, u32, u32, u32, u32, bool), TeamPaint(TeamPaint), RigidBody(RigidBody), String(String), UniqueId(Box<UniqueId>), Reservation(Box<Reservation>), PartyLeader(Option<Box<UniqueId>>), PrivateMatch(Box<PrivateMatchSettings>), LoadoutOnline(Vec<Vec<Product>>), LoadoutsOnline(LoadoutsOnline), StatEvent(StatEvent), Rotation(Rotation), RepStatTitle(RepStatTitle),
Expand description
The attributes for updated actors in the network data.
The vast majority of attributes in the network data are rigid bodies. As a performance
improvent, any attribute variant larger than the size of a rigid body is moved to the heap (ie:
Box::new
). This change increased throughput by 40%.
Variants
Tuple Fields of Boolean
0: bool
Tuple Fields of Byte
0: u8
Tuple Fields of AppliedDamage
Tuple Fields of DamageState
0: DamageState
Tuple Fields of CamSettings
0: Box<CamSettings>
Tuple Fields of ClubColors
0: ClubColors
Tuple Fields of DemolishFx
0: Box<DemolishFx>
Tuple Fields of Enum
0: u16
Tuple Fields of Explosion
0: Explosion
Tuple Fields of ExtendedExplosion
Tuple Fields of ActiveActor
0: ActiveActor
Tuple Fields of Float
0: f32
Tuple Fields of Int
0: i32
Tuple Fields of Int64
0: i64
Tuple Fields of TeamLoadout
0: Box<TeamLoadout>
Tuple Fields of Location
0: Vector3f
Tuple Fields of MusicStinger
0: MusicStinger
Tuple Fields of PlayerHistoryKey
0: u16
Tuple Fields of Pickup
0: Pickup
Tuple Fields of PickupNew
0: PickupNew
Tuple Fields of QWord
0: u64
Tuple Fields of Welded
0: Welded
Tuple Fields of TeamPaint
0: TeamPaint
Tuple Fields of RigidBody
0: RigidBody
Tuple Fields of String
0: String
Tuple Fields of Reservation
0: Box<Reservation>
Tuple Fields of PrivateMatch
Tuple Fields of LoadoutsOnline
Tuple Fields of StatEvent
0: StatEvent
Tuple Fields of Rotation
0: Rotation
Tuple Fields of RepStatTitle
0: RepStatTitle
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
Mutably borrows from an owned value. Read more