doc: 将CharacterControl模块的文档部分转化为中文

This commit is contained in:
meishibiezb
2026-06-06 04:57:13 +08:00
parent a8bdf281ff
commit b64cf33f6c
13 changed files with 39 additions and 39 deletions

View File

@@ -7,13 +7,13 @@
- **模块**: CharacterControl
## 功能概述
Central abstraction for all nodes in command routing graph. Pure virtual methods: GetEndpointState, GetStateChangedDelegate, GetCommandOutputDelegate, ReceiveCommand. BlueprintNativeEvents: ReceiveCommand_BP, GetEndpointDispatcher_BP. Default C++ implementations route through dispatcher for Blueprint subclasses, while C++ subclasses override directly.
命令路由图中所有节点的中央抽象层。纯虚方法:GetEndpointStateGetStateChangedDelegateGetCommandOutputDelegateReceiveCommandBlueprintNativeEventReceiveCommand_BPGetEndpointDispatcher_BP。默认 C++ 实现通过调度器为蓝图子类提供路由,而 C++ 子类直接重写。
## 设计用意
Uniform interface enabling heterogeneous routing graph. Routers manage collections of ICommandEndpoint without knowing concrete types. Dispatcher pattern solves UE limitation that BlueprintNativeEvent can't return delegate references directly.
统一接口,使异构路由图成为可能。路由器管理 ICommandEndpoint 集合,无需知晓具体类型。调度器模式解决了 UE 的限制——BlueprintNativeEvent 无法直接返回委托引用。
## 职责范围
Defines contract for command routing participants. All routers, endpoint components, and input components implement this. Single ReceiveCommand entry point for all command types.
定义命令路由参与者的契约。所有路由器、端点组件和输入组件均实现此接口。所有命令类型的单一 ReceiveCommand 入口点。
## 项目内依赖
| 依赖项 | 关系 | 源文件 |