Caller-owned Pcg publication configuration and ordered build history. 更多...
#include <PcgBuildConfig.h>
Public 成员函数 | |
| Result< void > | setPublicationType (int type) |
| Set publication type, where 0 is Addressables and 1 is RegularBuild. | |
| int | getPublicationType () const noexcept |
| Return publication type. | |
| Result< void > | addHistory (int category, const std::string &sceneName, int64_t timestamp) |
| Append one ordered build history entry. | |
| void | clearHistory () noexcept |
| Clear all history entries. | |
| uint64_t | getHistoryCount () const noexcept |
| Return history entry count. | |
| Result< int > | getHistoryCategory (uint64_t index) const |
| Return category at index. | |
| Result< std::string > | getHistorySceneName (uint64_t index) const |
| Return scene name at index. | |
| Result< int64_t > | getHistoryTimestamp (uint64_t index) const |
| Return Unix timestamp at index. | |
详细描述
Caller-owned Pcg publication configuration and ordered build history.
在文件 PcgBuildConfig.h 第 17 行定义.
成员函数说明
◆ addHistory()
| Result< void > eve::scene::PcgBuildConfig::addHistory | ( | int | category, |
| const std::string & | sceneName, | ||
| int64_t | timestamp | ||
| ) |
Append one ordered build history entry.
在文件 PcgBuildConfig.cpp 第 6 行定义.
引用了 category, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument , 以及 eve::Result< T >::success().
◆ clearHistory()
|
inlinenoexcept |
Clear all history entries.
在文件 PcgBuildConfig.h 第 22 行定义.
◆ getHistoryCategory()
| Result< int > eve::scene::PcgBuildConfig::getHistoryCategory | ( | uint64_t | index | ) | const |
Return category at index.
在文件 PcgBuildConfig.cpp 第 7 行定义.
引用了 category, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument , 以及 eve::Result< T >::success().
◆ getHistoryCount()
|
inlinenoexcept |
Return history entry count.
在文件 PcgBuildConfig.h 第 23 行定义.
◆ getHistorySceneName()
| Result< std::string > eve::scene::PcgBuildConfig::getHistorySceneName | ( | uint64_t | index | ) | const |
Return scene name at index.
在文件 PcgBuildConfig.cpp 第 8 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument , 以及 eve::Result< T >::success().
◆ getHistoryTimestamp()
| Result< int64_t > eve::scene::PcgBuildConfig::getHistoryTimestamp | ( | uint64_t | index | ) | const |
Return Unix timestamp at index.
在文件 PcgBuildConfig.cpp 第 9 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument , 以及 eve::Result< T >::success().
◆ getPublicationType()
|
inlinenoexcept |
Return publication type.
在文件 PcgBuildConfig.h 第 20 行定义.
◆ setPublicationType()
| Result< void > eve::scene::PcgBuildConfig::setPublicationType | ( | int | type | ) |
Set publication type, where 0 is Addressables and 1 is RegularBuild.
在文件 PcgBuildConfig.cpp 第 5 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, eve::Result< T >::success() , 以及 type.
该类的文档由以下文件生成:
- src/modules/scene/PcgBuildConfig.h
- src/modules/scene/PcgBuildConfig.cpp