aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/Loot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Loot/Loot.h')
-rw-r--r--src/server/game/Loot/Loot.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Loot/Loot.h b/src/server/game/Loot/Loot.h
index a966a4df4dd..3af9963aa06 100644
--- a/src/server/game/Loot/Loot.h
+++ b/src/server/game/Loot/Loot.h
@@ -186,6 +186,12 @@ struct TC_GAME_API LootItem
LootItem() : itemid(0), LootListId(0), randomBonusListId(0), context(ItemContext::NONE), count(0), is_looted(false), is_blocked(false),
freeforall(false), is_underthreshold(false), is_counted(false), needs_quest(false), follow_loot_rules(false) { }
+ LootItem(LootItem const&);
+ LootItem(LootItem&&) noexcept;
+ LootItem& operator=(LootItem const&);
+ LootItem& operator=(LootItem&&) noexcept;
+ ~LootItem();
+
// Basic checks for player/item compatibility - if false no chance to see the item in the loot
bool AllowedForPlayer(Player const* player, bool isGivenByMasterLooter = false) const;
void AddAllowedLooter(Player const* player);