Enum PlayerCondition

Source
#[repr(u8)]
pub enum PlayerCondition {
Show 130 variants Aiming = 0, Zoomed = 1, Disguising = 2, Disguised = 3, Stealthed = 4, Invulnerable = 5, Teleported = 6, Taunting = 7, InvulnerableWearingOff = 8, StealthedBlink = 9, SelectedToTeleport = 10, CritBoosted = 11, TmpDamageBonus = 12, FeignDeath = 13, Phase = 14, Stunned = 15, OffensiveBuff = 16, ShieldCharge = 17, DemoBuff = 18, EnergyBuff = 19, RadiusHeal = 20, HealthBuff = 21, Burning = 22, HealthOverHealed = 23, Urine = 24, Bleeding = 25, DefensiveBuff = 26, MadMilk = 27, MegaHeal = 28, RegenOnDamageBuff = 29, MarkedForDeath = 30, NoHealingDamageBuff = 31, SpeedBoost = 32, CritBoostedPumpkin = 33, CritBoostedUserBuff = 34, CritBoostedDemoCharge = 35, SodaPopperHype = 36, CritBoostedFirstBlood = 37, CritBoostedBonusTime = 38, CritBoostedCtfCapture = 39, CritBoostedOnKill = 40, CannotSwitchFromMelee = 41, DefenseBuffNoCritBlock = 42, Reprogrammed = 43, CritBoostedRageBuff = 44, DefenseBuffHigh = 45, SniperChargeRageBuff = 46, DisguiseWearingOff = 47, MarkedForDeathSilent = 48, DisguisedAsDispenser = 49, Sapped = 50, InvulnerableHideUnlessDamaged = 51, InvulnerableUserBuff = 52, HalloweenBombHead = 53, HalloweenThriller = 54, RadiusHealOnDamage = 55, CritBoostedCardEffect = 56, InvulnerableCardEffect = 57, MedigunUberBulletResist = 58, MedigunUberBlastResist = 59, MedigunUberFireResist = 60, MedigunSmallBulletResist = 61, MedigunSmallBlastResist = 62, MedigunSmallFireResist = 63, StealthedUserBuff = 64, MedigunDebuff = 65, StealthedUserBuffFading = 66, BulletImmune = 67, BlastImmune = 68, FireImmune = 69, PreventDeath = 70, MvmBotStunRadiowave = 71, HalloweenSpeedBoost = 72, HalloweenQuickHeal = 73, HalloweenGiant = 74, HalloweenTiny = 75, HalloweenInHell = 76, HalloweenGhostMode = 77, MiniCritBoostedOnKill = 78, ObscuredSmoke = 79, ParachuteActive = 80, BlastJumping = 81, HalloweenKart = 82, HalloweenKartDash = 83, BalloonHead = 84, MeleeOnly = 85, SwimmingCurse = 86, FreezeInput = 87, HalloweenKartCage = 88, RuneStrength = 90, RuneHaste = 91, RuneRegen = 92, RuneResist = 93, RuneVampire = 94, RuneReflect = 95, RunePrecision = 96, RuneAgility = 97, GrapplingHook = 98, GrapplingHookSafeFall = 99, GrapplingHookLatched = 100, GrapplingHookBleeding = 101, AfterburnImmune = 102, RuneKnockout = 103, RuneImbalance = 104, CritBoostedRuneTemp = 105, PasstimeInterception = 106, SwimmingNoEffects = 107, PURGATORY = 108, RuneKing = 109, RunePlague = 110, RuneSupernova = 111, PLAGUE = 112, KingBuffed = 113, TeamGlows = 114, KnockedIntoAir = 115, CompetitiveWinner = 116, CompetitiveLoser = 117, HealingDebuff = 118, PasstimePenaltyDebuff = 119, GrappledToPlayer = 120, GrappledByPlayer = 121, ParachuteDeployed = 122, GAS = 123, BurningPyro = 124, RocketPack = 125, LostFooting = 126, AirCurrent = 127, HalloweenHellHeal = 128, PowerUpModeDominant = 129, ImmuneToPushback = 130,
}

Variants§

§

Aiming = 0

§

Zoomed = 1

§

Disguising = 2

§

Disguised = 3

§

Stealthed = 4

§

Invulnerable = 5

§

Teleported = 6

§

Taunting = 7

§

InvulnerableWearingOff = 8

§

SelectedToTeleport = 10

§

CritBoosted = 11

§

TmpDamageBonus = 12

§

FeignDeath = 13

§

Phase = 14

§

Stunned = 15

§

OffensiveBuff = 16

§

ShieldCharge = 17

§

DemoBuff = 18

§

EnergyBuff = 19

§

RadiusHeal = 20

§

