mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 06:29:50 -04:00
Core: Updated to 10.0.5
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user