载入中...
搜索中...
未找到
EditorMcpAttach.cpp
浏览该文件的文档.
2
3namespace eve {
4namespace {
5
6EditorMcpAttachFn g_attach = nullptr;
7EditorMcpDetachFn g_detach = nullptr;
8
9} // namespace
10
12 g_attach = attach;
13 g_detach = detach;
14}
15
17
19
20} // namespace eve
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16
void(*)() EditorMcpDetachFn
Detach callback registered by the editor module.
EditorMcpAttachFn editorMcpAttachHook()
Current attach hook, or null.
EditorMcpDetachFn editorMcpDetachHook()
Current detach hook, or null.
bool(*)(void *host) EditorMcpAttachFn
Opaque EditorHost* attach callback registered by the editor module.
void setEditorMcpAttachHooks(EditorMcpAttachFn attach, EditorMcpDetachFn detach)
Register Host attach hooks used by eve.mcp.attachEditor.