TrinityCore
GameTables.h File Reference
#include "SharedDefines.h"
#include "Common.h"
#include <vector>
+ 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  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)
 

Variables

TC_GAME_API GameTable< GtArtifactKnowledgeMultiplierEntrysArtifactKnowledgeMultiplierGameTable
 
TC_GAME_API GameTable< GtArtifactLevelXPEntrysArtifactLevelXPGameTable
 
TC_GAME_API GameTable< GtBarberShopCostBaseEntrysBarberShopCostBaseGameTable
 
TC_GAME_API GameTable< GtBaseMPEntrysBaseMPGameTable
 
TC_GAME_API GameTable< GtBattlePetXPEntrysBattlePetXPGameTable
 
TC_GAME_API GameTable< GtCombatRatingsEntrysCombatRatingsGameTable
 
TC_GAME_API GameTable< GtCombatRatingsMultByILvlsCombatRatingsMultByILvlGameTable
 
TC_GAME_API GameTable< GtHpPerStaEntrysHpPerStaGameTable
 
TC_GAME_API GameTable< GtItemSocketCostPerLevelEntrysItemSocketCostPerLevelGameTable
 
TC_GAME_API GameTable< GtNpcManaCostScalerEntrysNpcManaCostScalerGameTable
 
TC_GAME_API GameTable< GtSpellScalingEntrysSpellScalingGameTable
 
TC_GAME_API GameTable< GtStaminaMultByILvlsStaminaMultByILvlGameTable
 
TC_GAME_API GameTable< GtXpEntrysXpGameTable
 

Function Documentation

◆ GetBattlePetXPPerLevel()

float GetBattlePetXPPerLevel ( GtBattlePetXPEntry const *  row)
inline

Definition at line 304 of file GameTables.h.

+ Here is the caller graph for this function:

◆ GetGameTableColumnForClass()

template<class T >
float GetGameTableColumnForClass ( T const *  row,
int32  class_ 
)
inline

Definition at line 207 of file GameTables.h.

+ Here is the caller graph for this function:

◆ GetIlvlStatMultiplier()

template<class T >
float GetIlvlStatMultiplier ( T const *  row,
InventoryType  invType 
)

Definition at line 149 of file GameTables.cpp.

+ Here is the caller graph for this function:

◆ GetSpellScalingColumnForClass()

float GetSpellScalingColumnForClass ( GtSpellScalingEntry const *  row,
int32  class_ 
)
inline

Definition at line 246 of file GameTables.h.

+ Here is the caller graph for this function:

◆ LoadGameTables()

TC_GAME_API void LoadGameTables ( std::string const &  dataPath)

Definition at line 103 of file GameTables.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ sArtifactKnowledgeMultiplierGameTable

TC_GAME_API GameTable<GtArtifactKnowledgeMultiplierEntry> sArtifactKnowledgeMultiplierGameTable
extern

Definition at line 28 of file GameTables.cpp.

◆ sArtifactLevelXPGameTable

TC_GAME_API GameTable<GtArtifactLevelXPEntry> sArtifactLevelXPGameTable
extern

Definition at line 29 of file GameTables.cpp.

◆ sBarberShopCostBaseGameTable

TC_GAME_API GameTable<GtBarberShopCostBaseEntry> sBarberShopCostBaseGameTable
extern

Definition at line 30 of file GameTables.cpp.

◆ sBaseMPGameTable

TC_GAME_API GameTable<GtBaseMPEntry> sBaseMPGameTable
extern

Definition at line 31 of file GameTables.cpp.

◆ sBattlePetXPGameTable

TC_GAME_API GameTable<GtBattlePetXPEntry> sBattlePetXPGameTable
extern

Definition at line 32 of file GameTables.cpp.

◆ sCombatRatingsGameTable

TC_GAME_API GameTable<GtCombatRatingsEntry> sCombatRatingsGameTable
extern

Definition at line 33 of file GameTables.cpp.

◆ sCombatRatingsMultByILvlGameTable

TC_GAME_API GameTable<GtCombatRatingsMultByILvl> sCombatRatingsMultByILvlGameTable
extern

Definition at line 34 of file GameTables.cpp.

◆ sHpPerStaGameTable

TC_GAME_API GameTable<GtHpPerStaEntry> sHpPerStaGameTable
extern

Definition at line 35 of file GameTables.cpp.

◆ sItemSocketCostPerLevelGameTable

TC_GAME_API GameTable<GtItemSocketCostPerLevelEntry> sItemSocketCostPerLevelGameTable
extern

Definition at line 36 of file GameTables.cpp.

◆ sNpcManaCostScalerGameTable

TC_GAME_API GameTable<GtNpcManaCostScalerEntry> sNpcManaCostScalerGameTable
extern

Definition at line 37 of file GameTables.cpp.

◆ sSpellScalingGameTable

TC_GAME_API GameTable<GtSpellScalingEntry> sSpellScalingGameTable
extern

Definition at line 38 of file GameTables.cpp.

◆ sStaminaMultByILvlGameTable

TC_GAME_API GameTable<GtStaminaMultByILvl> sStaminaMultByILvlGameTable
extern

Definition at line 39 of file GameTables.cpp.

◆ sXpGameTable

TC_GAME_API GameTable<GtXpEntry> sXpGameTable
extern

Definition at line 40 of file GameTables.cpp.