Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn

Port From (https://github.com/TrinityCore/TrinityCore/commit/4b6e76a5efe5e48ff20b4ef84e0f3dc0f9bc84a0)
This commit is contained in:
hondacrx
2021-06-23 23:50:55 -04:00
parent eefb63647d
commit 515ae6ed12
4 changed files with 15 additions and 6 deletions
@@ -134,4 +134,10 @@ namespace Framework.Constants
Destroyed = 2,
Rebuilding = 3
}
public enum GameObjectSummonType
{
TimedOrCorpseDespawn = 0, // despawns after a specified time OR when the summoner dies
TimedDespawn = 1 // despawns after a specified time
}
}