Add new flagged column to access_requirement to set instances opened/closed.

This way is possible to open a raid on 10man mode while the rest of modes are closed (for example).
Ingame commands to open/close instances coming soon ;)

--HG--
branch : trunk
This commit is contained in:
Tartalo
2010-02-25 16:26:03 +01:00
parent 8c06fe676f
commit c76cb0ce7c
7 changed files with 43 additions and 3 deletions
+12
View File
@@ -868,6 +868,17 @@ struct InstancePlayerBind
InstancePlayerBind() : save(NULL), perm(false) {}
};
enum DungeonStatusFlag
{
DUNGEON_STATUSFLAG_NORMAL = 0x01,
DUNGEON_STATUSFLAG_HEROIC = 0x02,
RAID_STATUSFLAG_10MAN_NORMAL = 0x01,
RAID_STATUSFLAG_25MAN_NORMAL = 0x02,
RAID_STATUSFLAG_10MAN_HEROIC = 0x04,
RAID_STATUSFLAG_25MAN_HEROIC = 0x08
};
struct AccessRequirement
{
uint8 levelMin;
@@ -881,6 +892,7 @@ struct AccessRequirement
std::string questFailedText;
uint32 heroicQuest;
std::string heroicQuestFailedText;
uint8 status;
};
class PlayerTaxi