载入中...
搜索中...
未找到
Mcp.cpp
浏览该文件的文档.
14#if EVENGINE_CMDLINE_DEVTOOLS && !defined(EVENGINE_ANDROID) && !defined(EVENGINE_IOS) && !defined(EVENGINE_WEBGPU)
94#if !EVENGINE_CMDLINE_DEVTOOLS || defined(EVENGINE_ANDROID) || defined(EVENGINE_IOS) || defined(EVENGINE_WEBGPU)
static void requireAll()
Instantiates every registered module through its factory.
Definition ModuleRegistry.cpp:78
命令行模块(eve.cmd):run / build / package / test / zip / dev-server 等子命令入口。
Definition cmdline.h:34
static std::string get_remaining(CLI::App *sub, std::string default_path=".")
子命令剩余位置参数。
Definition cmdline.cpp:80
virtual bool setSource(std::string source)=0
Sets the path to the game source. This can only be set once.
virtual std::string pollWatch()=0
Pop next watch event kind: "added"|"removed"|"modified"|"movedFrom"|"movedTo". Empty string if queue ...
virtual std::string getLastWatchPath() const =0
int runMcpSupervisor(const std::string &root, int timeoutMs)
Run the desktop stdio MCP supervisor synchronously on the main thread. Owns a worker process and its ...
Definition McpSupervisor.cpp:281
Definition Build.cpp:16
void installScriptFileApi(ssq::VM &vm)
用 PhysFS 版本覆盖 Squirrel 的 file / dofile / loadfile 全局, 使脚本与资源从已挂载的游戏源(真实目录或内存挂载的 .eve 归档)解析; PhysFS 中不...
Definition FileApi.cpp:219
const char * module_list_content
Definition Mcp.cpp:59
int parse(CLI::App &app, Cmdline &cmd) override
Parses arguments and runs the command; returns the exit code.
Definition Mcp.cpp:77
void setup(CLI::App &app, std::shared_ptr< CLI::Formatter > formatter) override
Registers options on the CLI11 sub-app.
Definition Mcp.cpp:65