载入中...
搜索中...
未找到
SoftRestart.hpp
浏览该文件的文档.
Move-only, checked operation results for the common layer.
Definition AgentDevelopmentMcp.cpp:12
std::size_t resourceCacheCount()
Current ResourceManager cache entry count (for restart telemetry).
Definition SoftRestart.cpp:140
std::uint32_t resetNativeStateProviders()
Reset every registered IStateProvider to its defaults.
Definition SoftRestart.cpp:132
Result< SoftRestartReport > executeSoftRestart(HSQUIRRELVM vm, SoftRestartRequest request)
Soft-restart the game attached to vm.
Definition SoftRestart.cpp:142
Outcome of a successful soft restart. @ownership Owning value; safe to keep across frames.
Definition SoftRestart.hpp:45
Poco::JSON::Object::Ptr args
Echo of the args table that was installed (may be empty).
Definition SoftRestart.hpp:55
std::size_t resourceCountBefore
Cached resource entries before the restart (must equal after).
Definition SoftRestart.hpp:47
std::size_t resourceCountAfter
Cached resource entries after the restart.
Definition SoftRestart.hpp:49
Inputs for one soft restart. @thread Game / MCP poll thread only.
Definition SoftRestart.hpp:30
bool reloadScripts
When true (default), re-dofile tracked scripts after clearing persist/state roots so initializers run...
Definition SoftRestart.hpp:38
Poco::JSON::Object::Ptr args
Optional JSON object exposed to scripts as eve.restartArgs.
Definition SoftRestart.hpp:32