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

ID: "overworld-maps". One command per map 0x00-0x9F (JumpToMapRequest). More...

#include <command_palette_providers.h>

Inheritance diagram for yaze::editor::OverworldMapCommandsProvider:
Collaboration diagram for yaze::editor::OverworldMapCommandsProvider:

Public Member Functions

 OverworldMapCommandsProvider (size_t session_id)
 
std::string ProviderId () const override
 Stable identifier. Used for selective refresh; must be unique.
 
void Provide (CommandPalette *palette) override
 Populate palette with this source's commands.
 
- Public Member Functions inherited from yaze::editor::CommandProvider
virtual ~CommandProvider ()=default
 

Private Attributes

size_t session_id_
 

Detailed Description

ID: "overworld-maps". One command per map 0x00-0x9F (JumpToMapRequest).

Definition at line 96 of file command_palette_providers.h.

Constructor & Destructor Documentation

◆ OverworldMapCommandsProvider()

yaze::editor::OverworldMapCommandsProvider::OverworldMapCommandsProvider ( size_t session_id)
explicit

Definition at line 71 of file command_palette_providers.cc.

Member Function Documentation

◆ ProviderId()

std::string yaze::editor::OverworldMapCommandsProvider::ProviderId ( ) const
inlineoverridevirtual

Stable identifier. Used for selective refresh; must be unique.

Implements yaze::editor::CommandProvider.

Definition at line 99 of file command_palette_providers.h.

◆ Provide()

void yaze::editor::OverworldMapCommandsProvider::Provide ( CommandPalette * palette)
overridevirtual

Populate palette with this source's commands.

Implements yaze::editor::CommandProvider.

Definition at line 74 of file command_palette_providers.cc.

References yaze::editor::CommandPalette::RegisterOverworldMapCommands(), and session_id_.

Here is the call graph for this function:

Member Data Documentation

◆ session_id_

size_t yaze::editor::OverworldMapCommandsProvider::session_id_
private

Definition at line 103 of file command_palette_providers.h.

Referenced by Provide().


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