载入中...
搜索中...
未找到
RTSContent.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
10#include "common/Result.h"
12
13#include <cstddef>
14#include <string_view>
15
16namespace eve::rts {
17
20 std::size_t inserted = 0;
21 std::size_t replaced = 0;
22};
23
33public:
35 [[nodiscard]] static Result<ContentImportReceipt> load(definitions::DefinitionRegistry& registry,
36 std::string_view json);
37};
38
39} // namespace eve::rts
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Deterministic registry of topic-neutral, versioned JSON definitions.
Definition Definitions.h:58
Validates legacy-compatible RTS content packs and publishes their records to Definitions.
Definition RTSContent.h:32
Receipt for one atomically imported RTS content pack.
Definition RTSContent.h:19