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
This commit is contained in:
Shauren
2011-01-24 11:38:59 +01:00
parent e7dbc783cf
commit 820f87f365
8 changed files with 66 additions and 1 deletions
@@ -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: