#[repr(u32)]pub enum KillEaterScoreType {
Show 94 variants
Kills = 0,
Ubers = 1,
KillAssists = 2,
SentryKills = 3,
SoddenVictims = 4,
SpiesShocked = 5,
HeadsTaken = 6,
Humiliations = 7,
GiftsGiven = 8,
DeathsFeigned = 9,
ScoutsKilled = 10,
SnipersKilled = 11,
SoldiersKilled = 12,
DemomenKilled = 13,
HeaviesKilled = 14,
PyrosKilled = 15,
SpiesKilled = 16,
EngineersKilled = 17,
MedicsKilled = 18,
BuildingsDestroyed = 19,
ProjectilesReflected = 20,
HeadshotKills = 21,
AirborneEnemyKills = 22,
GibKills = 23,
BuildingsSapped = 24,
TickleFightsWon = 25,
OpponentsFlattened = 26,
KillsUnderAFullMoon = 27,
Dominations = 28,
Revenges = 30,
PosthumousKills = 31,
TeammatesExtinguished = 32,
CriticalKills = 33,
KillsWhileExplosiveJumping = 34,
SappersRemoved = 36,
CloakedSpiesKilled = 37,
MedicsKilledThatHaveFullUberCharge = 38,
RobotsDestroyed = 39,
GiantRobotsDestroyed = 40,
KillsWhileLowHealth = 44,
KillsDuringHalloween = 45,
RobotsKilledDuringHalloween = 46,
DefenderKills = 47,
SubmergedEnemyKills = 48,
KillsWhileInvulnUberCharged = 49,
FoodItemsEaten = 50,
BannersDeployed = 51,
SecondsCloaked = 58,
HealthDispensedToTeammates = 59,
TeammatesTeleported = 60,
TanksDestroyed = 61,
LongDistanceKills = 62,
KillEaterEventUniquePlayerKills = 63,
PointsScored = 64,
DoubleDonks = 65,
TeammatesWhipped = 66,
KillsDuringVictoryTime = 67,
RobotScoutsDestroyed = 68,
RobotSpiesDestroyed = 74,
TauntKills = 77,
UnusualWearingPlayerKills = 78,
BurningPlayerKills = 79,
KillstreaksEnded = 80,
FreezecamTauntAppearances = 81,
DamageDealt = 82,
FiresSurvived = 83,
AlliedHealingDone = 84,
PointBlankKills = 85,
WrangledSentryKills = 86,
CosmeticKills = 87,
FullHealthKills = 88,
TauntingPlayerKills = 89,
CarnivalKills = 90,
CarnivalUnderworldKills = 91,
CarnivalGamesWon = 92,
NotCritNorMiniCritKills = 93,
PlayerHits = 94,
Assists = 95,
ContractsCompleted = 96,
ContractKills = 97,
ContractPoints = 98,
ContractBonusPoints = 99,
TimesPerformed = 100,
KillsAndAssistsDuringInvasionEvent = 101,
KillsAndAssistsOn2FortInvasion = 102,
KillsAndAssistsOnProbed = 103,
KillsAndAssistsOnByre = 104,
KillsAndAssistsOnWatergate = 105,
SoulsCollected = 106,
MerasmissionsCompleted = 107,
HalloweenTransmutesPerformed = 108,
PowerUpCanteensUsed = 109,
ContractPointsEarned = 110,
ContractPointsContributedToFriends = 111,
}
Expand description
Kill eater score type. Conversion from strings is not supported due to multiple variants having the same string representation. They can still be formatted into strings.
Variants§
Kills = 0
“Kills” used for most Strange weapons.
Ubers = 1
KillAssists = 2
SentryKills = 3
SoddenVictims = 4
SpiesShocked = 5
HeadsTaken = 6
Humiliations = 7
GiftsGiven = 8
DeathsFeigned = 9
ScoutsKilled = 10
SnipersKilled = 11
SoldiersKilled = 12
DemomenKilled = 13
HeaviesKilled = 14
PyrosKilled = 15
SpiesKilled = 16
EngineersKilled = 17
MedicsKilled = 18
BuildingsDestroyed = 19
ProjectilesReflected = 20
HeadshotKills = 21
AirborneEnemyKills = 22
GibKills = 23
BuildingsSapped = 24
TickleFightsWon = 25
OpponentsFlattened = 26
KillsUnderAFullMoon = 27
Dominations = 28
Revenges = 30
PosthumousKills = 31
TeammatesExtinguished = 32
CriticalKills = 33
KillsWhileExplosiveJumping = 34
SappersRemoved = 36
CloakedSpiesKilled = 37
MedicsKilledThatHaveFullUberCharge = 38
RobotsDestroyed = 39
GiantRobotsDestroyed = 40
KillsWhileLowHealth = 44
KillsDuringHalloween = 45
RobotsKilledDuringHalloween = 46
DefenderKills = 47
SubmergedEnemyKills = 48
KillsWhileInvulnUberCharged = 49
FoodItemsEaten = 50
BannersDeployed = 51
SecondsCloaked = 58
HealthDispensedToTeammates = 59
TeammatesTeleported = 60
TanksDestroyed = 61
LongDistanceKills = 62
KillEaterEventUniquePlayerKills = 63
PointsScored = 64
DoubleDonks = 65
TeammatesWhipped = 66
KillsDuringVictoryTime = 67
RobotScoutsDestroyed = 68
RobotSpiesDestroyed = 74
TauntKills = 77
UnusualWearingPlayerKills = 78
BurningPlayerKills = 79
KillstreaksEnded = 80
FreezecamTauntAppearances = 81
DamageDealt = 82
FiresSurvived = 83
AlliedHealingDone = 84
PointBlankKills = 85
WrangledSentryKills = 86
CosmeticKills = 87
“Kills” used for cosmetic items.
FullHealthKills = 88
TauntingPlayerKills = 89
CarnivalKills = 90
CarnivalUnderworldKills = 91
CarnivalGamesWon = 92
NotCritNorMiniCritKills = 93
PlayerHits = 94
Assists = 95
ContractsCompleted = 96
ContractKills = 97
“Kills” used for contracts.
ContractPoints = 98
ContractBonusPoints = 99
TimesPerformed = 100
KillsAndAssistsDuringInvasionEvent = 101
KillsAndAssistsOn2FortInvasion = 102
KillsAndAssistsOnProbed = 103
KillsAndAssistsOnByre = 104
KillsAndAssistsOnWatergate = 105
SoulsCollected = 106
MerasmissionsCompleted = 107
HalloweenTransmutesPerformed = 108
PowerUpCanteensUsed = 109
ContractPointsEarned = 110
ContractPointsContributedToFriends = 111
Implementations§
Source§impl KillEaterScoreType
impl KillEaterScoreType
Sourcepub const DEFINDEX_SCORE_TYPES: &'static [u32]
pub const DEFINDEX_SCORE_TYPES: &'static [u32]
The defindex values for the kill eater score types.
Sourcepub const DEFINDEX_USER_SCORE_TYPES: &'static [u32]
pub const DEFINDEX_USER_SCORE_TYPES: &'static [u32]
The defindex values for the kill eater user score types.
Sourcepub fn strange_part(&self) -> Option<StrangePart>
pub fn strange_part(&self) -> Option<StrangePart>
Converts this KillEaterScoreType
into its related StrangePart
, if it exists.
Sourcepub fn item_level(&self) -> ItemLevel
pub fn item_level(&self) -> ItemLevel
Converts this KillEaterScoreType
into its related ItemLevel
.
Trait Implementations§
Source§impl Attributes for KillEaterScoreType
impl Attributes for KillEaterScoreType
Source§const ATTRIBUTES: &'static [AttributeDef]
const ATTRIBUTES: &'static [AttributeDef]
Represents the “kill_eater_score_type”, “kill_eater_score_type_2”, “kill_eater_score_type_3”, “kill_eater_user_score_type_1”, “kill_eater_user_score_type_2”, and “kill_eater_user_score_type_3”, attributes.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
See
Attribute::USES_FLOAT_VALUE
. This applies to all attributes in the set.Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§fn get_attribute_def_by_defindex(defindex: u32) -> Option<&'static AttributeDef>
fn get_attribute_def_by_defindex(defindex: u32) -> Option<&'static AttributeDef>
Gets the attribute definition for a given defindex.
Source§impl Clone for KillEaterScoreType
impl Clone for KillEaterScoreType
Source§fn clone(&self) -> KillEaterScoreType
fn clone(&self) -> KillEaterScoreType
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 KillEaterScoreType
impl Debug for KillEaterScoreType
Source§impl<'de> Deserialize<'de> for KillEaterScoreType
impl<'de> Deserialize<'de> for KillEaterScoreType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
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 Display for KillEaterScoreType
impl Display for KillEaterScoreType
Source§impl From<&KillEaterScoreType> for ItemLevel
impl From<&KillEaterScoreType> for ItemLevel
Source§fn from(score_type: &KillEaterScoreType) -> Self
fn from(score_type: &KillEaterScoreType) -> Self
Converts to this type from the input type.
Source§impl From<KillEaterScoreType> for ItemLevel
impl From<KillEaterScoreType> for ItemLevel
Source§fn from(score_type: KillEaterScoreType) -> Self
fn from(score_type: KillEaterScoreType) -> Self
Converts to this type from the input type.
Source§impl From<KillEaterScoreType> for u32
impl From<KillEaterScoreType> for u32
Source§fn from(enum_value: KillEaterScoreType) -> Self
fn from(enum_value: KillEaterScoreType) -> Self
Converts to this type from the input type.
Source§impl Hash for KillEaterScoreType
impl Hash for KillEaterScoreType
Source§impl Ord for KillEaterScoreType
impl Ord for KillEaterScoreType
Source§fn cmp(&self, other: &KillEaterScoreType) -> Ordering
fn cmp(&self, other: &KillEaterScoreType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KillEaterScoreType
impl PartialEq for KillEaterScoreType
Source§impl PartialOrd for KillEaterScoreType
impl PartialOrd for KillEaterScoreType
Source§impl Serialize for KillEaterScoreType
impl Serialize for KillEaterScoreType
Source§impl TryFrom<&KillEaterScoreType> for StrangePart
impl TryFrom<&KillEaterScoreType> for StrangePart
Source§type Error = TryFromPrimitiveError<StrangePart>
type Error = TryFromPrimitiveError<StrangePart>
The type returned in the event of a conversion error.
Source§impl TryFrom<&StrangePart> for KillEaterScoreType
impl TryFrom<&StrangePart> for KillEaterScoreType
Source§type Error = TryFromPrimitiveError<KillEaterScoreType>
type Error = TryFromPrimitiveError<KillEaterScoreType>
The type returned in the event of a conversion error.
Source§impl TryFrom<KillEaterScoreType> for StrangePart
impl TryFrom<KillEaterScoreType> for StrangePart
Source§type Error = TryFromPrimitiveError<StrangePart>
type Error = TryFromPrimitiveError<StrangePart>
The type returned in the event of a conversion error.
Source§impl TryFrom<StrangePart> for KillEaterScoreType
impl TryFrom<StrangePart> for KillEaterScoreType
Source§type Error = TryFromPrimitiveError<KillEaterScoreType>
type Error = TryFromPrimitiveError<KillEaterScoreType>
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for KillEaterScoreType
impl TryFrom<u32> for KillEaterScoreType
Source§type Error = TryFromPrimitiveError<KillEaterScoreType>
type Error = TryFromPrimitiveError<KillEaterScoreType>
The type returned in the event of a conversion error.
Source§impl TryFromIntAttributeValue for KillEaterScoreType
impl TryFromIntAttributeValue for KillEaterScoreType
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
Source§impl TryFromPrimitive for KillEaterScoreType
impl TryFromPrimitive for KillEaterScoreType
const NAME: &'static str = "KillEaterScoreType"
type Primitive = u32
type Error = TryFromPrimitiveError<KillEaterScoreType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for KillEaterScoreType
impl Eq for KillEaterScoreType
impl StructuralPartialEq for KillEaterScoreType
Auto Trait Implementations§
impl Freeze for KillEaterScoreType
impl RefUnwindSafe for KillEaterScoreType
impl Send for KillEaterScoreType
impl Sync for KillEaterScoreType
impl Unpin for KillEaterScoreType
impl UnwindSafe for KillEaterScoreType
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