Core/SAI: Added param PointId to SMART_ACTION_MOVE_OFFSET
Port From (https://github.com/TrinityCore/TrinityCore/commit/e218f276028124682790e93688aeae567ca1eaba)
This commit is contained in:
@@ -25,6 +25,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using static Game.AI.SmartAction;
|
||||
|
||||
namespace Game.AI
|
||||
{
|
||||
@@ -3062,6 +3063,9 @@ namespace Game.AI
|
||||
[FieldOffset(4)]
|
||||
public ClosestWaypointFromList closestWaypointFromList;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public MoveOffset moveOffset;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public RandomSound randomSound;
|
||||
|
||||
@@ -3553,6 +3557,10 @@ namespace Game.AI
|
||||
public uint wp5;
|
||||
public uint wp6;
|
||||
}
|
||||
public struct MoveOffset
|
||||
{
|
||||
public uint PointId;
|
||||
}
|
||||
public struct RandomSound
|
||||
{
|
||||
public uint sound1;
|
||||
|
||||
Reference in New Issue
Block a user