mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[12080] Use a single method to send SMSG_ACTIVATETAXIREPLY
Signed-off-by: stfx <stfx@hotmail.de>
This commit is contained in:
parent
c69759a38d
commit
bb91aa5933
6 changed files with 41 additions and 52 deletions
|
|
@ -150,6 +150,15 @@ bool WorldSession::SendLearnNewTaxiNode(Creature* unit)
|
|||
return false;
|
||||
}
|
||||
|
||||
void WorldSession::SendActivateTaxiReply(ActivateTaxiReply reply)
|
||||
{
|
||||
WorldPacket data(SMSG_ACTIVATETAXIREPLY, 4);
|
||||
data << uint32(reply);
|
||||
SendPacket(&data);
|
||||
|
||||
DEBUG_LOG("WORLD: Sent SMSG_ACTIVATETAXIREPLY");
|
||||
}
|
||||
|
||||
void WorldSession::HandleActivateTaxiExpressOpcode(WorldPacket& recv_data)
|
||||
{
|
||||
DEBUG_LOG("WORLD: Received CMSG_ACTIVATETAXIEXPRESS");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue