[svn] Added a function for WorldObjects to summon GameObjects. Original patch provided by streetrat. Please refer to the patch thread for usage instructions.

--HG--
branch : trunk
This commit is contained in:
w12x
2008-10-17 18:13:04 -05:00
parent 0bdf12f3dd
commit 16dcd37279
3 changed files with 26 additions and 1 deletions
+1
View File
@@ -494,6 +494,7 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject
(m_respawnTime == 0 && m_spawnedByDefault);
}
bool isSpawnedByDefault() const { return m_spawnedByDefault; }
void SetSpawnedByDefault(bool b) { m_spawnedByDefault = b; }
uint32 GetRespawnDelay() const { return m_respawnDelayTime; }
void Refresh();
void Delete();