案件编写
5 个节点
本页内容 5
检查案件
函数Everything wrong with the case, worst first, one line each.
签名
检查案件(案件: CrimeProject) -> 文本数组
string[] CheckCase(CrimeProject crimeCase)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 案件 | CrimeProject | — | A case, from CaseAuthoring.OpenCase. |
返回
| 结果 | 文本数组 |
备注
Lines rather than an exception, because a case under construction is normally invalid and a node that threw would make the ordinary state of the work unrepresentable in a graph. An empty list is a case with nothing to say about it.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 案件编写
- 所属包
- 罪案引擎
描述案件
函数What the case contains, counted.
签名
描述案件(案件: CrimeProject) -> Case Summary
CaseSummary DescribeCase(CrimeProject crimeCase)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 案件 | CrimeProject | — | A case, from CaseAuthoring.OpenCase. |
返回
| 结果 | Case Summary |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 案件编写
- 所属包
- 罪案引擎
打开案件
函数Opens a case, from a project folder or from a published pack.
签名
打开案件(案件文件夹或包: 文本) -> CrimeProject
CrimeProject OpenCase(string caseFolderOrPack)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 案件文件夹或包 | 文本 | — | A project folder, or a .cepack file. |
返回
| 结果 | CrimeProject |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 案件编写
- 所属包
- 罪案引擎
发布案件
函数Publishes a case folder as one distributable .cepack file.
签名
发布案件(案件文件夹: 文本, 包路径: 文本) -> 文本
string PublishCase(string caseFolder, string packPath = "")
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 案件文件夹 | 文本 | — | The project folder. A pack cannot be published from a pack. |
| 包路径 | 文本 | — | Where to write it, or empty to put it beside the folder under the case's own name. |
返回
| 结果 | 文本 |
备注
Refuses a case with errors in it, which is Projects.CasePackPublisher's rule rather than this layer's: a pack that cannot be played is worse than no pack, because it looks like a release.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 案件编写
- 所属包
- 罪案引擎
验证包
函数Checks a published pack against the folder it came from, and says what differs.
签名
验证包(案件文件夹: 文本, 包路径: 文本) -> 文本
string VerifyPack(string caseFolder, string packPath)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 案件文件夹 | 文本 | — | The project folder. |
| 包路径 | 文本 | — | The pack to check. |
返回
| 结果 | 文本 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 案件编写
- 所属包
- 罪案引擎