refactor(Scripts/Commands): convert cs_modify to new system (#9474)

This commit is contained in:
Kargatum 2021-12-04 21:56:47 +07:00 committed by GitHub
parent aa872743e7
commit 0b507d531d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 344 additions and 573 deletions

View file

@ -25,10 +25,16 @@
#include "SharedDefines.h"
#include <map>
static uint32 ReputationRankStrIndex[MAX_REPUTATION_RANK] =
constexpr std::array<uint32, MAX_REPUTATION_RANK> ReputationRankStrIndex =
{
LANG_REP_HATED, LANG_REP_HOSTILE, LANG_REP_UNFRIENDLY, LANG_REP_NEUTRAL,
LANG_REP_FRIENDLY, LANG_REP_HONORED, LANG_REP_REVERED, LANG_REP_EXALTED
LANG_REP_HATED,
LANG_REP_HOSTILE,
LANG_REP_UNFRIENDLY,
LANG_REP_NEUTRAL,
LANG_REP_FRIENDLY,
LANG_REP_HONORED,
LANG_REP_REVERED,
LANG_REP_EXALTED
};
typedef uint32 RepListID;

File diff suppressed because it is too large Load diff