@@ -1046,14 +1046,14 @@ class PS_Transmogrification : public PlayerScript
10461046public:
10471047 PS_Transmogrification () : PlayerScript(" Player_Transmogrify" ) { }
10481048
1049- void OnEquip (Player* player, Item* it, uint8 /* bag*/ , uint8 /* slot*/ , bool /* update*/ ) override
1049+ void OnPlayerEquip (Player* player, Item* it, uint8 /* bag*/ , uint8 /* slot*/ , bool /* update*/ ) override
10501050 {
10511051 if (!sT ->GetUseCollectionSystem ())
10521052 return ;
10531053 AddToDatabase (player, it);
10541054 }
10551055
1056- void OnLootItem (Player* player, Item* item, uint32 /* count*/ , ObjectGuid /* lootguid*/ ) override
1056+ void OnPlayerLootItem (Player* player, Item* item, uint32 /* count*/ , ObjectGuid /* lootguid*/ ) override
10571057 {
10581058 if (!sT ->GetUseCollectionSystem () || !item || typeid (*item) != typeid (Item))
10591059 return ;
@@ -1063,7 +1063,7 @@ class PS_Transmogrification : public PlayerScript
10631063 }
10641064 }
10651065
1066- void OnCreateItem (Player* player, Item* item, uint32 /* count*/ ) override
1066+ void OnPlayerCreateItem (Player* player, Item* item, uint32 /* count*/ ) override
10671067 {
10681068 if (!sT ->GetUseCollectionSystem ())
10691069 return ;
@@ -1073,7 +1073,7 @@ class PS_Transmogrification : public PlayerScript
10731073 }
10741074 }
10751075
1076- void OnAfterStoreOrEquipNewItem (Player* player, uint32 /* vendorslot*/ , Item* item, uint8 /* count*/ , uint8 /* bag*/ , uint8 /* slot*/ , ItemTemplate const * /* pProto*/ , Creature* /* pVendor*/ , VendorItem const * /* crItem*/ , bool /* bStore*/ ) override
1076+ void OnPlayerAfterStoreOrEquipNewItem (Player* player, uint32 /* vendorslot*/ , Item* item, uint8 /* count*/ , uint8 /* bag*/ , uint8 /* slot*/ , ItemTemplate const * /* pProto*/ , Creature* /* pVendor*/ , VendorItem const * /* crItem*/ , bool /* bStore*/ ) override
10771077 {
10781078 if (!sT ->GetUseCollectionSystem ())
10791079 return ;
@@ -1106,7 +1106,7 @@ class PS_Transmogrification : public PlayerScript
11061106 }
11071107 }
11081108
1109- void OnAfterSetVisibleItemSlot (Player* player, uint8 slot, Item *item) override
1109+ void OnPlayerAfterSetVisibleItemSlot (Player* player, uint8 slot, Item *item) override
11101110 {
11111111 if (!item)
11121112 return ;
@@ -1117,12 +1117,12 @@ class PS_Transmogrification : public PlayerScript
11171117 }
11181118 }
11191119
1120- void OnAfterMoveItemFromInventory (Player* /* player*/ , Item* it, uint8 /* bag*/ , uint8 /* slot*/ , bool /* update*/ ) override
1120+ void OnPlayerAfterMoveItemFromInventory (Player* /* player*/ , Item* it, uint8 /* bag*/ , uint8 /* slot*/ , bool /* update*/ ) override
11211121 {
11221122 sT ->DeleteFakeFromDB (it->GetGUID ().GetCounter ());
11231123 }
11241124
1125- void OnLogin (Player* player) override
1125+ void OnPlayerLogin (Player* player) override
11261126 {
11271127 if (sT ->EnableResetRetroActiveAppearances ())
11281128 player->UpdatePlayerSetting (" mod-transmog" , SETTING_RETROACTIVE_CHECK, 0 );
@@ -1170,7 +1170,7 @@ class PS_Transmogrification : public PlayerScript
11701170#endif
11711171 }
11721172
1173- void OnLogout (Player* player) override
1173+ void OnPlayerLogout (Player* player) override
11741174 {
11751175 ObjectGuid pGUID = player->GetGUID ();
11761176 for (Transmogrification::transmog2Data::const_iterator it = sT ->entryMap [pGUID].begin (); it != sT ->entryMap [pGUID].end (); ++it)
@@ -1184,7 +1184,7 @@ class PS_Transmogrification : public PlayerScript
11841184#endif
11851185 }
11861186
1187- void OnBeforeBuyItemFromVendor (Player* player, ObjectGuid vendorguid, uint32 /* vendorslot*/ , uint32& itemEntry, uint8 /* count*/ , uint8 /* bag*/ , uint8 /* slot*/ ) override
1187+ void OnPlayerBeforeBuyItemFromVendor (Player* player, ObjectGuid vendorguid, uint32 /* vendorslot*/ , uint32& itemEntry, uint8 /* count*/ , uint8 /* bag*/ , uint8 /* slot*/ ) override
11881188 {
11891189 Creature* vendor = player->GetMap ()->GetCreature (vendorguid);
11901190 if (!vendor)
0 commit comments