载入中...
搜索中...
未找到
Market.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>

浏览源代码.

类

struct  eve::economy::MarketListing
 单个资源在市场上的挂牌配置(静态数据,不含运行时库存)。 更多...
 
struct  eve::economy::MarketConfig
 地区/全国市场的静态配置。 更多...
 
class  eve::economy::MarketRegistry
 过程级市场配置注册表:注册 / JSON 加载 / 按 id 或地区/国家查询 / 报价。 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::economy
 

枚举

enum class  eve::economy::MarketScope { eve::economy::Regional , eve::economy::National }
 市场覆盖范围:地区市场或全国市场。 更多...
 

函数

Result< MarketScope > eve::economy::parseMarketScope (std::string_view text)
 解析 scope 文本:regional / national(大小写不敏感)。
 
std::string eve::economy::marketScopeName (MarketScope scope)
 把 scope 写成稳定小写文本。
 
Result< void > eve::economy::normalizeMarketConfig (MarketConfig &config)
 校验并规范化配置(id/scope/挂牌约束)。 @cost Cheap: walks a small listings vector.