载入中...
搜索中...
未找到
JsonExport.h
浏览该文件的文档.
1#pragma once
2
3#include "procgen/Grid2D.h"
4
5#include <string>
6
7namespace eve::procgen {
8
10std::string gridToJson(const Grid2D &grid);
11
12bool writeGridJson(const Grid2D &grid, const std::string &path, std::string *error);
13
14} // namespace eve::procgen
std::string error
bool writeGridJson(const Grid2D &grid, const std::string &path, std::string *error)
std::string gridToJson(const Grid2D &grid)
Compact JSON for debugging / reload workflows (not full Tiled).