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

Published when a ROM is successfully loaded into a session. More...

#include <core_events.h>

Inheritance diagram for yaze::editor::RomLoadedEvent:
Collaboration diagram for yaze::editor::RomLoadedEvent:

Static Public Member Functions

static RomLoadedEvent Create (Rom *r, const std::string &file, size_t session)
 

Public Attributes

Romrom = nullptr
 
std::string filename
 
size_t session_id = 0
 

Additional Inherited Members

- Public Member Functions inherited from yaze::Event
virtual ~Event ()=default
 

Detailed Description

Published when a ROM is successfully loaded into a session.

Subscribers can use this to initialize ROM-dependent state, update UI, or trigger data loading operations.

Definition at line 27 of file core_events.h.

Member Function Documentation

◆ Create()

Member Data Documentation

◆ rom

Rom* yaze::editor::RomLoadedEvent::rom = nullptr

Definition at line 28 of file core_events.h.

Referenced by Create().

◆ filename

std::string yaze::editor::RomLoadedEvent::filename

Definition at line 29 of file core_events.h.

Referenced by Create().

◆ session_id

size_t yaze::editor::RomLoadedEvent::session_id = 0

Definition at line 30 of file core_events.h.

Referenced by Create().


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