Core/AreaTriggers: Implement height check for polygon db2 areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c3268155d0165e150d239c3a808d5a8dddeae18)
This commit is contained in:
@@ -1860,6 +1860,25 @@ namespace Framework.Constants
|
||||
HideIfUnknown = 0x40
|
||||
}
|
||||
|
||||
public enum PathPropertyIndex
|
||||
{
|
||||
UseNewLiquidGenerateCode = 0,
|
||||
AnimaCableId = 1,
|
||||
AnimaPlayerCondition = 2,
|
||||
AnimaStartTaper = 3,
|
||||
AnimaEndTaper = 4,
|
||||
VolumeHeight = 5,
|
||||
AiPathGraphMaxStartDist = 6,
|
||||
AiPathGraphMinTotalDist = 7,
|
||||
AiPathGraphAreaControl = 8,
|
||||
AiPathGraphAreaId = 9,
|
||||
AiPathGraphWidth = 10,
|
||||
AiPathDefaultFollowStyle = 11,
|
||||
AiPathConstrainSteering = 12,
|
||||
Phase = 13,
|
||||
SteepSlopeDegrees = 14
|
||||
}
|
||||
|
||||
public enum PhaseEntryFlags : int
|
||||
{
|
||||
ReadOnly = 0x1,
|
||||
|
||||
@@ -993,6 +993,9 @@ namespace Framework.Database
|
||||
// PathNode.db2
|
||||
PrepareStatement(HotfixStatements.SEL_PATH_NODE, "SELECT ID, PathID, Sequence, LocationID FROM path_node WHERE (`VerifiedBuild` > 0) = ?");
|
||||
|
||||
// PathProperty.db2
|
||||
PrepareStatement(HotfixStatements.SEL_PATH_PROPERTY, "SELECT ID, PathID, PropertyIndex, Value FROM path_property WHERE (`VerifiedBuild` > 0) = ?");
|
||||
|
||||
// Phase.db2
|
||||
PrepareStatement(HotfixStatements.SEL_PHASE, "SELECT ID, Flags FROM phase WHERE (`VerifiedBuild` > 0) = ?");
|
||||
|
||||
@@ -2090,6 +2093,8 @@ namespace Framework.Database
|
||||
|
||||
SEL_PATH_NODE,
|
||||
|
||||
SEL_PATH_PROPERTY,
|
||||
|
||||
SEL_PHASE,
|
||||
|
||||
SEL_PHASE_X_PHASE_GROUP,
|
||||
|
||||
Reference in New Issue
Block a user