Skip to content

Commit

Permalink
Add GameObject set method for use by Eluna
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Feb 9, 2025
1 parent e579103 commit 141df02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/Entities/GameObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ class GameObject : public WorldObject
(m_respawnTime == 0 && m_spawnedByDefault);
}
bool IsSpawnedByDefault() const { return m_spawnedByDefault; }
void SetSpawnedByDefault(bool b) { m_spawnedByDefault = b; }
uint32 GetRespawnDelay() const override { return m_respawnDelay; }
void SetRespawnDelay(uint32 delay, bool once = false) { m_respawnDelay = delay; m_respawnOverriden = true; m_respawnOverrideOnce = once; }
void SetForcedDespawn() { m_forcedDespawn = true; };
Expand Down

0 comments on commit 141df02

Please sign in to comment.