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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user