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
## 功能概述
Full state and identity of a command endpoint. Contains EndpointGuid (FGuid, unique identity), InterestedTags (FGameplayTagContainer, subscription list), bIsActive, bIsContinuousFriendly, bIsAsynchronous flags. Custom operator= preserves GUID on copy while updating config fields. TStructOpsTypeTraits with WithCopy=true forces UE to use C++ copy path instead of memcpy.
命令端点的完整状态与身份标识。包含 EndpointGuidFGuid,唯一身份标识)、InterestedTagsFGameplayTagContainer,订阅列表)、bIsActivebIsContinuousFriendlybIsAsynchronous 标志位。自定义 operator= 在拷贝时保留 GUID同时更新配置字段。TStructOpsTypeTraits 设置 WithCopy=true 强制 UE 使用 C++ 拷贝路径而非 memcpy
## 设计用意
Solves endpoint identity problem in dynamic routing graph. Custom copy operator prevents CDO/Blueprint default overwriting of runtime-assigned GUID. Tag subscription model enables declarative routing (no hard references between producers/consumers).
解决动态路由图中的端点身份标识问题。自定义拷贝运算符可防止 CDO/蓝图默认值覆盖运行时分配的 GUID。基于标签的订阅模型实现声明式路由生产者与消费者之间无需硬引用
## 职责范围
Identity and configuration for one endpoint in the routing graph. GUID serves as registry key in UCommandRouter. Tags determine which commands the endpoint receives.
路由图中单个端点的身份标识与配置。GUID 在 UCommandRouter 中作为注册表键值。标签决定端点接收哪些命令。
## 项目内依赖
| 依赖项 | 关系 | 源文件 |