refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
parent
e19e95e5d0
commit
e22d78ecd6
278 changed files with 1292 additions and 1309 deletions
|
|
@ -191,7 +191,7 @@ public:
|
|||
target->SetPower(POWER_ENERGY, energy);
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDetail(handler->GetTrinityString(LANG_CURRENT_ENERGY), target->GetMaxPower(POWER_ENERGY));
|
||||
sLog->outDetail(handler->GetAcoreString(LANG_CURRENT_ENERGY), target->GetMaxPower(POWER_ENERGY));
|
||||
#endif
|
||||
|
||||
return true;
|
||||
|
|
@ -1019,7 +1019,7 @@ public:
|
|||
int32 newmoney = int32(targetMoney) + moneyToAdd;
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetTrinityString(LANG_CURRENT_MONEY), targetMoney, moneyToAdd, newmoney);
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetAcoreString(LANG_CURRENT_MONEY), targetMoney, moneyToAdd, newmoney);
|
||||
#endif
|
||||
if (newmoney <= 0)
|
||||
{
|
||||
|
|
@ -1056,7 +1056,7 @@ public:
|
|||
}
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetTrinityString(LANG_NEW_MONEY), targetMoney, moneyToAdd, target->GetMoney());
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetAcoreString(LANG_NEW_MONEY), targetMoney, moneyToAdd, target->GetMoney());
|
||||
#endif
|
||||
|
||||
return true;
|
||||
|
|
@ -1199,7 +1199,7 @@ public:
|
|||
amount = -42000;
|
||||
for (; r < MAX_REPUTATION_RANK; ++r)
|
||||
{
|
||||
std::string rank = handler->GetTrinityString(ReputationRankStrIndex[r]);
|
||||
std::string rank = handler->GetAcoreString(ReputationRankStrIndex[r]);
|
||||
if (rank.empty())
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue