Public 成员函数 | |
| void | configureRuntime () |
| Install the resolver, vocabulary, host binding and condition evaluator. | |
| bool | snapshot (const std::string &id) |
| Snapshot the whole catalogue so nothing borrows it after a hot replacement. | |
| void | persistProgress () |
| Publish or clear the GameState-backed cursor after a transition. | |
| void | publishCompletion () |
| Record completion once a successful run leaves the runtime inactive. | |
Public 属性 | |
| std::map< std::string, eve::dnut::SequenceAsset > | assets |
| eve::dnut::SequenceRuntime | runtime |
| RpgStoryBinding | ownedBinding |
| RpgStoryBinding * | binding = nullptr |
| std::string | storyId |
| eve::Value | emptyPayload = eve::Value::Object{} |
详细描述
在文件 RpgDialect.cpp 第 592 行定义.
成员函数说明
◆ configureRuntime()
|
inline |
Install the resolver, vocabulary, host binding and condition evaluator.
在文件 RpgDialect.cpp 第 602 行定义.
引用了 assets, binding, condition, found, eve::rpg::rpgStoryStepRegistry(), runtime, eve::dnut::SequenceRuntime::setAssetResolver(), eve::dnut::SequenceRuntime::setConditionEvaluator(), eve::dnut::SequenceRuntime::setHostContext() , 以及 eve::dnut::SequenceRuntime::setStepRegistry().
◆ persistProgress()
|
inline |
Publish or clear the GameState-backed cursor after a transition.
在文件 RpgDialect.cpp 第 622 行定义.
引用了 binding, eve::dnut::SequenceRuntime::captureState(), eve::rpg::GameState::clearSelfString(), eve::rpg::RpgStoryBinding::gameState, eve::rpg::GameState::hasSelfVariable(), eve::dnut::SequenceRuntime::isActive(), runtime, scope, eve::rpg::GameState::setSelfString(), eve::rpg::GameState::setSelfVariable(), storyId , 以及 eve::Value::toJson().
被这些函数引用 publishCompletion().
◆ publishCompletion()
|
inline |
Record completion once a successful run leaves the runtime inactive.
在文件 RpgDialect.cpp 第 640 行定义.
引用了 persistProgress().
◆ snapshot()
|
inline |
Snapshot the whole catalogue so nothing borrows it after a hot replacement.
在文件 RpgDialect.cpp 第 615 行定义.
引用了 assets.
类成员变量说明
◆ assets
| std::map<std::string, eve::dnut::SequenceAsset> eve::rpg::RpgStorySession::Impl::assets |
在文件 RpgDialect.cpp 第 594 行定义.
被这些函数引用 configureRuntime() , 以及 snapshot().
◆ binding
| RpgStoryBinding* eve::rpg::RpgStorySession::Impl::binding = nullptr |
在文件 RpgDialect.cpp 第 597 行定义.
被这些函数引用 configureRuntime() , 以及 persistProgress().
◆ emptyPayload
| eve::Value eve::rpg::RpgStorySession::Impl::emptyPayload = eve::Value::Object{} |
在文件 RpgDialect.cpp 第 599 行定义.
◆ ownedBinding
| RpgStoryBinding eve::rpg::RpgStorySession::Impl::ownedBinding |
在文件 RpgDialect.cpp 第 596 行定义.
◆ runtime
| eve::dnut::SequenceRuntime eve::rpg::RpgStorySession::Impl::runtime |
在文件 RpgDialect.cpp 第 595 行定义.
被这些函数引用 configureRuntime() , 以及 persistProgress().
◆ storyId
| std::string eve::rpg::RpgStorySession::Impl::storyId |
在文件 RpgDialect.cpp 第 598 行定义.
被这些函数引用 persistProgress().
该类的文档由以下文件生成:
- src/modules/rpg/RpgDialect.cpp