载入中...
搜索中...
未找到
类 | |
| class | AccountNonce |
| Opaque process-local identity of the account that issued a credential. 更多... | |
| struct | Affordability |
| Structured answer to a canAfford query. 更多... | |
| class | Amount |
| Non-negative integral quantity used by resource accounts. 更多... | |
| struct | CostInput |
| Convenient unvalidated input used by CostSpec::from(). 更多... | |
| class | CostSpec |
| Immutable canonical multi-resource cost. 更多... | |
| class | IResourceAccount |
| Provider-neutral resource account contract. 更多... | |
| struct | Receipt |
| Receipt proving one atomic debit or credit was applied. 更多... | |
| struct | Reservation |
| Reservation credential returned by a successful reserve operation. 更多... | |
| struct | ResourceCost |
| One positive resource and quantity pair in a canonical cost. 更多... | |
| class | ResourceId |
Strong identity of a resource kind, such as mana or gold. 更多... | |
| struct | ResourceShortfall |
| A resource missing from an affordability query. 更多... | |
类型定义 | |
| using | ReservationId = eve::detail::StrongUint64< eve::detail::ResourceReservationIdTag > |
| Process-local id of an active reservation. | |
| using | ReceiptId = eve::detail::StrongUint64< eve::detail::ResourceReceiptIdTag > |
| Process-local id of an applied resource operation. | |
枚举 | |
| enum class | ReceiptOperation : std::uint8_t { Debit , Credit } |
| Operation represented by a receipt returned from an account. 更多... | |
函数 | |
| eve::Result< AccountNonce > | allocateAccountNonce () |
| Allocate a process-local account identity for a credential issuer. | |
类型定义说明
◆ ReceiptId
| using eve::resource::ReceiptId = typedef eve::detail::StrongUint64<eve::detail::ResourceReceiptIdTag> |
Process-local id of an applied resource operation.
在文件 ResourceAccount.h 第 261 行定义.
◆ ReservationId
| using eve::resource::ReservationId = typedef eve::detail::StrongUint64<eve::detail::ResourceReservationIdTag> |
Process-local id of an active reservation.
在文件 ResourceAccount.h 第 227 行定义.
枚举类型说明
◆ ReceiptOperation
|
strong |
Operation represented by a receipt returned from an account.
| 枚举值 | |
|---|---|
| Debit | |
| Credit | |
在文件 ResourceAccount.h 第 221 行定义.
函数说明
◆ allocateAccountNonce()
| EVENGINE_API_FOUNDATION eve::Result< AccountNonce > eve::resource::allocateAccountNonce | ( | ) |
Allocate a process-local account identity for a credential issuer.
- 返回
- A non-zero nonce, or a failed Result after exhaustion.
- 备注
- The nonce is an opaque value and is not a pointer or persistent object identity. Each adapter instance must retain its own nonce.
在文件 ResourceAccount.cpp 第 27 行定义.
被这些函数引用 eve::attributes::AttributeSetResourceAccount::AttributeSetResourceAccount(), eve::economy::EconomyLedgerResourceAccount::EconomyLedgerResourceAccount() , 以及 eve::inventory::InventoryResourceAccount::InventoryResourceAccount().