Add idle yawn emote and hearth home tooltip

This commit is contained in:
Kelsi 2026-02-08 03:39:02 -08:00
parent 189f4a0a58
commit f6eaa2cf70
7 changed files with 40 additions and 3 deletions

View file

@ -160,6 +160,7 @@ private:
uint32_t wyvernDisplayId_ = 0;
bool lastTaxiFlight_ = false;
float taxiStreamCooldown_ = 0.0f;
bool idleYawned_ = false;
// Online gameobject model spawning
struct GameObjectInstanceInfo {

View file

@ -148,6 +148,12 @@ public:
*/
const MovementInfo& getMovementInfo() const { return movementInfo; }
uint32_t getCurrentMapId() const { return currentMapId_; }
bool getHomeBind(uint32_t& mapId, glm::vec3& pos) const {
if (!hasHomeBind_) return false;
mapId = homeBindMapId_;
pos = homeBindPos_;
return true;
}
/**
* Send a movement packet
@ -781,6 +787,9 @@ private:
// Player GUID and map
uint64_t playerGuid = 0;
uint32_t currentMapId_ = 0;
bool hasHomeBind_ = false;
uint32_t homeBindMapId_ = 0;
glm::vec3 homeBindPos_{0.0f};
// ---- Phase 1: Name caches ----
std::unordered_map<uint64_t, std::string> playerNameCache;

View file

@ -45,6 +45,7 @@ public:
void setOnlineMode(bool online) { onlineMode = online; }
void startIntroPan(float durationSec = 2.8f, float orbitDegrees = 140.0f);
bool isIntroActive() const { return introActive; }
bool isIdleOrbit() const { return idleOrbit_; }
float getMovementSpeed() const { return movementSpeed; }
const glm::vec3& getDefaultPosition() const { return defaultPosition; }