Files
loneseDocument/Content/Data/_relationships.md
meishibiezb a8bdf281ff update
2026-06-05 03:01:15 +08:00

38 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Content/Data 依赖关系
## 文件间引用关系
Content/Data 模块包含 5 个数据资产,均为独立的数据定义/配置,**模块内无文件间引用**。
| 源文件 | 引用方式 | 目标文件 | 目标单位 |
|--------|---------|---------|---------|
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_CameraMoveAction | IA_CameraMoveAction |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_CameraResetAction | IA_CameraResetAction |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_CameraRotateAction | IA_CameraRotateAction |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_CameraZoomAction | IA_CameraZoomAction |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_MoveAction | IA_MoveAction |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_SayHello | IA_SayHello |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_Hint | IA_Hint |
| DA_InputCommands | 引用 | /Game/Inputs/IA/IA_Inventory | IA_Inventory |
| DA_InputCommands | 引用 | /Game/Inputs/IMC/IMC_Context | IMC_Context |
**说明:** DA_InputCommands 的所有引用均指向 /Game/Inputs/ 下的输入资产,属于跨模块引用。其余 4 个数据资产NewGraph、TestDialog、TestDialogMap、TestItemDefTable不引用模块内或其他模块的资产它们是纯粹的数据文件。
## 关键依赖链
**模块结构:**
```
Content/Data/
├── DA_InputCommands — 输入命令配置(引用 InputAction / IMC
├── NewGraph — 对话图数据Dialog 系统数据源)
├── TestDialog — 对话测试数据表
├── TestDialogMap — 对话映射数据表
└── TestItemDefTable — 物品定义测试数据表Content/Data/Item 子模块)
```
**输入配置流:** DA_InputCommands → UEnhancedInputLocalPlayerSubsystem → BP_TestCtl 消费
**对话数据流:** NewGraph / TestDialog / TestDialogMap → UDialogPresentationSubsystem → WBP_TestUI 展示
**物品数据流:** TestItemDefTable → UItemRegistrySubsystem → BP_InventoryComp 加载物品定义