载入中...
搜索中...
未找到
eve::inventory::InventoryContainerAdapter::PreparedState类 参考final
类 eve::inventory::InventoryContainerAdapter::PreparedState 继承关系图:
eve::container::IContainer::PreparedState

Public 成员函数

 PreparedState (InventoryContainerAdapter &owner, std::vector< ItemStack > staged, eve::Revision revision)
 
void commit () noexcept override
 Publish the staged state; the operation is non-throwing.
 
void rollback () noexcept override
 Abandon an unpublished stage; the operation is non-throwing.
 
- Public 成员函数 继承自 eve::container::IContainer::PreparedState
virtual ~PreparedState ()=default
 Releases PreparedState resources.
 

详细描述

在文件 ContainerAdapters.cpp 第 48 行定义.

构造及析构函数说明

◆ PreparedState()

eve::inventory::InventoryContainerAdapter::PreparedState::PreparedState ( InventoryContainerAdapter &  owner,
std::vector< ItemStack >  staged,
eve::Revision  revision 
)
inline

在文件 ContainerAdapters.cpp 第 50 行定义.

成员函数说明

◆ commit()

void eve::inventory::InventoryContainerAdapter::PreparedState::commit ( )
inlineoverridevirtualnoexcept

Publish the staged state; the operation is non-throwing.

实现了 eve::container::IContainer::PreparedState.

在文件 ContainerAdapters.cpp 第 53 行定义.

引用了 eve::inventory::Bag, index , 以及 eve::inventory::Bag::slots().

◆ rollback()

void eve::inventory::InventoryContainerAdapter::PreparedState::rollback ( )
inlineoverridevirtualnoexcept

Abandon an unpublished stage; the operation is non-throwing.

实现了 eve::container::IContainer::PreparedState.

在文件 ContainerAdapters.cpp 第 70 行定义.


该类的文档由以下文件生成: