TrinityCore
GameTables.cpp File Reference
#include "GameTables.h"
#include "ItemTemplate.h"
#include "Timer.h"
#include "Log.h"
#include "StringConvert.h"
#include "Util.h"
#include <boost/filesystem/path.hpp>
#include <fstream>
#include <sstream>
+ Include dependency graph for GameTables.cpp:

Go to the source code of this file.

Functions

template<class T >
uint32 LoadGameTable (std::vector< std::string > &errors, GameTable< T > &storage, boost::filesystem::path const &path)
 
void LoadGameTables (std::string const &dataPath)
 
template<class T >
float GetIlvlStatMultiplier (T const *row, InventoryType invType)
 
template float GetIlvlStatMultiplier (GtCombatRatingsMultByILvl const *row, InventoryType invType)
 
template float GetIlvlStatMultiplier (GtStaminaMultByILvl const *row, InventoryType invType)
 

Variables

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

Function Documentation

◆ GetIlvlStatMultiplier() [1/3]

template float GetIlvlStatMultiplier ( GtCombatRatingsMultByILvl const *  row,
InventoryType  invType 
)

◆ GetIlvlStatMultiplier() [2/3]

template float GetIlvlStatMultiplier ( GtStaminaMultByILvl const *  row,
InventoryType  invType 
)

◆ GetIlvlStatMultiplier() [3/3]

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:

◆ LoadGameTable()

template<class T >
uint32 LoadGameTable ( std::vector< std::string > &  errors,
GameTable< T > &  storage,
boost::filesystem::path const &  path 
)
inline

Definition at line 43 of file GameTables.cpp.

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

◆ LoadGameTables()

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

GameTable<GtArtifactKnowledgeMultiplierEntry> sArtifactKnowledgeMultiplierGameTable

Definition at line 28 of file GameTables.cpp.

◆ sArtifactLevelXPGameTable

GameTable<GtArtifactLevelXPEntry> sArtifactLevelXPGameTable

Definition at line 29 of file GameTables.cpp.

◆ sBarberShopCostBaseGameTable

GameTable<GtBarberShopCostBaseEntry> sBarberShopCostBaseGameTable

Definition at line 30 of file GameTables.cpp.

◆ sBaseMPGameTable

GameTable<GtBaseMPEntry> sBaseMPGameTable

Definition at line 31 of file GameTables.cpp.

◆ sBattlePetXPGameTable

GameTable<GtBattlePetXPEntry> sBattlePetXPGameTable

Definition at line 32 of file GameTables.cpp.

◆ sCombatRatingsGameTable

GameTable<GtCombatRatingsEntry> sCombatRatingsGameTable

Definition at line 33 of file GameTables.cpp.

◆ sCombatRatingsMultByILvlGameTable

GameTable<GtCombatRatingsMultByILvl> sCombatRatingsMultByILvlGameTable

Definition at line 34 of file GameTables.cpp.

◆ sHpPerStaGameTable

GameTable<GtHpPerStaEntry> sHpPerStaGameTable

Definition at line 35 of file GameTables.cpp.

◆ sItemSocketCostPerLevelGameTable

GameTable<GtItemSocketCostPerLevelEntry> sItemSocketCostPerLevelGameTable

Definition at line 36 of file GameTables.cpp.

◆ sNpcManaCostScalerGameTable

GameTable<GtNpcManaCostScalerEntry> sNpcManaCostScalerGameTable

Definition at line 37 of file GameTables.cpp.

◆ sSpellScalingGameTable

GameTable<GtSpellScalingEntry> sSpellScalingGameTable

Definition at line 38 of file GameTables.cpp.

◆ sStaminaMultByILvlGameTable

GameTable<GtStaminaMultByILvl> sStaminaMultByILvlGameTable

Definition at line 39 of file GameTables.cpp.

◆ sXpGameTable

GameTable<GtXpEntry> sXpGameTable

Definition at line 40 of file GameTables.cpp.