[Doors] Add door blacklist (#3516)

* [Doors] Add door blacklist

* Renaming to simplify
This commit is contained in:
Chris Miles
2023-07-30 01:35:44 -05:00
committed by GitHub
parent 14fe396510
commit ddac326239
5 changed files with 77 additions and 46 deletions
+4
View File
@@ -69,7 +69,10 @@ public:
bool HasDestinationZone() const;
bool IsDestinationZoneSame() const;
bool IsDoorBlacklisted();
private:
bool GetIsDoorBlacklisted();
bool m_has_destination_zone = false;
bool m_same_destination_zone = false;
@@ -99,5 +102,6 @@ private:
uint8 m_is_ldon_door;
int m_dz_switch_id = 0;
uint32 m_client_version_mask;
bool m_is_blacklisted_to_open = false; // is door blacklisted to open by npcs
};
#endif