Show
Ignore:
Timestamp:
11/22/08 01:55:16 (17 years ago)
Author:
yumileroy
Message:

*Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk.

Original author: megamage
Date: 2008-11-21 19:45:49-06:00

Files:
1 modified

Legend:

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

    r279 r283  
    355355        void StartBattleGround(); 
    356356 
     357        GameObject* GetBGObject(uint32 type); 
     358        Creature* GetBGCreature(uint32 type); 
    357359        /* Location */ 
    358360        void SetMapId(uint32 MapID) { m_MapId = MapID; } 
     
    374376        void SendPacketToTeam(uint32 TeamID, WorldPacket *packet, Player *sender = NULL, bool self = true); 
    375377        void SendPacketToAll(WorldPacket *packet); 
     378        void YellToAll(Creature* creature, const char* text, uint32 language); 
    376379        void PlaySoundToTeam(uint32 SoundID, uint32 TeamID); 
    377380        void PlaySoundToAll(uint32 SoundID); 
     
    424427        // must be implemented in BG subclass if need AND call base class generic code 
    425428        virtual void HandleKillPlayer(Player *player, Player *killer); 
     429        virtual void HandleKillUnit(Creature* /*unit*/, Player* /*killer*/); 
    426430 
    427431        /* Battleground events */ 
     
    453457        bool DelObject(uint32 type); 
    454458        bool AddSpiritGuide(uint32 type, float x, float y, float z, float o, uint32 team); 
     459        int32 GetObjectType(uint64 guid); 
    455460 
    456461        void DoorOpen(uint32 type);