LevelValidationReport
Class in ChivalrousGames.DungeonMaster

Description

Level validation report. This report is normally generated by the LevelGenerator to ensure a level and its rooms are valid.

Properties

RoomValidationReportsList<RoomValidationReport>ReadOnly
Gets the room validation reports.
StatusLevelValidationStatusDetermines the status of the level
PropertyBagDictionaryReadOnly
Gets the property bag. This can be used to add anything.
LevelLevelReadOnly
Gets the level.
IsInDungeonbool?ReadOnly
Gets a value indicating whether this level is in dungeon.
HasEnoughRoomsbool?ReadOnly
Gets a value indicating whether this level has enough rooms.
LevelCompletelyClosedboolReadOnly
Gets a value indicating whether the level is completely closed. False if at least one room couldn’t be closed off in the level.

Constructors

Constructor
public LevelValidationReport(Level level, LevelValidationStatus levelValidationStatus, bool? isInDungeon, bool? hasEnoughRooms, List roomValidationReports);
Parameters
levelLevelThe level.
levelValidationStatusLevelValidationStatusThe level validation status.
isInDungeonbool?Set to true if is in dungeon.
hasEnoughRoomsbool?Set to true if has enough rooms.
roomValidationReportsboolThe room validation reports.
Return
A new instance of the LevelValidationReport class.
Description
Initializes a new instance of the LevelValidationReport class.