mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
Fix override annotations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "Transmogrification.h"
|
||||
#include "../../../src/server/game/Entities/Item/ItemTemplate.h"
|
||||
#include "ItemTemplate.h"
|
||||
|
||||
Transmogrification* Transmogrification::instance()
|
||||
{
|
||||
|
||||
@@ -539,7 +539,7 @@ public:
|
||||
{
|
||||
AddToDatabase(player, item->GetTemplate());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void OnPlayerCompleteQuest(Player* player, Quest const* quest) override
|
||||
{
|
||||
@@ -563,7 +563,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void OnAfterSetVisibleItemSlot(Player* player, uint8 slot, Item *item)
|
||||
void OnAfterSetVisibleItemSlot(Player* player, uint8 slot, Item *item) override
|
||||
{
|
||||
if (!item)
|
||||
return;
|
||||
@@ -574,12 +574,12 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void OnAfterMoveItemFromInventory(Player* /*player*/, Item* it, uint8 /*bag*/, uint8 /*slot*/, bool /*update*/)
|
||||
void OnAfterMoveItemFromInventory(Player* /*player*/, Item* it, uint8 /*bag*/, uint8 /*slot*/, bool /*update*/) override
|
||||
{
|
||||
sT->DeleteFakeFromDB(it->GetGUID().GetCounter());
|
||||
}
|
||||
|
||||
void OnLogin(Player* player)
|
||||
void OnLogin(Player* player) override
|
||||
{
|
||||
ObjectGuid playerGUID = player->GetGUID();
|
||||
sT->entryMap.erase(playerGUID);
|
||||
|
||||
Reference in New Issue
Block a user