34 void setVisible(
bool on);
35 bool isVisible()
const;
38 void setMcpPort(
int port);
40 void setMcpConnected(
bool on);
41 bool mcpConnected()
const;
42 void setClientName(std::string
name);
43 std::string clientName()
const;
46 void addLog(std::string
kind, std::string
title, std::string
detail = {});
47 void addNote(std::string
text);
48 std::vector<AiLogEntry> recentLog(
size_t max = 64)
const;
49 std::string formatLog(
size_t max = 64)
const;
52 std::string statusLine()
const;
64 void setMaxEntries(
size_t n);
72 static std::string nowStamp();
74 mutable std::mutex mu_;
77 bool mcpConnected_ =
false;
78 std::string clientName_;
79 size_t maxEntries_ = 200;
80 std::deque<AiLogEntry> log_;
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
In-engine AI / MCP session surface for DevTools.
AiPanel(const AiPanel &)=delete
size_t maxEntries() const
void(*)(AiPanel &panel) ImGuiDrawer
AiPanel & operator=(const AiPanel &)=delete
SettlementPipeline::Stage fn
Process-immortal singleton holder for DevTools objects.