载入中...
搜索中...
未找到
GameWorldContext.cpp 文件参考
#include "devtools/GameWorldContext.hpp"
#include "common/Capability.h"
#include "common/GameplayControl.h"
#include "common/SquirrelBinding.h"
#include "devtools/Debugger.hpp"
#include "devtools/McpServer.hpp"
#include <squirrel.h>
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <set>
#include <sstream>
#include <utility>

浏览源代码.

命名空间

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

函数

Result< Value > eve::dev::parseWorldObject (const Value &world)
 Validate one runtime-published world object.
 
Result< void > eve::dev::publishWorldContext (Value world)
 Replace the runtime world brief published by the live game script.
 
void eve::dev::clearWorldContext ()
 Drop the runtime world brief (soft restart with script reload).
 
bool eve::dev::hasWorldContext () noexcept
 Whether a runtime brief is currently published.
 
const Value * eve::dev::runtimeWorldContext () noexcept
 Current runtime brief, or null when none is published. @ownership Borrowed; valid until the next publish/clear on this thread.
 
Result< Value > eve::dev::buildGameWorldSnapshot (const GameWorldSnapshotInput &input)
 Assemble runtime world brief plus live system lists.
 
std::string eve::dev::readConfigTitle (HSQUIRRELVM vm)
 Read config.title from the attached VM root.
 
std::vector< std::string > eve::dev::readConfiguredModules (HSQUIRRELVM vm)
 Read config.modules / optionalModules from the attached VM root.
 
std::vector< std::string > eve::dev::readLiveModules (HSQUIRRELVM vm)
 List instantiated module slots declared in eve.moduleList.
 
Result< Value > eve::dev::liveGameWorldSnapshot ()
 Build the Discover snapshot against the live engine.