ScummVM API documentation
Stark::Tools::DefinitionRegistry Class Reference

#include <command.h>

Public Member Functions

void registerReference (const ResourceReference &reference)
 
Common::String getFromReference (const ResourceReference &reference) const
 
void printAll () const
 

Detailed Description

Storage for aliases between world resources and names

Member Function Documentation

◆ registerReference()

void Stark::Tools::DefinitionRegistry::registerReference ( const ResourceReference reference)

Add a definition from a reference

The name is computed from the object's name

◆ getFromReference()

Common::String Stark::Tools::DefinitionRegistry::getFromReference ( const ResourceReference reference) const

Get a previously registered definition from a reference

◆ printAll()

void Stark::Tools::DefinitionRegistry::printAll ( ) const

Print all the registered definitions


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