Optional cross-domain operations that belong to one card play. 更多...
#include <CardPlay.h>
Public 属性 | |
| CardPlayConditionQueries | conditionQueries |
| eve::container::IContainer * | source = nullptr |
| eve::container::IContainer * | destination = nullptr |
| std::optional< eve::container::SlotIndex > | sourceSlot |
| std::optional< eve::container::SlotIndex > | destinationSlot |
| eve::transaction::ITransactionParticipant * | effect = nullptr |
| std::optional< eve::resource::CostSpec > | paymentCost |
| Optional owning ruleset cost replacing definition Mana; empty uses Mana. | |
| std::vector< eve::transaction::ITransactionParticipant * > | additionalEffects |
| Additional borrowed effects committed after effect in listed order. | |
详细描述
Optional cross-domain operations that belong to one card play.
The source and destination containers are borrowed and must be distinct. The transfer is staged through their public container contracts and is committed by the same Coordinator as card state, effect and Mana. The supplied effect is optional for cards whose only observable effect is the card state transition.
在文件 CardPlay.h 第 144 行定义.
类成员变量说明
◆ additionalEffects
| std::vector<eve::transaction::ITransactionParticipant*> eve::card::CardPlayComposition::additionalEffects |
Additional borrowed effects committed after effect in listed order.
- 备注
- Participants must be unique, non-null and live for the synchronous owner-thread call. Callbacks must not reenter play on the same card/account.
在文件 CardPlay.h 第 162 行定义.
◆ conditionQueries
| CardPlayConditionQueries eve::card::CardPlayComposition::conditionQueries |
在文件 CardPlay.h 第 145 行定义.
◆ destination
| eve::container::IContainer* eve::card::CardPlayComposition::destination = nullptr |
在文件 CardPlay.h 第 147 行定义.
◆ destinationSlot
| std::optional<eve::container::SlotIndex> eve::card::CardPlayComposition::destinationSlot |
在文件 CardPlay.h 第 149 行定义.
◆ effect
| eve::transaction::ITransactionParticipant* eve::card::CardPlayComposition::effect = nullptr |
在文件 CardPlay.h 第 150 行定义.
◆ paymentCost
| std::optional<eve::resource::CostSpec> eve::card::CardPlayComposition::paymentCost |
Optional owning ruleset cost replacing definition Mana; empty uses Mana.
- 备注
- An engaged invalid CostSpec is rejected, never treated as free. This is a per-play input and does not change the registered definition.
在文件 CardPlay.h 第 156 行定义.
◆ source
| eve::container::IContainer* eve::card::CardPlayComposition::source = nullptr |
在文件 CardPlay.h 第 146 行定义.
◆ sourceSlot
| std::optional<eve::container::SlotIndex> eve::card::CardPlayComposition::sourceSlot |
在文件 CardPlay.h 第 148 行定义.
该结构体的文档由以下文件生成:
- src/modules/card/CardPlay.h