5e46dd951b
* Scale curves are now taken into account when searching for units inside * Implemented SpellModOp::Radius for areatrigger radius * Implemented OverrideMoveCurve updatefields - overrides areatrigger position * Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION * Implemented ***Target fields for all shape types * Fixed facing calculation for areatriggers with spline movement Port From (https://github.com/TrinityCore/TrinityCore/commit/c676d1477239aec4d0b235a410e5627a7070a86e)
53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
|
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
|
|
|
namespace Framework.Constants
|
|
{
|
|
public enum AreaTriggerFlags
|
|
{
|
|
HasAbsoluteOrientation = 0x01,
|
|
HasDynamicShape = 0x02, // Implemented For Spheres
|
|
HasAttached = 0x04,
|
|
HasFaceMovementDir = 0x08,
|
|
HasFollowsTerrain = 0x010, // Nyi
|
|
Unk1 = 0x020,
|
|
HasTargetRollPitchYaw = 0x040, // Nyi
|
|
HasAnimID = 0x080,
|
|
Unk3 = 0x100,
|
|
HasAnimKitID = 0x200,
|
|
HasCircularMovement = 0x400,
|
|
Unk5 = 0x800
|
|
}
|
|
|
|
public enum AreaTriggerTypes
|
|
{
|
|
Sphere = 0,
|
|
Box = 1,
|
|
Unk = 2,
|
|
Polygon = 3,
|
|
Cylinder = 4,
|
|
Disk = 5,
|
|
BoundedPlane = 6,
|
|
Max
|
|
}
|
|
|
|
public enum AreaTriggerActionTypes
|
|
{
|
|
Cast = 0,
|
|
AddAura = 1,
|
|
Teleport = 2,
|
|
Max = 3
|
|
}
|
|
|
|
public enum AreaTriggerActionUserTypes
|
|
{
|
|
Any = 0,
|
|
Friend = 1,
|
|
Enemy = 2,
|
|
Raid = 3,
|
|
Party = 4,
|
|
Caster = 5,
|
|
Max = 6
|
|
}
|
|
}
|