载入中...
搜索中...
未找到
Market.h
浏览该文件的文档.
110 [[nodiscard]] static Result<int> quoteBuyPrice(const std::string& marketId, const std::string& resourceType);
116 [[nodiscard]] static Result<int> quoteSellPrice(const std::string& marketId, const std::string& resourceType);
123[[nodiscard]] EVENGINE_API_FOUNDATION Result<MarketScope> parseMarketScope(std::string_view text);
Move-only, checked operation results for the common layer.
Definition IEconomy.h:5
Result< void > normalizeMarketConfig(MarketConfig &config)
校验并规范化配置(id/scope/挂牌约束)。 @cost Cheap: walks a small listings vector.
Definition Market.cpp:187
Result< MarketScope > parseMarketScope(std::string_view text)
解析 scope 文本:regional / national(大小写不敏感)。
Definition Market.cpp:171