载入中...
搜索中...
未找到
eve::resource::Receipt结构体 参考
Receipt proving one atomic debit or credit was applied. 更多...
#include <ResourceAccount.h>
Public 成员函数 | |
| bool | isValid () const noexcept |
| Whether this receipt contains a valid operation identity. | |
Public 属性 | |
| AccountNonce | account |
| ReceiptId | id |
| ReservationId | reservation |
| ReceiptOperation | operation = ReceiptOperation::Debit |
| CostSpec | cost |
详细描述
Receipt proving one atomic debit or credit was applied.
reservation is non-zero only for a committed reservation; direct debit and credit operations use the zero reservation id.
在文件 ResourceAccount.h 第 294 行定义.
成员函数说明
◆ isValid()
|
inlinenoexcept |
Whether this receipt contains a valid operation identity.
在文件 ResourceAccount.h 第 302 行定义.
引用了 account, cost, eve::resource::CostSpec::isValid() , 以及 eve::resource::AccountNonce::value().
类成员变量说明
◆ account
| AccountNonce eve::resource::Receipt::account |
在文件 ResourceAccount.h 第 295 行定义.
被这些函数引用 isValid().
◆ cost
| CostSpec eve::resource::Receipt::cost |
在文件 ResourceAccount.h 第 299 行定义.
被这些函数引用 isValid().
◆ id
| ReceiptId eve::resource::Receipt::id |
在文件 ResourceAccount.h 第 296 行定义.
◆ operation
| ReceiptOperation eve::resource::Receipt::operation = ReceiptOperation::Debit |
在文件 ResourceAccount.h 第 298 行定义.
◆ reservation
| ReservationId eve::resource::Receipt::reservation |
在文件 ResourceAccount.h 第 297 行定义.
该结构体的文档由以下文件生成:
- src/engine/common/ResourceAccount.h