yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::handlers::OverworldRemoveSpriteCommandHandler Class Reference

#include <overworld_sprite_edit_commands.h>

Inheritance diagram for yaze::cli::handlers::OverworldRemoveSpriteCommandHandler:
Collaboration diagram for yaze::cli::handlers::OverworldRemoveSpriteCommandHandler:

Public Member Functions

 OverworldRemoveSpriteCommandHandler ()
 
- Public Member Functions inherited from yaze::cli::handlers::OverworldSpriteEditCommandHandler
 OverworldSpriteEditCommandHandler (OverworldSpriteEditAction action)
 
std::string GetName () const override
 Get the command name.
 
std::string GetDescription () const
 
std::string GetUsage () const override
 Get the command usage string.
 
absl::Status ValidateArgs (const resources::ArgumentParser &parser) override
 Validate command arguments.
 
absl::Status Execute (Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
 Execute the command business logic.
 
absl::Status ExecuteWithContext (Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter, const resources::CommandInvocationContext &invocation_context) override
 Execute with immutable, invocation-scoped ROM path identity.
 
- Public Member Functions inherited from yaze::cli::resources::CommandHandler
virtual ~CommandHandler ()=default
 
absl::Status Run (const std::vector< std::string > &args, Rom *rom_context, std::string *captured_output=nullptr)
 Execute the command.
 
virtual Descriptor Describe () const
 Provide metadata for TUI/help summaries.
 
virtual bool RequiresRom () const
 Check if the command requires a loaded ROM.
 
virtual bool RequiresLabels () const
 Check if the command requires ROM labels.
 
virtual void SetProjectContext (project::YazeProject *project)
 Set the YazeProject context. Default implementation does nothing, override if tool needs project info.
 
virtual void SetAsarWrapper (core::AsarWrapper *asar_wrapper)
 Set the AsarWrapper context. Default implementation does nothing, override if tool needs Asar access.
 
virtual void SetRomContext (Rom *rom)
 Set the ROM context for tools that need ROM access. Default implementation stores the ROM pointer for subclass use.
 
virtual void SetAssemblySymbolTable (const std::map< std::string, core::AsarSymbol > *table)
 Optional Asar symbol table for assembly-aware tools.
 
virtual void SetSymbolProvider (emu::debug::SymbolProvider *provider)
 Set the SymbolProvider context.
 

Additional Inherited Members

- Protected Attributes inherited from yaze::cli::resources::CommandHandler
Rom * rom_ = nullptr
 
emu::debug::SymbolProvider * symbol_provider_ = nullptr
 
project::YazeProject * project_ = nullptr
 
core::AsarWrapper * asar_wrapper_ = nullptr
 
const std::map< std::string, core::AsarSymbol > * assembly_symbol_table_
 

Detailed Description

Definition at line 61 of file overworld_sprite_edit_commands.h.

Constructor & Destructor Documentation

◆ OverworldRemoveSpriteCommandHandler()

yaze::cli::handlers::OverworldRemoveSpriteCommandHandler::OverworldRemoveSpriteCommandHandler ( )
inline

Definition at line 64 of file overworld_sprite_edit_commands.h.


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