HealthBuff = 21

§

Burning = 22

§

HealthOverHealed = 23

§

Urine = 24

§

Bleeding = 25

§

DefensiveBuff = 26

§

MadMilk = 27

§

MegaHeal = 28

§

RegenOnDamageBuff = 29

§

MarkedForDeath = 30

§

NoHealingDamageBuff = 31

§

SpeedBoost = 32

§

CritBoostedPumpkin = 33

§

CritBoostedUserBuff = 34

§

CritBoostedDemoCharge = 35

§

SodaPopperHype = 36

§

CritBoostedFirstBlood = 37

§

CritBoostedBonusTime = 38

§

CritBoostedCtfCapture = 39

§

CritBoostedOnKill = 40

§

CannotSwitchFromMelee = 41

§

DefenseBuffNoCritBlock = 42

§

Reprogrammed = 43

§

CritBoostedRageBuff = 44

§

DefenseBuffHigh = 45

§

SniperChargeRageBuff = 46

§

DisguiseWearingOff = 47

§

MarkedForDeathSilent = 48

§

DisguisedAsDispenser = 49

§

Sapped = 50

§

InvulnerableHideUnlessDamaged = 51

§

InvulnerableUserBuff = 52

§

HalloweenBombHead = 53

§

HalloweenThriller = 54

§

RadiusHealOnDamage = 55

§

CritBoostedCardEffect = 56

§

InvulnerableCardEffect = 57

§

MedigunUberBulletResist = 58

§

MedigunUberBlastResist = 59

§

MedigunUberFireResist = 60

§

MedigunSmallBulletResist = 61

§

MedigunSmallBlastResist = 62

§

MedigunSmallFireResist = 63

§

StealthedUserBuff = 64

§

MedigunDebuff = 65

§

StealthedUserBuffFading = 66

§

BulletImmune = 67

§

BlastImmune = 68

§

FireImmune = 69

§

PreventDeath = 70

§

MvmBotStunRadiowave = 71

§

HalloweenSpeedBoost = 72

§

HalloweenQuickHeal = 73

§

HalloweenGiant = 74

§

HalloweenTiny = 75

§

HalloweenInHell = 76

§

HalloweenGhostMode = 77

§

MiniCritBoostedOnKill = 78

§

ObscuredSmoke = 79

§

ParachuteActive = 80

§

BlastJumping = 81

§

HalloweenKart = 82

§

HalloweenKartDash = 83

§

BalloonHead = 84

§

MeleeOnly = 85

§

SwimmingCurse = 86

§

FreezeInput = 87

§

HalloweenKartCage = 88

§

RuneStrength = 90

§

RuneHaste = 91

§

RuneRegen = 92

§

RuneResist = 93

§

RuneVampire = 94

§

RuneReflect = 95

§

RunePrecision = 96

§

RuneAgility = 97

§

GrapplingHook = 98

§

GrapplingHookSafeFall = 99

§

GrapplingHookLatched = 100

§

GrapplingHookBleeding = 101

§

AfterburnImmune = 102

§

RuneKnockout = 103

§

RuneImbalance = 104

§

CritBoostedRuneTemp = 105

§

PasstimeInterception = 106

§

SwimmingNoEffects = 107

§

PURGATORY = 108

§

RuneKing = 109

§

RunePlague = 110

§

RuneSupernova = 111

§

PLAGUE = 112

§

KingBuffed = 113

§

TeamGlows = 114

§

KnockedIntoAir = 115

§

CompetitiveWinner = 116

§

CompetitiveLoser = 117

§

HealingDebuff = 118

§

PasstimePenaltyDebuff = 119

§

GrappledToPlayer = 120

§

GrappledByPlayer = 121

§

ParachuteDeployed = 122

§

GAS = 123

§

BurningPyro = 124

§

RocketPack = 125

§

LostFooting = 126

§

AirCurrent = 127

§

HalloweenHellHeal = 128

§

PowerUpModeDominant = 129

§

ImmuneToPushback = 130

Implementations§

Source§

impl PlayerCondition

Source

pub const MAX: PlayerCondition = PlayerCondition::ImmuneToPushback

Trait Implementations§

Source§

impl Clone for PlayerCondition

Source§

fn clone(&self) -> PlayerCondition

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PlayerCondition

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PlayerCondition

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for PlayerCondition

Source§

fn eq(&self, other: &PlayerCondition) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

const fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PlayerCondition

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<u8> for PlayerCondition

Source§

type Error = TryFromPrimitiveError<PlayerCondition>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for PlayerCondition

Source§

impl Copy for PlayerCondition

Source§

impl Eq for PlayerCondition

Source§

impl StructuralPartialEq for PlayerCondition

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> IntoResult<T> for T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,