TrinityCore
BankPackets.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
* more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#include "
BankPackets.h
"
19
20
void
WorldPackets::Bank::AutoBankItem::Read
()
21
{
22
_worldPacket
>>
Inv
23
>>
Bag
24
>>
Slot
;
25
}
26
27
void
WorldPackets::Bank::AutoStoreBankItem::Read
()
28
{
29
_worldPacket >> Inv
30
>>
Bag
31
>> Slot;
32
}
33
34
void
WorldPackets::Bank::BuyBankSlot::Read
()
35
{
36
_worldPacket >> Guid;
37
}
38
39
void
WorldPackets::Bank::AutoBankReagent::Read
()
40
{
41
_worldPacket >> Inv;
42
_worldPacket >> PackSlot;
43
_worldPacket >> Slot;
44
}
45
46
void
WorldPackets::Bank::AutoStoreBankReagent::Read
()
47
{
48
_worldPacket >> Inv;
49
_worldPacket >> Slot;
50
_worldPacket >> PackSlot;
51
}
52
53
void
WorldPackets::Bank::ReagentBank::Read
()
54
{
55
_worldPacket >>
Banker
;
56
}
BankPackets.h
PlayerInteractionType::Banker
@ Banker
Bag
Definition:
Bag.h:27
WorldPackets::Bank::AutoBankItem::Inv
WorldPackets::Item::InvUpdate Inv
Definition:
BankPackets.h:36
WorldPackets::Bank::AutoBankItem::Read
void Read() override
Definition:
BankPackets.cpp:20
WorldPackets::Bank::AutoBankItem::Slot
uint8 Slot
Definition:
BankPackets.h:38
WorldPackets::Bank::AutoBankReagent::Read
void Read() override
Definition:
BankPackets.cpp:39
WorldPackets::Bank::AutoStoreBankItem::Read
void Read() override
Definition:
BankPackets.cpp:27
WorldPackets::Bank::AutoStoreBankReagent::Read
void Read() override
Definition:
BankPackets.cpp:46
WorldPackets::Bank::BuyBankSlot::Read
void Read() override
Definition:
BankPackets.cpp:34
WorldPackets::Bank::ReagentBank::Read
void Read() override
Definition:
BankPackets.cpp:53
WorldPackets::Packet::_worldPacket
WorldPacket _worldPacket
Definition:
Packet.h:43
server
game
Server
Packets
BankPackets.cpp
Generated on Thu Mar 14 2024 23:39:18 for TrinityCore by
1.9.4