![]() |
TrinityCore
|
Include dependency graph for GameTables.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | GtArtifactKnowledgeMultiplierEntry |
| struct | GtArtifactLevelXPEntry |
| struct | GtBarberShopCostBaseEntry |
| struct | GtBaseMPEntry |
| struct | GtBattlePetXPEntry |
| struct | GtCombatRatingsEntry |
| struct | GtCombatRatingsMultByILvl |
| struct | GtHpPerStaEntry |
| struct | GtItemSocketCostPerLevelEntry |
| struct | GtItemLevelByLevelEntry |
| struct | GtNpcManaCostScalerEntry |
| struct | GtSpellScalingEntry |
| struct | GtStaminaMultByILvl |
| struct | GtXpEntry |
| class | GameTable< T > |
Functions | |
| TC_GAME_API void | LoadGameTables (std::string const &dataPath) |
| template<class T > | |
| float | GetGameTableColumnForClass (T const *row, int32 class_) |
| float | GetSpellScalingColumnForClass (GtSpellScalingEntry const *row, int32 class_) |
| float | GetBattlePetXPPerLevel (GtBattlePetXPEntry const *row) |
| template<class T > | |
| float | GetIlvlStatMultiplier (T const *row, InventoryType invType) |
|
inline |
Definition at line 316 of file GameTables.h.
References GtBattlePetXPEntry::Wins, and GtBattlePetXPEntry::Xp.
Referenced by BattlePets::BattlePetMgr::GrantBattlePetExperience().
|
inline |
Definition at line 215 of file GameTables.h.
References CLASS_ADVENTURER, CLASS_DEATH_KNIGHT, CLASS_DEMON_HUNTER, CLASS_DRUID, CLASS_EVOKER, CLASS_HUNTER, CLASS_MAGE, CLASS_MONK, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_TRAVELER, CLASS_WARLOCK, and CLASS_WARRIOR.
Referenced by ObjectMgr::GetPlayerClassLevelInfo().
| float GetIlvlStatMultiplier | ( | T const * | row, |
| InventoryType | invType | ||
| ) |
Definition at line 151 of file GameTables.cpp.
References INVTYPE_2HWEAPON, INVTYPE_FINGER, INVTYPE_HOLDABLE, INVTYPE_NECK, INVTYPE_RANGED, INVTYPE_RANGEDRIGHT, INVTYPE_SHIELD, INVTYPE_TRINKET, INVTYPE_WEAPON, INVTYPE_WEAPONMAINHAND, and INVTYPE_WEAPONOFFHAND.
Referenced by Player::_ApplyItemBonuses(), and SpellEffectInfo::CalcBaseValue().
|
inline |
Definition at line 256 of file GameTables.h.
References GtSpellScalingEntry::Adventurer, CLASS_ADVENTURER, CLASS_DEATH_KNIGHT, CLASS_DEMON_HUNTER, CLASS_DRUID, CLASS_EVOKER, CLASS_HUNTER, CLASS_MAGE, CLASS_MONK, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_TRAVELER, CLASS_WARLOCK, CLASS_WARRIOR, GtSpellScalingEntry::Consumable, GtSpellScalingEntry::DamageReplaceStat, GtSpellScalingEntry::DamageSecondary, GtSpellScalingEntry::DeathKnight, GtSpellScalingEntry::DemonHunter, GtSpellScalingEntry::Druid, GtSpellScalingEntry::Evoker, GtSpellScalingEntry::Gem1, GtSpellScalingEntry::Gem2, GtSpellScalingEntry::Gem3, GtSpellScalingEntry::Health, GtSpellScalingEntry::Hunter, GtSpellScalingEntry::Item, GtSpellScalingEntry::Mage, GtSpellScalingEntry::ManaConsumable, GtSpellScalingEntry::Monk, GtSpellScalingEntry::Paladin, GtSpellScalingEntry::Priest, GtSpellScalingEntry::Rogue, GtSpellScalingEntry::Shaman, GtSpellScalingEntry::Traveler, GtSpellScalingEntry::Warlock, and GtSpellScalingEntry::Warrior.
Referenced by Player::ApplyEnchantment(), and SpellEffectInfo::CalcBaseValue().
| TC_GAME_API void LoadGameTables | ( | std::string const & | dataPath | ) |
Definition at line 104 of file GameTables.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LoadGameTable(), sArtifactKnowledgeMultiplierGameTable, sArtifactLevelXPGameTable, sBarberShopCostBaseGameTable, sBaseMPGameTable, sBattlePetXPGameTable, sCombatRatingsGameTable, sCombatRatingsMultByILvlGameTable, sHpPerStaGameTable, sItemLevelByLevelTable, sItemSocketCostPerLevelGameTable, sNpcManaCostScalerGameTable, sSpellScalingGameTable, sStaminaMultByILvlGameTable, sXpGameTable, SZFMTD, TC_LOG_INFO, and WPFatal.
Referenced by World::SetInitialWorldSettings().
|
extern |
Definition at line 28 of file GameTables.cpp.
Referenced by Item::GiveArtifactXp(), and LoadGameTables().
|
extern |
Definition at line 29 of file GameTables.cpp.
Referenced by Item::GetTotalUnlockedArtifactPowers(), WorldSession::HandleArtifactAddPower(), WorldSession::HandleConfirmArtifactRespec(), and LoadGameTables().
|
extern |
Definition at line 30 of file GameTables.cpp.
Referenced by Player::GetBarberShopCost(), and LoadGameTables().
|
extern |
Definition at line 31 of file GameTables.cpp.
Referenced by ObjectMgr::GetPlayerClassLevelInfo(), and LoadGameTables().
|
extern |
Definition at line 32 of file GameTables.cpp.
Referenced by BattlePets::BattlePetMgr::GrantBattlePetExperience(), and LoadGameTables().
|
extern |
Definition at line 33 of file GameTables.cpp.
Referenced by Player::GetRatingMultiplier(), and LoadGameTables().
|
extern |
Definition at line 34 of file GameTables.cpp.
Referenced by Player::_ApplyItemBonuses(), SpellEffectInfo::CalcBaseValue(), and LoadGameTables().
|
extern |
Definition at line 35 of file GameTables.cpp.
Referenced by Player::GetHealthBonusFromStamina(), and LoadGameTables().
|
extern |
Definition at line 36 of file GameTables.cpp.
Referenced by Unit::CalcArmorReducedDamage(), and LoadGameTables().
|
extern |
Definition at line 37 of file GameTables.cpp.
Referenced by Item::GetItemStatValue(), and LoadGameTables().
|
extern |
Definition at line 38 of file GameTables.cpp.
Referenced by SpellInfo::CalcPowerCost(), and LoadGameTables().
|
extern |
Definition at line 39 of file GameTables.cpp.
Referenced by Player::ApplyEnchantment(), SpellEffectInfo::CalcBaseValue(), and LoadGameTables().
|
extern |
Definition at line 40 of file GameTables.cpp.
Referenced by Player::_ApplyItemBonuses(), SpellEffectInfo::CalcBaseValue(), and LoadGameTables().
|
extern |
Definition at line 41 of file GameTables.cpp.
Referenced by Trinity::XP::BaseGain(), LoadGameTables(), and ObjectMgr::LoadPlayerInfo().