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

#include <terrain_catalog.h>

Collaboration diagram for yaze::core::TerrainCatalog:

Public Member Functions

const nlohmann::json & document () const
 
std::vector< nlohmann::json > Resolve (std::string_view adapter, int tile_id, std::string_view definition, std::string_view profile) const
 

Static Public Member Functions

static absl::StatusOr< TerrainCatalog > Parse (std::string_view text)
 

Private Attributes

nlohmann::json document_
 

Detailed Description

Definition at line 15 of file terrain_catalog.h.

Member Function Documentation

◆ Parse()

absl::StatusOr< TerrainCatalog > yaze::core::TerrainCatalog::Parse ( std::string_view text)
static

◆ document()

const nlohmann::json & yaze::core::TerrainCatalog::document ( ) const
inline

◆ Resolve()

std::vector< nlohmann::json > yaze::core::TerrainCatalog::Resolve ( std::string_view adapter,
int tile_id,
std::string_view definition,
std::string_view profile ) const

Definition at line 76 of file terrain_catalog.cc.

References document_.

Member Data Documentation

◆ document_

nlohmann::json yaze::core::TerrainCatalog::document_
private

Definition at line 24 of file terrain_catalog.h.

Referenced by document(), Parse(), and Resolve().


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