Core/Refactor: Part 1

This commit is contained in:
hondacrx
2018-05-07 18:56:09 -04:00
parent b2c1554065
commit 216db1c23a
83 changed files with 298 additions and 296 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ namespace Game
Values[WorldCfg.EnableSinfoLogin] = GetDefaultValue("Server.LoginInfo", 0);
// Read all rates from the config file
Action<WorldCfg, string> setRegenRate = (WorldCfg rate, string configKey) =>
Action<WorldCfg, string> setRegenRate = (rate, configKey) =>
{
Values[rate] = GetDefaultValue(configKey, 1.0f);
if ((float)Values[rate] < 0.0f)
-4
View File
@@ -984,8 +984,6 @@ namespace Game
class AccountInfoQueryHolderPerRealm : SQLQueryHolder<AccountInfoQueryLoad>
{
public AccountInfoQueryHolderPerRealm() { }
public void Initialize(uint accountId, uint battlenetAccountId)
{
PreparedStatement stmt = DB.Characters.GetPreparedStatement(CharStatements.SEL_ACCOUNT_DATA);
@@ -1000,8 +998,6 @@ namespace Game
class AccountInfoQueryHolder : SQLQueryHolder<AccountInfoQueryLoad>
{
public AccountInfoQueryHolder() { }
public void Initialize(uint accountId, uint battlenetAccountId)
{
PreparedStatement stmt = DB.Login.GetPreparedStatement(LoginStatements.SEL_ACCOUNT_TOYS);