- 新增 Core 模块:GameObject、LogEntry、AssetItem 数据模型 - 新增 Managers 模块:SceneManager、LogSystem、ProjectManager - Panel 层只负责显示,不再持有数据 - 解耦 HierarchyPanel 和 InspectorPanel 之间的直接依赖
13 lines
161 B
C++
13 lines
161 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace UI {
|
|
|
|
struct LogEntry {
|
|
enum class Level { Info, Warning, Error };
|
|
Level level;
|
|
std::string message;
|
|
};
|
|
|
|
} |