From 820f87f365489607dfb7a0e87d7e86c44557518f Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 24 Jan 2011 11:38:59 +0100 Subject: 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 --- src/server/game/Instances/InstanceScript.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/game/Instances/InstanceScript.h') 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: -- cgit v1.2.3