mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
feat(Core/Common): delete lib game-interface inherited (#5333)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#define ACORE_DISABLEMGR_H
|
||||
|
||||
#include "Define.h"
|
||||
#include "Map.h"
|
||||
#include "VMapManager2.h"
|
||||
|
||||
class Unit;
|
||||
|
||||
@@ -38,19 +40,13 @@ enum SpellDisableTypes
|
||||
SPELL_DISABLE_LOS)
|
||||
};
|
||||
|
||||
enum VmapDisableTypes
|
||||
{
|
||||
VMAP_DISABLE_AREAFLAG = 0x1,
|
||||
VMAP_DISABLE_HEIGHT = 0x2,
|
||||
VMAP_DISABLE_LOS = 0x4,
|
||||
VMAP_DISABLE_LIQUIDSTATUS = 0x8,
|
||||
};
|
||||
|
||||
namespace DisableMgr
|
||||
{
|
||||
void LoadDisables();
|
||||
bool IsDisabledFor(DisableType type, uint32 entry, Unit const* unit, uint8 flags = 0);
|
||||
void CheckQuestDisables();
|
||||
bool IsVMAPDisabledFor(uint32 entry, uint8 flags);
|
||||
bool IsPathfindingEnabled(const Map* map);
|
||||
}
|
||||
|
||||
#endif //ACORE_DISABLEMGR_H
|
||||
|
||||
Reference in New Issue
Block a user