Added enum for coin sources

Added an enum for coin sources as to avoid leaving a random number in the code.
This commit is contained in:
EmosewaMC
2021-12-22 00:01:55 -08:00
parent c575294587
commit 97f8e9e9fc
9 changed files with 40 additions and 15 deletions

View File

@@ -469,6 +469,31 @@ enum eRebuildState : uint32_t {
REBUILD_INCOMPLETE
};
enum eCoinSourceType : int32_t {
COIN_SOURCE_NONE = 0,
COIN_SOURCE_CHEST,
COIN_SOURCE_MISSION,
COIN_SOURCE_MAIL,
COIN_SOURCE_CURRENCY,
COIN_SOURCE_ACHIEVEMENT,
COIN_SOURCE_TRADE,
COIN_SOURCE_QUICKBUILD,
COIN_SOURCE_DELETION,
COIN_SOURCE_VENDOR,
COIN_SOURCE_ACTIVITY,
COIN_SOURCE_PICKUP,
COIN_SOURCE_BRICK,
COIN_SOURCE_PROPERTY,
COIN_SOURCE_MODERATION,
COIN_SOURCE_EXHIBIT,
COIN_SOURCE_INVENTORY,
COIN_SOURCE_CLAIMCODE,
COIN_SOURCE_CONSUMPTION,
COIN_SOURCE_CRAFTING,
COIN_SOURCE_LEVELREWARD,
COIN_SOURCE_RELOCATE
};
enum eGameActivities : uint32_t {
ACTIVITY_NONE,
ACTIVITY_QUICKBUILDING,