mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: show taxi flight destination indicator below minimap
Stores the destination node name when activateTaxi() is called and displays a "✈ → <Destination>" indicator in the minimap indicator stack while isOnTaxiFlight() is true. Falls back to "✈ In Flight" when the destination name is unavailable.
This commit is contained in:
parent
f5a834b543
commit
d58c2f4269
3 changed files with 26 additions and 2 deletions
|
|
@ -1873,6 +1873,7 @@ public:
|
|||
bool isTaxiMountActive() const { return taxiMountActive_; }
|
||||
bool isTaxiActivationPending() const { return taxiActivatePending_; }
|
||||
void forceClearTaxiAndMovementState();
|
||||
const std::string& getTaxiDestName() const { return taxiDestName_; }
|
||||
const ShowTaxiNodesData& getTaxiData() const { return currentTaxiData_; }
|
||||
uint32_t getTaxiCurrentNode() const { return currentTaxiData_.nearestNode; }
|
||||
|
||||
|
|
@ -2900,6 +2901,7 @@ private:
|
|||
ShowTaxiNodesData currentTaxiData_;
|
||||
uint64_t taxiNpcGuid_ = 0;
|
||||
bool onTaxiFlight_ = false;
|
||||
std::string taxiDestName_;
|
||||
bool taxiMountActive_ = false;
|
||||
uint32_t taxiMountDisplayId_ = 0;
|
||||
bool taxiActivatePending_ = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue