![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "DatabaseEnvFwd.h"#include "ObjectGuid.h"#include <optional>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | RecoveryItem |
Namespaces | |
| namespace | ItemRecovery |
Typedefs | |
| using | RecoveryItemLoot = std::vector< std::pair< uint32, uint32 > > |
Enumerations | |
| enum | RecoveryItemSource : uint8 { RECOVERY_ITEM_SOURCE_DESTROYED = 0 , RECOVERY_ITEM_SOURCE_VENDORED = 1 , RECOVERY_ITEM_SOURCE_DISENCHANTED = 2 } |
Functions | |
| bool | ItemRecovery::Save (Item const *item, uint32 count, RecoveryItemSource source, uint32 money=0, RecoveryItemLoot const &loot={ }) |
| std::optional< RecoveryItem > | ItemRecovery::Load (uint32 recoveryId) |
| bool | ItemRecovery::Restore (RecoveryItem const &recovery, Player *owner) |
| void | ItemRecovery::DeleteFromDB (CharacterDatabaseTransaction trans, uint32 recoveryId) |
| bool | ItemRecovery::IsInBuyback (Player *player, RecoveryItem const &recovery) |
| using RecoveryItemLoot = std::vector<std::pair<uint32 , uint32 > > |
| enum RecoveryItemSource : uint8 |
| Enumerator | |
|---|---|
| RECOVERY_ITEM_SOURCE_DESTROYED | |
| RECOVERY_ITEM_SOURCE_VENDORED | |
| RECOVERY_ITEM_SOURCE_DISENCHANTED | |