yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::RomSession Struct Reference

Represents a single session, containing a ROM and its associated editors. More...

#include <session_types.h>

Collaboration diagram for yaze::editor::RomSession:

Public Member Functions

 RomSession ()=default
 
 RomSession (Rom &&r, UserSettings *user_settings=nullptr, size_t session_id=0)
 
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
 

Detailed Description

Represents a single session, containing a ROM and its associated editors.

Definition at line 79 of file session_types.h.

Constructor & Destructor Documentation

◆ RomSession() [1/2]

yaze::editor::RomSession::RomSession ( )
default

◆ RomSession() [2/2]

yaze::editor::RomSession::RomSession ( Rom && r,
UserSettings * user_settings = nullptr,
size_t session_id = 0 )
explicit

Definition at line 66 of file session_types.cc.

References feature_flags, yaze::Rom::filename(), filepath, and rom.

Here is the call graph for this function:

Member Function Documentation

◆ GetDisplayName()

std::string yaze::editor::RomSession::GetDisplayName ( ) const

Definition at line 74 of file session_types.cc.

References custom_name, rom, and yaze::Rom::title().

Here is the call graph for this function:

Member Data Documentation

◆ rom

◆ game_data

zelda3::GameData yaze::editor::RomSession::game_data

Definition at line 81 of file session_types.h.

◆ editors

EditorSet yaze::editor::RomSession::editors

◆ custom_name

std::string yaze::editor::RomSession::custom_name

Definition at line 83 of file session_types.h.

Referenced by GetDisplayName().

◆ filepath

std::string yaze::editor::RomSession::filepath

Definition at line 84 of file session_types.h.

Referenced by RomSession().

◆ feature_flags


The documentation for this struct was generated from the following files: