载入中...
搜索中...
未找到
MapObjectContract.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
5#include "common/Result.h"
6#include "map/MapObject.h"
7
8#include <span>
9#include <string_view>
10
11namespace eve::map {
12
23[[nodiscard]] EVENGINE_API_WORLD eve::Result<void> validateMapObjects(std::span<const MapObject> objects,
24 std::string_view contractJson);
25
26} // namespace eve::map
#define EVENGINE_API_WORLD
Definition Export.h:109
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
放置世界:格子占用(多通道)+ 地形语义 + 已放置建筑实例。 行为由 PlacementSystem 提供;本类暴露便于脚本绑定的薄封装方法。 坐标换算统一走 eve::grid(支持 rectang...
eve::Result< void > validateMapObjects(std::span< const MapObject > objects, std::string_view contractJson)
Validate map objects against an owning JSON content contract.