Changeset 283 for trunk/src/game/BattleGround.h
- Timestamp:
- 11/22/08 01:55:16 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/BattleGround.h
r279 r283 355 355 void StartBattleGround(); 356 356 357 GameObject* GetBGObject(uint32 type); 358 Creature* GetBGCreature(uint32 type); 357 359 /* Location */ 358 360 void SetMapId(uint32 MapID) { m_MapId = MapID; } … … 374 376 void SendPacketToTeam(uint32 TeamID, WorldPacket *packet, Player *sender = NULL, bool self = true); 375 377 void SendPacketToAll(WorldPacket *packet); 378 void YellToAll(Creature* creature, const char* text, uint32 language); 376 379 void PlaySoundToTeam(uint32 SoundID, uint32 TeamID); 377 380 void PlaySoundToAll(uint32 SoundID); … … 424 427 // must be implemented in BG subclass if need AND call base class generic code 425 428 virtual void HandleKillPlayer(Player *player, Player *killer); 429 virtual void HandleKillUnit(Creature* /*unit*/, Player* /*killer*/); 426 430 427 431 /* Battleground events */ … … 453 457 bool DelObject(uint32 type); 454 458 bool AddSpiritGuide(uint32 type, float x, float y, float z, float o, uint32 team); 459 int32 GetObjectType(uint64 guid); 455 460 456 461 void DoorOpen(uint32 type);