载入中...
搜索中...
未找到
eve::dialogue::DialogueAccountBindings结构体 参考

Borrowed account bindings used by one DialogueFlow integration. 更多...

#include <DialoguePayment.h>

Public 属性

eve::resource::IResourceAccount * money = nullptr
 Borrowed authoritative account for money.
 
eve::resource::IResourceAccount * reputation = nullptr
 Borrowed authoritative account for reputation.
 
std::string moneyResource = "gold"
 ResourceId used inside the money account.
 
std::string reputationResource = "reputation"
 ResourceId used inside the reputation account.
 

详细描述

Borrowed account bindings used by one DialogueFlow integration.

money and reputation are normally instances of EconomyLedgerResourceAccount and AttributeSetResourceAccount. The Dialogue module never stores a second balance or casts these pointers back to a concrete implementation. All operations are synchronous and must be called on the owner thread while the adapters remain alive.

在文件 DialoguePayment.h 第 61 行定义.

类成员变量说明

◆ money

eve::resource::IResourceAccount* eve::dialogue::DialogueAccountBindings::money = nullptr

Borrowed authoritative account for money.

在文件 DialoguePayment.h 第 63 行定义.

◆ moneyResource

std::string eve::dialogue::DialogueAccountBindings::moneyResource = "gold"

ResourceId used inside the money account.

在文件 DialoguePayment.h 第 67 行定义.

◆ reputation

eve::resource::IResourceAccount* eve::dialogue::DialogueAccountBindings::reputation = nullptr

Borrowed authoritative account for reputation.

在文件 DialoguePayment.h 第 65 行定义.

◆ reputationResource

std::string eve::dialogue::DialogueAccountBindings::reputationResource = "reputation"

ResourceId used inside the reputation account.

在文件 DialoguePayment.h 第 69 行定义.


该结构体的文档由以下文件生成: