mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +00:00
[Core] Remove obsolete directive
This commit is contained in:
parent
deb9a167ea
commit
2d06f70da2
57 changed files with 139 additions and 139 deletions
|
|
@ -35,7 +35,7 @@ class WorldPacket;
|
|||
class Player;
|
||||
|
||||
/// Camera - object-receiver. Receives broadcast packets from nearby worldobjects, object visibility changes and sends them to client
|
||||
class MANGOS_DLL_SPEC Camera
|
||||
class Camera
|
||||
{
|
||||
friend class ViewPoint;
|
||||
public:
|
||||
|
|
@ -83,7 +83,7 @@ class MANGOS_DLL_SPEC Camera
|
|||
};
|
||||
|
||||
/// Object-observer, notifies farsight object state to cameras that attached to it
|
||||
class MANGOS_DLL_SPEC ViewPoint
|
||||
class ViewPoint
|
||||
{
|
||||
friend class Camera;
|
||||
|
||||
|
|
|
|||
|
|
@ -478,7 +478,7 @@ enum TemporaryFactionFlags // Used at real fact
|
|||
TEMPFACTION_ALL,
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC Creature : public Unit
|
||||
class Creature : public Unit
|
||||
{
|
||||
CreatureAI* i_AI;
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ enum AIEventType
|
|||
AI_EVENT_CUSTOM_F = 1005,
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC CreatureAI
|
||||
class CreatureAI
|
||||
{
|
||||
public:
|
||||
explicit CreatureAI(Creature* creature) :
|
||||
|
|
|
|||
|
|
@ -615,7 +615,7 @@ struct CreatureEventAIHolder
|
|||
bool UpdateRepeatTimer(Creature* creature, uint32 repeatMin, uint32 repeatMax);
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC CreatureEventAI : public CreatureAI
|
||||
class CreatureEventAI : public CreatureAI
|
||||
{
|
||||
public:
|
||||
explicit CreatureEventAI(Creature* c);
|
||||
|
|
|
|||
|
|
@ -638,7 +638,7 @@ struct GameObjectDisplayInfoEntry;
|
|||
|
||||
#define GO_ANIMPROGRESS_DEFAULT 0xFF
|
||||
|
||||
class MANGOS_DLL_SPEC GameObject : public WorldObject
|
||||
class GameObject : public WorldObject
|
||||
{
|
||||
public:
|
||||
explicit GameObject();
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ struct ItemRequiredTarget
|
|||
|
||||
bool ItemCanGoIntoBag(ItemPrototype const* proto, ItemPrototype const* pBagProto);
|
||||
|
||||
class MANGOS_DLL_SPEC Item : public Object
|
||||
class Item : public Object
|
||||
{
|
||||
public:
|
||||
static Item* CreateItem(uint32 item, uint32 count, Player const* player = NULL, uint32 randomPropertyId = 0);
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ class WorldUpdateCounter
|
|||
uint32 m_tmStart;
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC Object
|
||||
class Object
|
||||
{
|
||||
public:
|
||||
virtual ~Object();
|
||||
|
|
@ -413,7 +413,7 @@ class MANGOS_DLL_SPEC Object
|
|||
|
||||
struct WorldObjectChangeAccumulator;
|
||||
|
||||
class MANGOS_DLL_SPEC WorldObject : public Object
|
||||
class WorldObject : public Object
|
||||
{
|
||||
friend struct WorldObjectChangeAccumulator;
|
||||
|
||||
|
|
@ -421,7 +421,7 @@ class MANGOS_DLL_SPEC WorldObject : public Object
|
|||
|
||||
// class is used to manipulate with WorldUpdateCounter
|
||||
// it is needed in order to get time diff between two object's Update() calls
|
||||
class MANGOS_DLL_SPEC UpdateHelper
|
||||
class UpdateHelper
|
||||
{
|
||||
public:
|
||||
explicit UpdateHelper(WorldObject* obj) : m_obj(obj) {}
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ struct PackedGuidReader
|
|||
|
||||
#define NUM_GUID_BYTES sizeof(uint64)
|
||||
|
||||
class MANGOS_DLL_SPEC ObjectGuid
|
||||
class ObjectGuid
|
||||
{
|
||||
public: // constructors
|
||||
ObjectGuid() : m_guid(0) {}
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ typedef std::vector<HotfixInfo> HotfixData;
|
|||
|
||||
bool normalizePlayerName(std::string& name);
|
||||
|
||||
struct MANGOS_DLL_SPEC LanguageDesc
|
||||
struct LanguageDesc
|
||||
{
|
||||
Language lang_id;
|
||||
uint32 spell_id;
|
||||
|
|
@ -502,7 +502,7 @@ struct MANGOS_DLL_SPEC LanguageDesc
|
|||
};
|
||||
|
||||
extern LanguageDesc lang_description[LANGUAGES_COUNT];
|
||||
MANGOS_DLL_SPEC LanguageDesc const* GetLanguageDescByID(uint32 lang);
|
||||
LanguageDesc const* GetLanguageDescByID(uint32 lang);
|
||||
|
||||
class PlayerDumpReader;
|
||||
|
||||
|
|
@ -1301,12 +1301,12 @@ class ObjectMgr
|
|||
#define sObjectMgr MaNGOS::Singleton<ObjectMgr>::Instance()
|
||||
|
||||
/// generic text function
|
||||
MANGOS_DLL_SPEC bool DoDisplayText(WorldObject* source, int32 entry, Unit const* target = NULL);
|
||||
bool DoDisplayText(WorldObject* source, int32 entry, Unit const* target = NULL);
|
||||
|
||||
// scripting access functions
|
||||
MANGOS_DLL_SPEC bool LoadMangosStrings(DatabaseType& db, char const* table, int32 start_value = MAX_CREATURE_AI_TEXT_STRING_ID, int32 end_value = std::numeric_limits<int32>::min(), bool extra_content = false);
|
||||
MANGOS_DLL_SPEC CreatureInfo const* GetCreatureTemplateStore(uint32 entry);
|
||||
MANGOS_DLL_SPEC Quest const* GetQuestTemplateStore(uint32 entry);
|
||||
MANGOS_DLL_SPEC MangosStringLocale const* GetMangosStringData(int32 entry);
|
||||
bool LoadMangosStrings(DatabaseType& db, char const* table, int32 start_value = MAX_CREATURE_AI_TEXT_STRING_ID, int32 end_value = std::numeric_limits<int32>::min(), bool extra_content = false);
|
||||
CreatureInfo const* GetCreatureTemplateStore(uint32 entry);
|
||||
Quest const* GetQuestTemplateStore(uint32 entry);
|
||||
MangosStringLocale const* GetMangosStringData(int32 entry);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ typedef std::vector<uint32> AutoSpellList;
|
|||
|
||||
class Player;
|
||||
|
||||
class MANGOS_DLL_SPEC Pet : public Creature
|
||||
class Pet : public Creature
|
||||
{
|
||||
public:
|
||||
explicit Pet(PetType type = MAX_PET_TYPE);
|
||||
|
|
|
|||
|
|
@ -881,7 +881,7 @@ enum PlayerRestState
|
|||
REST_STATE_RAF_LINKED = 0x04 // Exact use unknown
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC PlayerTaxi
|
||||
class PlayerTaxi
|
||||
{
|
||||
public:
|
||||
PlayerTaxi();
|
||||
|
|
@ -1015,7 +1015,7 @@ class TradeData
|
|||
ObjectGuid m_items[TRADE_SLOT_COUNT]; // traded itmes from m_player side including non-traded slot
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC Player : public Unit
|
||||
class Player : public Unit
|
||||
{
|
||||
friend class WorldSession;
|
||||
friend void Item::AddToUpdateQueueOf(Player* player);
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class TemporarySummon : public Creature
|
|||
|
||||
void Update(uint32 update_diff, uint32 time) override;
|
||||
void Summon(TempSummonType type, uint32 lifetime);
|
||||
void MANGOS_DLL_SPEC UnSummon();
|
||||
void UnSummon();
|
||||
void SaveToDB();
|
||||
ObjectGuid const& GetSummonerGuid() const { return m_summoner ; }
|
||||
Unit* GetSummoner() const { return ObjectAccessor::GetUnit(*this, m_summoner); }
|
||||
|
|
|
|||
|
|
@ -1241,7 +1241,7 @@ struct SpellProcEventEntry; // used only private
|
|||
|
||||
#define MAX_OBJECT_SLOT 5
|
||||
|
||||
class MANGOS_DLL_SPEC Unit : public WorldObject
|
||||
class Unit : public WorldObject
|
||||
{
|
||||
public:
|
||||
typedef std::set<Unit*> AttackerSet;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ enum UnitThreatEventType
|
|||
|
||||
//==============================================================
|
||||
|
||||
class MANGOS_DLL_SPEC UnitBaseEvent
|
||||
class UnitBaseEvent
|
||||
{
|
||||
private:
|
||||
uint32 iType;
|
||||
|
|
@ -81,7 +81,7 @@ class MANGOS_DLL_SPEC UnitBaseEvent
|
|||
|
||||
//==============================================================
|
||||
|
||||
class MANGOS_DLL_SPEC ThreatRefStatusChangeEvent : public UnitBaseEvent
|
||||
class ThreatRefStatusChangeEvent : public UnitBaseEvent
|
||||
{
|
||||
private:
|
||||
HostileReference* iHostileReference;
|
||||
|
|
@ -118,7 +118,7 @@ class MANGOS_DLL_SPEC ThreatRefStatusChangeEvent : public UnitBaseEvent
|
|||
|
||||
//==============================================================
|
||||
|
||||
class MANGOS_DLL_SPEC ThreatManagerEvent : public ThreatRefStatusChangeEvent
|
||||
class ThreatManagerEvent : public ThreatRefStatusChangeEvent
|
||||
{
|
||||
private:
|
||||
ThreatContainer* iThreatContainer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue