跳转到内容

UBot Package Index Version

C++
FUBotPackageIndexVersion
模块
UBotCore · UBotCore 0.1.2
节点
Break · Make
头文件
Source/UBotCore/Public/UBotPackageTypes.h

Package 索引(格式 2)里 versions 列表的一项。

字段类型蓝图说明
VersionVersionString只读索引里写的语义化版本,例如 0.1.0。
RefRefString只读安装这个版本时检出的 git 标签、分支或提交。规划中的版本为空,这样的版本不能安装。
PlannedbPlannedBoolean只读已公布,但还不能安装。

拆分结构体 · Break:FUBotPackageIndexVersion

把索引里的一个版本拆成 Version、Ref 和 Planned。

引脚方向类型说明
UBot Package Index Version输入UBot Package Index Version结构体
Version输出StringSemantic version as written in the index, e.g. "0.1.0".
Ref输出StringGit tag, branch or commit id that is checked out to install this version. Empty for planned versions, and for an entry that (wrongly) lists none; such a version cannot be installed.
PlannedbPlanned输出BooleanTrue when the version is announced but not installable yet.

构造结构体 · Make:FUBotPackageIndexVersion

用各个字段拼出一个 UBot Package Index Version。

引脚方向类型
UBot Package Index Version输出UBot Package Index Version结构体