#include <dungeon_selection_snapshot.h>

Public Member Functions | |
| bool | HasSelection () const |
| bool | HasObjectSelection () const |
| bool | HasEntitySelection () const |
| bool | HasMixedSelection () const |
Public Attributes | |
| DungeonSelectionKind | kind = DungeonSelectionKind::None |
| size_t | count = 0 |
| size_t | object_count = 0 |
| size_t | door_count = 0 |
| size_t | sprite_count = 0 |
| size_t | item_count = 0 |
| int | selection_layer = -1 |
| std::optional< size_t > | primary_object_index |
| SelectedEntity | entity {} |
Definition at line 25 of file dungeon_selection_snapshot.h.
|
inline |
Definition at line 36 of file dungeon_selection_snapshot.h.
References count.
Referenced by yaze::editor::ObjectEditorContent::DrawSelectionActions(), and yaze::editor::ObjectEditorContent::HandleKeyboardShortcuts().
|
inline |
Definition at line 37 of file dungeon_selection_snapshot.h.
References kind, yaze::editor::ObjectMulti, and yaze::editor::ObjectSingle.
Referenced by yaze::editor::ObjectEditorContent::Draw(), yaze::editor::ObjectEditorContent::DrawSelectionActions(), and yaze::editor::ObjectEditorContent::HandleKeyboardShortcuts().
|
inline |
Definition at line 41 of file dungeon_selection_snapshot.h.
References door_count, item_count, and sprite_count.
|
inline |
Definition at line 44 of file dungeon_selection_snapshot.h.
References yaze::editor::EntityMulti, kind, and yaze::editor::Mixed.
| DungeonSelectionKind yaze::editor::DungeonSelectionSnapshot::kind = DungeonSelectionKind::None |
Definition at line 26 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot(), yaze::editor::ObjectEditorContent::DeleteAllSelectedTypeInRoom(), yaze::editor::ObjectEditorContent::Draw(), yaze::editor::ObjectEditorContent::DrawSelectionActions(), yaze::editor::ObjectEditorContent::DrawSelectionSummary(), yaze::editor::GetDungeonSelectionSummaryText(), yaze::editor::ObjectEditorContent::HandleKeyboardShortcuts(), HasMixedSelection(), and HasObjectSelection().
| size_t yaze::editor::DungeonSelectionSnapshot::count = 0 |
Definition at line 27 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot(), yaze::editor::ObjectEditorContent::DrawSelectionSummary(), yaze::editor::GetDungeonSelectionSummaryText(), HasSelection(), and yaze::editor::ObjectEditorContent::RefreshSelectionSnapshot().
| size_t yaze::editor::DungeonSelectionSnapshot::object_count = 0 |
| size_t yaze::editor::DungeonSelectionSnapshot::door_count = 0 |
Definition at line 29 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot(), yaze::editor::GetDungeonSelectionSummaryText(), and HasEntitySelection().
| size_t yaze::editor::DungeonSelectionSnapshot::sprite_count = 0 |
Definition at line 30 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot(), yaze::editor::ObjectEditorContent::DrawSelectionActions(), yaze::editor::DungeonWorkbenchContent::DrawSelectionShelf(), yaze::editor::GetDungeonSelectionSummaryText(), and HasEntitySelection().
| size_t yaze::editor::DungeonSelectionSnapshot::item_count = 0 |
Definition at line 31 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot(), yaze::editor::ObjectEditorContent::DrawSelectionActions(), yaze::editor::DungeonWorkbenchContent::DrawSelectionShelf(), yaze::editor::GetDungeonSelectionSummaryText(), and HasEntitySelection().
| int yaze::editor::DungeonSelectionSnapshot::selection_layer = -1 |
Definition at line 32 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot(), and yaze::editor::GetDungeonSelectionSummaryText().
| std::optional<size_t> yaze::editor::DungeonSelectionSnapshot::primary_object_index |
Definition at line 33 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot().
| SelectedEntity yaze::editor::DungeonSelectionSnapshot::entity {} |
Definition at line 34 of file dungeon_selection_snapshot.h.
Referenced by yaze::editor::BuildDungeonSelectionSnapshot().