Show
Ignore:
Timestamp:
11/19/08 13:41:09 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix the compile error. Patch provided by Tidus.
Merge part of mangos svn rev 6748: Use SMSG_PET_NAME_INVALID opcode instead of db string. Source: Mangos.

Original author: megamage
Date: 2008-11-03 09:53:31-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/WorldSession.h

    r112 r152  
    3131struct ItemPrototype; 
    3232struct AuctionEntry; 
     33struct DeclinedName; 
    3334 
    3435class Creature; 
     
    8384        void SendNotification(const char *format,...) ATTR_PRINTF(2,3); 
    8485        void SendNotification(int32 string_id,...); 
     86        void SendPetNameInvalid(uint32 error, std::string name, DeclinedName *declinedName); 
    8587        void SendLfgResult(uint32 type, uint32 entry, uint8 lfg_type); 
    8688        void SendPartyResult(PartyOperation operation, std::string member, PartyResult res); 
     
    8991        uint32 GetSecurity() const { return _security; } 
    9092        uint32 GetAccountId() const { return _accountId; } 
    91         //std::string const& GetRemoteAddress() const { return m_remoteaddress; } 
    9293        Player* GetPlayer() const { return _player; } 
    9394        char const* GetPlayerName() const; 
     
    117118        void QueuePacket(WorldPacket* new_packet); 
    118119        bool Update(uint32 diff); 
    119          
     120 
    120121        /// Handle the authentication waiting queue (to be completed) 
    121122        void SendAuthWaitQue(uint32 position); 
     
    534535        void HandlePetUnlearnOpcode( WorldPacket& recvPacket ); 
    535536        void HandlePetSpellAutocastOpcode( WorldPacket& recvPacket ); 
    536         void HandleAddDynamicTargetObsoleteOpcode( WorldPacket& recvPacket ); 
     537        void HandlePetCastSpellOpcode( WorldPacket& recvPacket ); 
    537538 
    538539        void HandleSetActionBar(WorldPacket& recv_data);