*Implement SPELL_EFFECT_DISCOVER_TAXI(154).
--HG-- branch : trunk
This commit is contained in:
@@ -157,6 +157,15 @@ bool WorldSession::SendLearnNewTaxiNode(Creature* unit)
|
||||
return false;
|
||||
}
|
||||
|
||||
void WorldSession::SendDiscoverNewTaxiNode(uint32 nodeid)
|
||||
{
|
||||
if (GetPlayer()->m_taxi.SetTaximaskNode(nodeid))
|
||||
{
|
||||
WorldPacket msg(SMSG_NEW_TAXI_PATH, 0);
|
||||
SendPacket(&msg);
|
||||
}
|
||||
}
|
||||
|
||||
void WorldSession::HandleActivateTaxiExpressOpcode (WorldPacket & recv_data)
|
||||
{
|
||||
sLog.outDebug("WORLD: Received CMSG_ACTIVATETAXIEXPRESS");
|
||||
|
||||
@@ -256,6 +256,7 @@ class WorldSession
|
||||
void SendTaxiMenu(Creature* unit);
|
||||
void SendDoFlight(uint32 mountDisplayId, uint32 path, uint32 pathNode = 0);
|
||||
bool SendLearnNewTaxiNode(Creature* unit);
|
||||
void SendDiscoverNewTaxiNode(uint32 nodeid);
|
||||
|
||||
// Guild/Arena Team
|
||||
void SendGuildCommandResult(uint32 typecmd, const std::string& str, uint32 cmdresult);
|
||||
|
||||
Reference in New Issue
Block a user