feat (core): Add Teleport Helpers (#10611)

* feat (core): Add Teleport Helpers

* Lower case the things
This commit is contained in:
acidmanifesto
2022-02-09 20:54:46 -05:00
committed by GitHub
parent 759b945a13
commit c50f7feda0
2 changed files with 7 additions and 0 deletions

View File

@@ -2443,6 +2443,9 @@ public:
void SetMap(Map* map) override;
void ResetMap() override;
bool CanTeleport() { return m_canTeleport; }
void SetCanTeleport(bool value) { m_canTeleport = value; }
bool isAllowedToLoot(const Creature* creature);
[[nodiscard]] DeclinedName const* GetDeclinedNames() const { return m_declinedname; }
@@ -2896,6 +2899,7 @@ private:
uint32 m_DelayedOperations;
bool m_bMustDelayTeleport;
bool m_bHasDelayedTeleport;
bool m_canTeleport;
std::unique_ptr<PetStable> m_petStable;