doc: 将CharacterControl模块的文档部分转化为中文
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
- **模块**: CharacterControl
|
||||
|
||||
## 功能概述
|
||||
Core command routing engine. Manages child endpoint registry (TMap<FGuid, FEndpointEntry>). Implements tag-based matching with two modes: continuous (tag + ContinuousFriendly check) and discrete (tag ALL/ANY matching). Tag aggregation system merges child tags upward with ref-counting. Hop-limit guarded dispatch. Upward propagation for child output commands. Self-identity protection prevents circular registration.
|
||||
核心命令路由引擎。管理子端点注册表(TMap<FGuid, FEndpointEntry>)。实现基于标签的匹配,包含两种模式:连续模式(标签 + ContinuousFriendly 检查)和离散模式(标签 ALL/ANY 匹配)。标签聚合系统通过引用计数将子标签向上合并。受跳数限制保护的调度。子端点输出命令的向上传播。自身身份保护防止循环注册。
|
||||
|
||||
## 设计用意
|
||||
Heart of the plugin. Tag-based publish-subscribe bus replacing hard references. Hierarchical tree topology support (routers inside routers). Hop-limit prevents infinite loops. Tag aggregation enables efficient parent-level filtering. EditInlineNew/DefaultToInstanced for embedding in components.
|
||||
插件的核心。基于标签的发布-订阅总线,替代硬引用。支持层级树拓扑(路由器嵌套路由器)。跳数限制防止无限循环。标签聚合实现高效的父级过滤。EditInlineNew/DefaultToInstanced 用于嵌入组件中。
|
||||
|
||||
## 职责范围
|
||||
Command routing and endpoint management. Registers/unregisters endpoints. Matches and dispatches commands. Aggregates and manages tag subscriptions. Does NOT generate commands (input components do that).
|
||||
命令路由与端点管理。注册/注销端点。匹配并调度命令。聚合并管理标签订阅。不生成命令(由输入组件负责)。
|
||||
|
||||
## 项目内依赖
|
||||
| 依赖项 | 关系 | 源文件 |
|
||||
|
||||
Reference in New Issue
Block a user