Changeset 9 for trunk/src/shared/Database/DBCStructure.h
- Timestamp:
- 11/19/08 13:22:41 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shared/Database/DBCStructure.h
r6 r9 472 472 // Helpers 473 473 bool IsExpansionMap() const { return addon != 0; } 474 bool Instanceable() const { return map_type == MAP_INSTANCE || map_type == MAP_RAID; } 475 // NOTE: this duplicate of Instanceable(), but Instanceable() can be changed when BG also will be instanceable 474 475 476 476 bool IsDungeon() const { return map_type == MAP_INSTANCE || map_type == MAP_RAID; } 477 bool Instanceable() const { return map_type == MAP_INSTANCE || map_type == MAP_RAID || map_type == MAP_BATTLEGROUND || map_type == MAP_ARENA; } 477 478 bool IsRaid() const { return map_type == MAP_RAID; } 478 479 bool IsBattleGround() const { return map_type == MAP_BATTLEGROUND; }