载入中...
搜索中...
未找到
eve::container::SlotIndex类 参考
Explicit slot number; it never implicitly converts to an integer. 更多...
#include <Container.h>
Public 成员函数 | |
| constexpr | SlotIndex () noexcept=default |
| Constructs a SlotIndex. | |
| constexpr | SlotIndex (std::int32_t value) noexcept |
| Constructs a SlotIndex. | |
| constexpr bool | isValid () const noexcept |
| True when valid. | |
| constexpr std::int32_t | value () const noexcept |
| Value. | |
静态 Public 成员函数 | |
| static constexpr SlotIndex | invalid () noexcept |
| Invalid. | |
友元 | |
| constexpr bool | operator== (const SlotIndex &, const SlotIndex &) noexcept=default |
| Operator ==. | |
| constexpr auto | operator<=> (const SlotIndex &, const SlotIndex &) noexcept=default |
| Operator <=>. | |
详细描述
Explicit slot number; it never implicitly converts to an integer.
在文件 Container.h 第 117 行定义.
构造及析构函数说明
◆ SlotIndex() [1/2]
|
constexprdefaultnoexcept |
◆ SlotIndex() [2/2]
|
inlineexplicitconstexprnoexcept |
Constructs a SlotIndex.
在文件 Container.h 第 122 行定义.
成员函数说明
◆ invalid()
|
inlinestaticconstexprnoexcept |
Invalid.
在文件 Container.h 第 124 行定义.
引用了 SlotIndex().
被这些函数引用 eve::building::BuildingGarrisonContainerAdapter::enter(), eve::building::BuildingGarrisonContainerAdapter::exit() , 以及 eve::container::TransferService::transfer().
◆ isValid()
|
inlineconstexprnoexcept |
True when valid.
在文件 Container.h 第 126 行定义.
被这些函数引用 eve::building::BuildingGarrisonContainerAdapter::exit().
◆ value()
|
inlineconstexprnoexcept |
友元及相关函数文档
◆ operator<=>
◆ operator==
该类的文档由以下文件生成:
- src/engine/common/Container.h