Core/SmartScript: Added ACTION_GO_SET_GO_STATE

This commit is contained in:
hondacrx
2018-03-18 12:01:59 -04:00
parent 4d3d2290eb
commit aaae2edf02
3 changed files with 22 additions and 1 deletions
@@ -1220,6 +1220,7 @@ namespace Game.AI
case SmartActions.JumpToPos:
case SmartActions.SendGossipMenu:
case SmartActions.GoSetLootState:
case SmartActions.GoSetGoState:
case SmartActions.SendTargetToTarget:
case SmartActions.SetHomePos:
case SmartActions.SetHealthRegen:
@@ -2162,6 +2163,9 @@ namespace Game.AI
[FieldOffset(4)]
public GoFlag goFlag;
[FieldOffset(4)]
public GoState goState;
[FieldOffset(4)]
public CreatureGroup creatureGroup;
@@ -2593,6 +2597,10 @@ namespace Game.AI
{
public uint flag;
}
public struct GoState
{
public uint state;
}
public struct CreatureGroup
{
public uint group;