Core/AreaTriggers: Move ScriptName from areatrigger_template to areatrigger_create_properties and areatrigger tables

Port From (https://github.com/TrinityCore/TrinityCore/commit/77ddb4da816b4dfc7ff03b79b88b5ca80918bc2d)
This commit is contained in:
hondacrx
2021-12-07 17:21:58 -05:00
parent 7e09c70f80
commit 552f12655e
4 changed files with 32 additions and 9 deletions
@@ -252,7 +252,6 @@ namespace Game.Entities
{
public AreaTriggerId Id;
public AreaTriggerFlags Flags;
public uint ScriptId;
public List<AreaTriggerAction> Actions = new();
@@ -316,6 +315,8 @@ namespace Game.Entities
public List<Vector2> PolygonVerticesTarget = new();
public List<Vector3> SplinePoints = new();
public Optional<AreaTriggerOrbitInfo> OrbitInfo;
public uint ScriptId;
}
public class AreaTriggerSpawn
@@ -328,6 +329,8 @@ namespace Game.Entities
public byte PhaseUseFlags;
public AreaTriggerShapeInfo Shape = new();
public uint ScriptId;
}
public struct AreaTriggerAction