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