mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9386] Store some config values in Rate emun.
This commit is contained in:
parent
6e5b74e0ca
commit
5368751c13
33 changed files with 163 additions and 164 deletions
|
|
@ -275,7 +275,7 @@ void ObjectMgr::LoadCreatureLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -343,7 +343,7 @@ void ObjectMgr::LoadGossipMenuItemsLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -407,7 +407,7 @@ void ObjectMgr::LoadPointOfInterestLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -1054,7 +1054,7 @@ void ObjectMgr::LoadCreatures()
|
|||
if (GetMapDifficultyData(i,Difficulty(k)))
|
||||
spawnMasks[i] |= (1 << k);
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -1246,7 +1246,7 @@ void ObjectMgr::LoadGameobjects()
|
|||
if (GetMapDifficultyData(i,Difficulty(k)))
|
||||
spawnMasks[i] |= (1 << k);
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -1414,7 +1414,7 @@ void ObjectMgr::LoadCreatureRespawnTimes()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -1456,7 +1456,7 @@ void ObjectMgr::LoadGameobjectRespawnTimes()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -1587,7 +1587,7 @@ void ObjectMgr::LoadItemLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2106,7 +2106,7 @@ void ObjectMgr::LoadItemRequiredTarget()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2210,7 +2210,7 @@ void ObjectMgr::LoadPetLevelInfo()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2324,7 +2324,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
exit(1);
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2416,7 +2416,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
}
|
||||
else
|
||||
{
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2485,7 +2485,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
}
|
||||
else
|
||||
{
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2544,7 +2544,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
}
|
||||
else
|
||||
{
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2603,7 +2603,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
exit(1);
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2699,7 +2699,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
exit(1);
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -2822,7 +2822,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
exit(1);
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -3011,7 +3011,7 @@ void ObjectMgr::LoadGuilds()
|
|||
// 0 1 2 3 4
|
||||
QueryResult *guildBankTabRightsResult = CharacterDatabase.Query("SELECT guildid,TabId,rid,gbright,SlotPerDay FROM guild_bank_right ORDER BY guildid ASC, TabId ASC");
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -3080,7 +3080,7 @@ void ObjectMgr::LoadArenaTeams()
|
|||
"SELECT arenateamid,member.guid,played_week,wons_week,played_season,wons_season,personal_rating,name,class "
|
||||
"FROM arena_team_member member LEFT JOIN characters chars on member.guid = chars.guid ORDER BY member.arenateamid ASC");
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -3124,7 +3124,7 @@ void ObjectMgr::LoadGroups()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -3159,7 +3159,7 @@ void ObjectMgr::LoadGroups()
|
|||
{
|
||||
Group* group = NULL; // used as cached pointer for avoid relookup group for each member
|
||||
|
||||
barGoLink bar2( result->GetRowCount() );
|
||||
barGoLink bar2( (int)result->GetRowCount() );
|
||||
do
|
||||
{
|
||||
bar2.step();
|
||||
|
|
@ -3225,7 +3225,7 @@ void ObjectMgr::LoadGroups()
|
|||
{
|
||||
Group* group = NULL; // used as cached pointer for avoid relookup group for each member
|
||||
|
||||
barGoLink bar2( result->GetRowCount() );
|
||||
barGoLink bar2( (int)result->GetRowCount() );
|
||||
do
|
||||
{
|
||||
bar2.step();
|
||||
|
|
@ -3340,7 +3340,7 @@ void ObjectMgr::LoadQuests()
|
|||
// create multimap previous quest for each existed quest
|
||||
// some quests can have many previous maps set by NextQuestId in previous quest
|
||||
// for example set of race quests can lead to single not race specific quest
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar((int) result->GetRowCount() );
|
||||
do
|
||||
{
|
||||
bar.step();
|
||||
|
|
@ -3968,7 +3968,7 @@ void ObjectMgr::LoadQuestLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -4112,7 +4112,7 @@ void ObjectMgr::LoadScripts(ScriptMapMap& scripts, char const* tablename)
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -4502,7 +4502,7 @@ void ObjectMgr::LoadItemTexts()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
Field* fields;
|
||||
do
|
||||
|
|
@ -4584,7 +4584,7 @@ void ObjectMgr::LoadPageTextLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -4678,7 +4678,7 @@ void ObjectMgr::LoadGossipText()
|
|||
|
||||
int cic;
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -4745,7 +4745,7 @@ void ObjectMgr::LoadNpcTextLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -4818,7 +4818,7 @@ void ObjectMgr::ReturnOrDeleteOldMails(bool serverUp)
|
|||
//delitems << "DELETE FROM item_instance WHERE guid IN ( ";
|
||||
//delmails << "DELETE FROM mail WHERE id IN ( "
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
uint32 count = 0;
|
||||
Field *fields;
|
||||
|
||||
|
|
@ -4917,7 +4917,7 @@ void ObjectMgr::LoadQuestAreaTriggers()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar((int) result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -4982,7 +4982,7 @@ void ObjectMgr::LoadTavernAreaTriggers()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -5026,7 +5026,7 @@ void ObjectMgr::LoadAreaTriggerScripts()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -5212,7 +5212,7 @@ void ObjectMgr::LoadGraveyardZones()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -5430,7 +5430,7 @@ void ObjectMgr::LoadAreaTriggerTeleports()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -5883,7 +5883,7 @@ void ObjectMgr::LoadGameObjectLocales()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6188,7 +6188,7 @@ void ObjectMgr::LoadExplorationBaseXP()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6237,7 +6237,7 @@ void ObjectMgr::LoadPetNames()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6316,7 +6316,7 @@ void ObjectMgr::LoadCorpses()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6365,7 +6365,7 @@ void ObjectMgr::LoadReputationOnKill()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6442,7 +6442,7 @@ void ObjectMgr::LoadPointsOfInterest()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6496,7 +6496,7 @@ void ObjectMgr::LoadQuestPOI()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6559,7 +6559,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6648,7 +6648,7 @@ void ObjectMgr::LoadWeatherZoneChances()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6788,7 +6788,7 @@ void ObjectMgr::LoadQuestRelationsHelper(QuestRelations& map,char const* table)
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -6889,7 +6889,7 @@ void ObjectMgr::LoadReservedPlayersNames()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar((int) result->GetRowCount() );
|
||||
|
||||
Field* fields;
|
||||
do
|
||||
|
|
@ -7203,7 +7203,7 @@ bool ObjectMgr::LoadMangosStrings(DatabaseType& db, char const* table, int32 min
|
|||
|
||||
uint32 count = 0;
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -7303,7 +7303,7 @@ void ObjectMgr::LoadFishingBaseSkillLevel()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar((int) result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -7690,7 +7690,7 @@ void ObjectMgr::LoadGameTele()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -7818,7 +7818,7 @@ void ObjectMgr::LoadMailLevelRewards()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar((int) result->GetRowCount() );
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -7888,7 +7888,7 @@ void ObjectMgr::LoadTrainerSpell()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
std::set<uint32> talentIds;
|
||||
|
||||
|
|
@ -8001,7 +8001,7 @@ void ObjectMgr::LoadVendors()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
uint32 count = 0;
|
||||
do
|
||||
|
|
@ -8047,7 +8047,7 @@ void ObjectMgr::LoadNpcTextId()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar((int) result->GetRowCount() );
|
||||
|
||||
uint32 count = 0;
|
||||
uint32 guid,textid;
|
||||
|
|
@ -8099,7 +8099,7 @@ void ObjectMgr::LoadGossipMenu()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
|
||||
uint32 count = 0;
|
||||
|
||||
|
|
@ -8177,7 +8177,7 @@ void ObjectMgr::LoadGossipMenuItems()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
barGoLink bar((int)result->GetRowCount());
|
||||
|
||||
uint32 count = 0;
|
||||
|
||||
|
|
@ -8423,7 +8423,7 @@ void ObjectMgr::LoadScriptNames()
|
|||
return;
|
||||
}
|
||||
|
||||
barGoLink bar( result->GetRowCount() );
|
||||
barGoLink bar( (int)result->GetRowCount() );
|
||||
uint32 count = 0;
|
||||
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue