![]() |
TrinityCore
|
#include <Transaction.h>
Public Member Functions | |
| TransactionCallback (std::future< bool > &&future) | |
| TransactionCallback (TransactionCallback &&)=default | |
| TransactionCallback & | operator= (TransactionCallback &&)=default |
| void | AfterComplete (std::function< void(bool)> callback) & |
| bool | InvokeIfReady () |
Public Attributes | |
| std::future< bool > | m_future |
| std::function< void(bool)> | m_callback |
Definition at line 106 of file Transaction.h.
|
inline |
Definition at line 109 of file Transaction.h.
|
default |
|
inline |
Definition at line 114 of file Transaction.h.
Referenced by WorldSession::HandleAuctionConfirmCommoditiesPurchase(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellCommodity(), WorldSession::HandleAuctionSellItem(), and Player::SetPetSlot().
| bool TransactionCallback::InvokeIfReady | ( | ) |
Definition at line 100 of file Transaction.cpp.
References m_callback, and m_future.
Referenced by InvokeAsyncCallbackIfReady().
|
default |
| std::function<void(bool)> TransactionCallback::m_callback |
Definition at line 122 of file Transaction.h.
Referenced by InvokeIfReady().
| std::future<bool> TransactionCallback::m_future |
Definition at line 121 of file Transaction.h.
Referenced by InvokeIfReady().