Core/SAI: added new action type SMART_ACTION_ADD_TO_STORED_TARGET_LIST
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc4e285c2104993f9eb8c0dc03e0eba800df1a88)
This commit is contained in:
@@ -1584,6 +1584,7 @@ namespace Game.AI
|
||||
case SmartActions.RemoveAllGameobjects:
|
||||
case SmartActions.SpawnSpawngroup:
|
||||
case SmartActions.DespawnSpawngroup:
|
||||
case SmartActions.AddToStoredTargetList:
|
||||
break;
|
||||
default:
|
||||
Log.outError(LogFilter.ScriptsAi, "SmartAIMgr: Not handled action_type({0}), event_type({1}), Entry {2} SourceType {3} Event {4}, skipped.", e.GetActionType(), e.GetEventType(), e.EntryOrGuid, e.GetScriptType(), e.EventId);
|
||||
@@ -2617,6 +2618,9 @@ namespace Game.AI
|
||||
[FieldOffset(4)]
|
||||
public Conversation conversation;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public AddToStoredTargets addToStoredTargets;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public Raw raw;
|
||||
|
||||
@@ -3160,6 +3164,10 @@ namespace Game.AI
|
||||
{
|
||||
public uint id;
|
||||
}
|
||||
public struct AddToStoredTargets
|
||||
{
|
||||
public uint id;
|
||||
}
|
||||
public struct Raw
|
||||
{
|
||||
public uint param1;
|
||||
|
||||
Reference in New Issue
Block a user