aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-01-24 11:38:59 +0100
committerShauren <shauren.trinity@gmail.com>2011-01-24 11:38:59 +0100
commit820f87f365489607dfb7a0e87d7e86c44557518f (patch)
tree097fa3e2e2fe3dd748e0c5812d4b3ee836c7d2ac /src/server/game/Instances/InstanceScript.h
parente7dbc783cfb5a4e632794725c37831ab63645ff0 (diff)
Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance
Also fixes broken build
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rwxr-xr-xsrc/server/game/Instances/InstanceScript.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 652c29fbf2f..5e293eee0ca 100755
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -196,6 +196,10 @@ class InstanceScript : public ZoneScript
// Checks boss requirements (one boss required to kill other)
virtual bool CheckRequiredBosses(uint32 /*bossId*/, Player const* /*player*/ = NULL) const { return true; }
+ // Returns completed encounters mask for packets
+ // NOTE: MUST USE ENCOUNTER IDS FROM DungeonEncounter.dbc 4th column
+ virtual uint32 GetCompletedEncounterMask() const { return 0; }
+
void SendEncounterUnit(uint32 type, Unit* unit = NULL, uint8 param1 = 0, uint8 param2 = 0);
protected: