载入中...
搜索中...
未找到
eve::rts::RTSContentLoader类 参考

Validates legacy-compatible RTS content packs and publishes their records to Definitions. 更多...

#include <RTSContent.h>

静态 Public 成员函数

static Result< ContentImportReceipt > load (definitions::DefinitionRegistry &registry, std::string_view json)
 Parse, cross-validate, normalize weapons, and atomically import one JSON pack.
 

详细描述

Validates legacy-compatible RTS content packs and publishes their records to Definitions.

The loader owns no definition map. Unit, building, weapon, upgrade, effect, ability, and damage-table records remain authoritative in the caller's DefinitionRegistry. Failed imports restore the registry snapshot captured before the first mutation.

在文件 RTSContent.h 第 32 行定义.

成员函数说明

◆ load()


该类的文档由以下文件生成: