mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
Auto-detect coinage and inventory fields
This commit is contained in:
parent
e4cd7433d7
commit
b9911fbcac
3 changed files with 80 additions and 2 deletions
|
|
@ -1140,6 +1140,10 @@ private:
|
|||
};
|
||||
std::unordered_map<uint64_t, LocalLootState> localLootState_;
|
||||
uint64_t playerMoneyCopper_ = 0;
|
||||
// Some servers/custom clients shift update field indices. We can auto-detect coinage by correlating
|
||||
// money-notify deltas with update-field diffs and then overriding UF::PLAYER_FIELD_COINAGE at runtime.
|
||||
uint32_t pendingMoneyDelta_ = 0;
|
||||
float pendingMoneyDeltaTimer_ = 0.0f;
|
||||
|
||||
// Gossip
|
||||
bool gossipWindowOpen = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue