mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix weapon attachments and inspect fallback
This commit is contained in:
parent
2774b47867
commit
60c93fa1e3
3 changed files with 183 additions and 3 deletions
|
|
@ -837,6 +837,7 @@ private:
|
|||
void handleCreatureQueryResponse(network::Packet& packet);
|
||||
void handleGameObjectQueryResponse(network::Packet& packet);
|
||||
void handleItemQueryResponse(network::Packet& packet);
|
||||
void handleInspectResults(network::Packet& packet);
|
||||
void queryItemInfo(uint32_t entry, uint64_t guid);
|
||||
void rebuildOnlineInventory();
|
||||
void maybeDetectVisibleItemLayout();
|
||||
|
|
@ -1085,6 +1086,11 @@ private:
|
|||
std::unordered_set<uint64_t> otherPlayerVisibleDirty_;
|
||||
std::unordered_map<uint64_t, uint32_t> otherPlayerMoveTimeMs_;
|
||||
|
||||
// Inspect fallback (when visible item fields are missing/unreliable)
|
||||
std::unordered_map<uint64_t, std::array<uint32_t, 19>> inspectedPlayerItemEntries_;
|
||||
std::unordered_set<uint64_t> pendingAutoInspect_;
|
||||
float inspectRateLimit_ = 0.0f;
|
||||
|
||||
// ---- Phase 2: Combat ----
|
||||
bool autoAttacking = false;
|
||||
uint64_t autoAttackTarget = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue