#[non_exhaustive]#[repr(u8)]pub enum GameDataTable {
Show 67 variants
Spells = 0,
Traits = 1,
ExpansionTraits = 2,
Items = 3,
Specs = 4,
Classes = 5,
GlobalColors = 6,
GlobalStrings = 7,
ItemBonuses = 8,
Curves = 9,
CurvePoints = 10,
RandPropPoints = 11,
ItemScalingConfigs = 12,
ItemOffsetCurves = 13,
ItemSquishEras = 14,
Enchantments = 15,
GemProperties = 16,
ItemDamageScaling = 17,
CooldownSets = 18,
ExpectedStats = 19,
ExpectedStatMods = 20,
SpecializationSpells = 21,
RacialSpells = 22,
PowerTypes = 23,
ItemArmorQuality = 24,
ItemArmorShield = 25,
ItemArmorTotal = 26,
ArmorLocation = 27,
JournalTiers = 28,
JournalInstances = 29,
CraftedProducts = 30,
Professions = 31,
PvpSeasons = 32,
PvpTiers = 33,
MythicPlusSeasons = 34,
Difficulties = 35,
ItemDropScaling = 36,
Currencies = 37,
CurrencyCategories = 38,
ItemBonusListGroups = 39,
ItemGroupIlvlScalingEntries = 40,
ItemLevelSelectors = 41,
ItemLevelSelectorQualitySets = 42,
ItemLevelSelectorQualities = 43,
ItemConversions = 44,
ChallengeModeItemBonusOverrides = 45,
ItemBonusSequenceSpells = 46,
DelvesSeasons = 47,
HpPerSta = 48,
CombatRatings = 49,
CombatRatingsMultByIlvl = 50,
StaminaMultByIlvl = 51,
BaseMp = 52,
SpellScaling = 53,
ArmorMitigationByLvl = 54,
NpcTotalHp = 55,
NpcDamageByClass = 56,
ChallengeModeHealth = 57,
ChallengeModeDamage = 58,
ItemSocketCostPerLevel = 59,
ProfessionRatings = 60,
BaseProfessionRatings = 61,
Creatures = 62,
CreatureDifficulties = 63,
ContentTunings = 64,
ContentTuningXDifficulty = 65,
ContentTuningXExpected = 66,
}Expand description
Stable identity for a synchronized game-data table.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Spells = 0
Traits = 1
ExpansionTraits = 2
Items = 3
Specs = 4
Classes = 5
GlobalColors = 6
GlobalStrings = 7
ItemBonuses = 8
Curves = 9
CurvePoints = 10
RandPropPoints = 11
ItemScalingConfigs = 12
ItemOffsetCurves = 13
ItemSquishEras = 14
Enchantments = 15
GemProperties = 16
ItemDamageScaling = 17
CooldownSets = 18
ExpectedStats = 19
ExpectedStatMods = 20
SpecializationSpells = 21
RacialSpells = 22
PowerTypes = 23
ItemArmorQuality = 24
ItemArmorShield = 25
ItemArmorTotal = 26
ArmorLocation = 27
JournalTiers = 28
JournalInstances = 29
CraftedProducts = 30
Professions = 31
PvpSeasons = 32
PvpTiers = 33
MythicPlusSeasons = 34
Difficulties = 35
ItemDropScaling = 36
Currencies = 37
CurrencyCategories = 38
ItemBonusListGroups = 39
ItemGroupIlvlScalingEntries = 40
ItemLevelSelectors = 41
ItemLevelSelectorQualitySets = 42
ItemLevelSelectorQualities = 43
ItemConversions = 44
ChallengeModeItemBonusOverrides = 45
ItemBonusSequenceSpells = 46
DelvesSeasons = 47
HpPerSta = 48
CombatRatings = 49
CombatRatingsMultByIlvl = 50
StaminaMultByIlvl = 51
BaseMp = 52
SpellScaling = 53
ArmorMitigationByLvl = 54
NpcTotalHp = 55
NpcDamageByClass = 56
ChallengeModeHealth = 57
ChallengeModeDamage = 58
ItemSocketCostPerLevel = 59
ProfessionRatings = 60
BaseProfessionRatings = 61
Creatures = 62
CreatureDifficulties = 63
ContentTunings = 64
ContentTuningXDifficulty = 65
ContentTuningXExpected = 66
Implementations§
Source§impl GameDataTable
impl GameDataTable
Sourcepub fn iter() -> impl ExactSizeIterator<Item = Self>
pub fn iter() -> impl ExactSizeIterator<Item = Self>
Iterates over every canonical table in registry order.
Sourcepub fn command_name(self) -> &'static str
pub fn command_name(self) -> &'static str
Returns the stable kebab-case command-line argument name.
Sourcepub const fn metadata(self) -> &'static GameDataTableMetadata
pub const fn metadata(self) -> &'static GameDataTableMetadata
Returns this table’s canonical storage and exposure metadata.
Sourcepub const fn database_name(self) -> &'static str
pub const fn database_name(self) -> &'static str
Returns the fully qualified PostgreSQL table name.
Sourcepub const fn snapshot_key(self) -> &'static [&'static str]
pub const fn snapshot_key(self) -> &'static [&'static str]
Returns the ordered columns that uniquely identify a snapshot row.
Sourcepub const fn is_snapshot_exposed(self) -> bool
pub const fn is_snapshot_exposed(self) -> bool
Reports whether the table is included in published Studio snapshots.
Sourcepub const fn is_mcp_exposed(self) -> bool
pub const fn is_mcp_exposed(self) -> bool
Reports whether the table must have an MCP query descriptor.
Trait Implementations§
Source§impl Clone for GameDataTable
impl Clone for GameDataTable
Source§fn clone(&self) -> GameDataTable
fn clone(&self) -> GameDataTable
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 GameDataTable
impl Debug for GameDataTable
Source§impl Display for GameDataTable
impl Display for GameDataTable
Source§impl<'_derivative_strum> From<&'_derivative_strum GameDataTable> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum GameDataTable> for &'static str
Source§fn from(x: &'_derivative_strum GameDataTable) -> &'static str
fn from(x: &'_derivative_strum GameDataTable) -> &'static str
Converts to this type from the input type.
Source§impl From<GameDataTable> for &'static str
impl From<GameDataTable> for &'static str
Source§fn from(x: GameDataTable) -> &'static str
fn from(x: GameDataTable) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for GameDataTable
impl FromStr for GameDataTable
Source§impl Hash for GameDataTable
impl Hash for GameDataTable
Source§impl IntoEnumIterator for GameDataTable
impl IntoEnumIterator for GameDataTable
type Iterator = GameDataTableIter
fn iter() -> GameDataTableIter ⓘ
Source§impl Ord for GameDataTable
impl Ord for GameDataTable
Source§fn cmp(&self, other: &GameDataTable) -> Ordering
fn cmp(&self, other: &GameDataTable) -> 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 GameDataTable
impl PartialEq for GameDataTable
Source§impl PartialOrd for GameDataTable
impl PartialOrd for GameDataTable
Source§impl TryFrom<&str> for GameDataTable
impl TryFrom<&str> for GameDataTable
impl Copy for GameDataTable
impl Eq for GameDataTable
impl StructuralPartialEq for GameDataTable
Auto Trait Implementations§
impl Freeze for GameDataTable
impl RefUnwindSafe for GameDataTable
impl Send for GameDataTable
impl Sync for GameDataTable
impl Unpin for GameDataTable
impl UnsafeUnpin for GameDataTable
impl UnwindSafe for GameDataTable
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,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more