Represents a single session, containing a ROM and its associated editors. More...
#include <session_types.h>

Public Member Functions | |
| RomSession ()=default | |
| RomSession (Rom &&r, UserSettings *user_settings=nullptr, size_t session_id=0, EditorRegistry *editor_registry=nullptr) | |
| std::string | GetDisplayName () const |
Public Attributes | |
| Rom | rom |
| zelda3::GameData | game_data |
| EditorSet | editors |
| std::string | custom_name |
| std::string | filepath |
| core::FeatureFlags::Flags | feature_flags |
| bool | game_data_loaded = false |
| std::array< bool, kEditorTypeCount > | editor_initialized {} |
| std::array< bool, kEditorTypeCount > | editor_assets_loaded {} |
Represents a single session, containing a ROM and its associated editors.
Definition at line 120 of file session_types.h.
|
default |
|
explicit |
Definition at line 187 of file session_types.cc.
References feature_flags, yaze::Rom::filename(), filepath, and rom.

| std::string yaze::editor::RomSession::GetDisplayName | ( | ) | const |
Definition at line 196 of file session_types.cc.
References custom_name, rom, and yaze::Rom::title().

| Rom yaze::editor::RomSession::rom |
Definition at line 121 of file session_types.h.
Referenced by yaze::editor::EditorManager::ConfigureSession(), GetDisplayName(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::SessionCoordinator::NotifySessionRomLoaded(), and RomSession().
| zelda3::GameData yaze::editor::RomSession::game_data |
Definition at line 122 of file session_types.h.
Referenced by yaze::editor::EditorManager::HandleSessionSwitched().
| EditorSet yaze::editor::RomSession::editors |
Definition at line 123 of file session_types.h.
Referenced by yaze::editor::EditorManager::ConfigureSession(), and yaze::editor::EditorManager::HandleSessionSwitched().
| std::string yaze::editor::RomSession::custom_name |
Definition at line 124 of file session_types.h.
Referenced by GetDisplayName().
| std::string yaze::editor::RomSession::filepath |
Definition at line 125 of file session_types.h.
Referenced by yaze::editor::SessionCoordinator::NotifySessionRomLoaded(), and RomSession().
| core::FeatureFlags::Flags yaze::editor::RomSession::feature_flags |
Definition at line 126 of file session_types.h.
Referenced by yaze::editor::EditorManager::GetCurrentFeatureFlags(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::EditorManager::OpenRomOrProject(), and RomSession().
| bool yaze::editor::RomSession::game_data_loaded = false |
Definition at line 127 of file session_types.h.
Referenced by yaze::editor::EditorManager::ResetAssetState().
| std::array<bool, kEditorTypeCount> yaze::editor::RomSession::editor_initialized {} |
Definition at line 128 of file session_types.h.
Referenced by yaze::editor::EditorManager::MarkEditorInitialized(), and yaze::editor::EditorManager::ResetAssetState().
| std::array<bool, kEditorTypeCount> yaze::editor::RomSession::editor_assets_loaded {} |
Definition at line 129 of file session_types.h.
Referenced by yaze::editor::EditorManager::MarkEditorLoaded(), and yaze::editor::EditorManager::ResetAssetState().