载入中...
搜索中...
未找到
ConversationText.cpp
浏览该文件的文档.
48std::string renderToken(std::string token, const eve::Value& bindings, const eve::Value& locals) {
102void ConversationTextRenderer::addToneRule(std::string expression, std::string prefix, std::string suffix,
void addToneRule(std::string expression, std::string prefix, std::string suffix, std::string find, std::string replacement)
Append a state-dependent character voice rule.
Definition ConversationText.cpp:102
std::function< bool(const std::string &)> Evaluator
Definition ConversationText.h:16
std::string render(const std::string &text, const eve::Value &bindings, const eve::Value &locals, const Evaluator &evaluate={}) const
Render placeholders from locals first, then bindings, and apply matching tone rules.
Definition ConversationText.cpp:73
Definition ConversationAuthoring.cpp:12
Result< HexPath > findPath(const HexMap &map, HexSearchContext &scratch, HexCoordinates from, HexCoordinates to, const HexMoveRules &rules, const HexOccupancyQuery &occupied)
Finds the cheapest path between two cells.
Definition HexSearch.cpp:147