Porytiles
Loading...
Searching...
No Matches
primary_tileset_importer.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
5#include "gsl/pointers"
6
15
16namespace porytiles {
17
23 public:
24 virtual ~PrimaryTilesetImporter() = default;
25
55 import_porymap_component_from_vanilla(const std::string &tileset_name) const = 0;
56};
57
58} // namespace porytiles
A result type that maintains a chainable sequence of errors for debugging and error reporting.
Domain service interface for importing vanilla (non-Porytiles-managed) tilesets into a PorymapTileset...
virtual ~PrimaryTilesetImporter()=default
virtual ChainableResult< std::unique_ptr< PorymapTilesetComponent > > import_porymap_component_from_vanilla(const std::string &tileset_name) const =0
Imports vanilla Porymap assets for the given tileset into a PorymapTilesetComponent.