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

A label plus the name it replaces. More...

#include <resource_labels.h>

Public Member Functions

std::string Display () const
 

Public Attributes

std::string name
 
std::string default_name
 
bool from_project = false
 

Detailed Description

A label plus the name it replaces.

from_project is true when project metadata (labels, registry, manifest) renamed the resource, e.g. Oracle's sprite $52 is "Collectible" while the vanilla slot is "ZoraKing".

Definition at line 56 of file resource_labels.h.

Member Function Documentation

◆ Display()

std::string yaze::zelda3::ResolvedLabel::Display ( ) const

Definition at line 241 of file resource_labels.cc.

References default_name, from_project, and name.

Member Data Documentation

◆ name

std::string yaze::zelda3::ResolvedLabel::name

Definition at line 58 of file resource_labels.h.

Referenced by Display(), and yaze::zelda3::ResourceLabelProvider::ResolveLabel().

◆ default_name

std::string yaze::zelda3::ResolvedLabel::default_name

Definition at line 60 of file resource_labels.h.

Referenced by Display(), and yaze::zelda3::ResourceLabelProvider::ResolveLabel().

◆ from_project

bool yaze::zelda3::ResolvedLabel::from_project = false

Definition at line 61 of file resource_labels.h.

Referenced by Display(), and yaze::zelda3::ResourceLabelProvider::ResolveLabel().


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