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

48 lines
1.3 KiB
Markdown
Raw Permalink 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.
# TestDialog
## 基本信息
- **类型**: DataTable
- **父类**: —
- **源文件**: /Game/Data/TestDialog.TestDialog
- **模块**: Content/Data
## 功能概述
测试对话数据表,用于存储对话框系统的测试数据。结构未知,作为 Dialog 系统的数据输入。
## 设计用意
Dialog 系统的测试数据,用于验证对话数据的加载和解析流程。
## 职责范围
- 存储测试用对话条目数据
- 供 Dialog 系统读取和解析
## 项目内依赖
| 依赖项 | 关系 | 源文件 |
|--------|------|--------|
| (无) | — | — |
## 外部视角
TestDialog 是 DataTable 数据资产,从外部调用者视角:
**公开数据**
- 包含测试用对话条目数据行
- 行结构由 Dialog 插件定义的 DataTable 类型决定
**外部交互方式**
- DialogTest 关卡中引用该数据表,由 Dialog 系统加载并解析
- 外部通过 DataTable 引用读取数据行
- 不提供函数调用接口
## 使用方法
TestDialog 在项目中的使用方式:
- **DialogTest 关卡**`/Game/地图关卡/DialogTest`)— 引用该 DataTable作为对话数据的来源
## 用例
| 引用方 | 路径 | 用途 |
|--------|------|------|
| DialogTest | `/Game/地图关卡/DialogTest` | 加载对话测试数据,驱动对话演示 |