Core: Updated to 10.0.5

This commit is contained in:
Shauren
2023-01-28 01:53:26 +01:00
parent 1bb9ba4574
commit 4bec7233ba
41 changed files with 1969 additions and 1517 deletions
@@ -0,0 +1,38 @@
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "PerksProgramPacketsCommon.h"
namespace WorldPackets::PerksProgram
{
ByteBuffer& operator<<(ByteBuffer& data, PerksVendorItem const& perksVendorItem)
{
data << int32(perksVendorItem.VendorItemID);
data << int32(perksVendorItem.MountID);
data << int32(perksVendorItem.BattlePetSpeciesID);
data << int32(perksVendorItem.TransmogSetID);
data << int32(perksVendorItem.ItemModifiedAppearanceID);
data << int32(perksVendorItem.Field_14);
data << int32(perksVendorItem.Field_18);
data << int32(perksVendorItem.Price);
data << perksVendorItem.AvailableUntil;
data.WriteBit(perksVendorItem.Disabled);
data.FlushBits();
return data;
}
}