mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#ifndef ACORE_SHAREDDEFINES_H
|
||||
#define ACORE_SHAREDDEFINES_H
|
||||
|
||||
#include "DBCEnums.h"
|
||||
#include "Define.h"
|
||||
#include "EnumFlag.h"
|
||||
#include <cassert>
|
||||
@@ -25,7 +26,7 @@
|
||||
float const GROUND_HEIGHT_TOLERANCE = 0.05f; // Extra tolerance to z position to check if it is in air or on ground.
|
||||
constexpr float Z_OFFSET_FIND_HEIGHT = 2.0f;
|
||||
|
||||
enum SpellEffIndex
|
||||
enum SpellEffIndex : uint8
|
||||
{
|
||||
EFFECT_0 = 0,
|
||||
EFFECT_1 = 1,
|
||||
@@ -174,7 +175,7 @@ enum UnitClass
|
||||
|
||||
#define PLAYER_MAX_BATTLEGROUND_QUEUES 2
|
||||
|
||||
enum ReputationRank
|
||||
enum ReputationRank : uint8
|
||||
{
|
||||
REP_HATED = 0,
|
||||
REP_HOSTILE = 1,
|
||||
@@ -754,7 +755,7 @@ enum Language
|
||||
|
||||
#define LANGUAGES_COUNT 19
|
||||
|
||||
enum TeamId
|
||||
enum TeamId : uint8
|
||||
{
|
||||
TEAM_ALLIANCE = 0,
|
||||
TEAM_HORDE,
|
||||
@@ -3572,7 +3573,7 @@ enum TradeStatus
|
||||
TRADE_STATUS_NOT_ELIGIBLE = 23 // Related to trading soulbound loot items
|
||||
};
|
||||
|
||||
enum XPColorChar
|
||||
enum XPColorChar : uint8
|
||||
{
|
||||
XP_RED,
|
||||
XP_ORANGE,
|
||||
@@ -3581,7 +3582,7 @@ enum XPColorChar
|
||||
XP_GRAY
|
||||
};
|
||||
|
||||
enum RemoveMethod
|
||||
enum RemoveMethod : uint8
|
||||
{
|
||||
GROUP_REMOVEMETHOD_DEFAULT = 0,
|
||||
GROUP_REMOVEMETHOD_KICK = 1,
|
||||
|
||||
Reference in New Issue
Block a user