diff options
author | kaelima <kaelima@live.se> | 2012-03-30 02:43:17 +0200 |
---|---|---|
committer | kaelima <kaelima@live.se> | 2012-03-30 02:43:17 +0200 |
commit | ac81411db461184a9d20cb43b44eca414df5e81e (patch) | |
tree | 0ada4204be9dd76418ba3f2d57d6022f61ea2811 /src/server/game/Instances/InstanceScript.h | |
parent | bdf6cf5146b884591e3a033a31ca5b729fdff0ff (diff) |
Core/Protocol:
- 5 new opcodes
- Some spell research and fixed MSG_CHANNEL_START
- Fixed SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT for 4.2.2, and removed SMSG_GAMEOBJECT_SPAWN_ANIM_OBSOLETE (which does not exist)
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rwxr-xr-x | src/server/game/Instances/InstanceScript.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 69f11c203c1..469948d8e2d 100755 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -42,8 +42,17 @@ typedef std::set<Creature*> MinionSet; enum EncounterFrameType { - ENCOUNTER_FRAME_ADD = 0, - ENCOUNTER_FRAME_REMOVE = 1, + ENCOUNTER_FRAME_SET_COMBAT_RES_LIMIT = 0, + ENCOUNTER_FRAME_RESET_COMBAT_RES_LIMIT = 1, + ENCOUNTER_FRAME_ENGAGE = 2, + ENCOUNTER_FRAME_DISENGAGE = 3, + ENCOUNTER_FRAME_UPDATE_PRIORITY = 4, + ENCOUNTER_FRAME_ADD_TIMER = 5, + ENCOUNTER_FRAME_ENABLE_OBJECTIVE = 6, + ENCOUNTER_FRAME_UPDATE_OBJECTIVE = 7, + ENCOUNTER_FRAME_DISABLE_OBJECTIVE = 8, + ENCOUNTER_FRAME_UNK7 = 9, // Seems to have something to do with sorting the encounter units + ENCOUNTER_FRAME_ADD_COMBAT_RES_LIMIT = 10, }; enum EncounterState |