|
| | ~BattlefieldTB () |
| |
| void | OnStartGrouping () override |
| | Called x minutes before battle start when player in zone are invite to join queue.
|
| |
| void | OnBattleStart () override |
| | Called on start.
|
| |
| void | OnBattleEnd (bool endByTimer) override |
| | Called at the end of battle.
|
| |
| void | OnPlayerEnterZone (Player *player) override |
| | Called when a player enter in battlefield zone.
|
| |
| void | OnPlayerLeaveZone (Player *player) override |
| | Called when a player leave battlefield zone.
|
| |
| void | OnPlayerJoinWar (Player *player) override |
| | Called when a player accept to join the battle.
|
| |
| void | OnPlayerLeaveWar (Player *player) override |
| | Called when a player leave the battle.
|
| |
| bool | Update (uint32 diff) override |
| | Called every time for update bf data and time.
|
| |
| void | OnCreatureCreate (Creature *creature) override |
| |
| void | OnGameObjectCreate (GameObject *go) override |
| |
| void | UpdateCapturedBaseCount () |
| |
| bool | SetupBattlefield () override |
| | Call this to init the Battlefield.
|
| |
| void | HandleKill (Player *killer, Unit *victim) override |
| | Called when a Unit is kill in battlefield zone.
|
| |
| void | PromotePlayer (Player *killer) |
| |
| void | RemoveAurasFromPlayer (Player *player) |
| |
| void | ProcessEvent (WorldObject *obj, uint32 eventId, WorldObject *invoker) override |
| |
| void | TowerDamaged (TBTowerId tbTowerId) |
| |
| void | TowerDestroyed (TBTowerId tbTowerId) |
| |
| void | UpdateNPCsAndGameObjects () |
| |
| void | CreateCapturePoints () |
| |
| | Battlefield (Map *map) |
| | Constructor.
|
| |
| | Battlefield (Battlefield const &right)=delete |
| |
| | Battlefield (Battlefield &&right)=delete |
| |
| | Battlefield (Map *map) |
| | Constructor.
|
| |
| | Battlefield (Battlefield const &right)=delete |
| |
| | Battlefield (Battlefield &&right)=delete |
| |
| Battlefield & | operator= (Battlefield const &right)=delete |
| |
| Battlefield & | operator= (Battlefield &&right)=delete |
| |
| virtual | ~Battlefield () |
| | Destructor.
|
| |
| void | InvitePlayersInZoneToQueue () |
| | Invite all players in zone to join the queue, called x minutes before battle start in Update()
|
| |
| void | InvitePlayersInQueueToWar () |
| | Invite all players in queue to join battle on battle start.
|
| |
| void | InvitePlayersInZoneToWar () |
| | Invite all players in zone to join battle on battle start.
|
| |
| uint32 | GetTypeId () const |
| |
| uint32 | GetZoneId () const |
| |
| uint32 | GetMapId () const |
| |
| Map * | GetMap () const |
| |
| uint64 | GetQueueId () const |
| |
| void | TeamApplyBuff (TeamId team, uint32 spellId, uint32 spellId2=0) |
| |
| bool | IsWarTime () const |
| | Return true if battle is start, false if battle is not started.
|
| |
| int8 | GetState () const |
| |
| void | ToggleBattlefield (bool enable) |
| | Enable or Disable battlefield.
|
| |
| bool | IsEnabled () const |
| | Return if battlefield is enable.
|
| |
| void | KickPlayerFromBattlefield (ObjectGuid guid) |
| | Kick player from battlefield and teleport him to kick-point location.
|
| |
| void | HandlePlayerEnterZone (Player *player, uint32 zone) |
| | Called when player (player) enter in zone.
|
| |
| void | HandlePlayerLeaveZone (Player *player, uint32 zone) |
| | Called when player (player) leave the zone.
|
| |
| virtual uint64 | GetData64 (uint32 dataId) const override |
| |
| virtual void | SetData64 (uint32 dataId, uint64 value) override |
| |
| virtual uint32 | GetData (uint32 dataId) const override |
| |
| virtual void | SetData (uint32 dataId, uint32 value) override |
| |
| virtual void | UpdateData (uint32 index, int32 pad) |
| |
| TeamId | GetDefenderTeam () const |
| |
| TeamId | GetAttackerTeam () const |
| |
| void | SetDefenderTeam (TeamId team) |
| |
| Group * | GetFreeBfRaid (TeamId TeamId) |
| | Find a not full battlefield group, if there is no, create one.
|
| |
| Group * | GetGroupPlayer (ObjectGuid guid, TeamId TeamId) |
| | Return battlefield group where player is.
|
| |
| bool | AddOrSetPlayerToCorrectBfGroup (Player *player) |
| | Force player to join a battlefield group.
|
| |
| WorldSafeLocsEntry const * | GetClosestGraveyard (Player *player) |
| |
| void | SetGraveyardNumber (uint32 number) |
| |
| BfGraveyard * | GetGraveyardById (uint32 id) const |
| |
| Creature * | SpawnCreature (uint32 entry, Position const &pos) |
| |
| GameObject * | SpawnGameObject (uint32 entry, Position const &pos, QuaternionData const &rot) |
| |
| Creature * | GetCreature (ObjectGuid guid) |
| |
| GameObject * | GetGameObject (ObjectGuid guid) |
| |
| void | SendWarning (uint8 id, WorldObject const *target=nullptr) |
| |
| void | PlayerAcceptInviteToQueue (Player *player) |
| |
| void | PlayerAcceptInviteToWar (Player *player) |
| |
| uint32 | GetBattleId () const |
| |
| void | AskToLeaveQueue (Player *player) |
| |
| void | PlayerAskToLeave (Player *player) |
| |
| virtual void | DoCompleteOrIncrementAchievement (uint32, Player *, uint8) |
| |
| bool | CanFlyIn () |
| | Return if we can use mount in battlefield.
|
| |
| void | StartBattle () |
| |
| void | EndBattle (bool endByTimer) |
| |
| void | HideNpc (Creature *creature) |
| |
| void | ShowNpc (Creature *creature, bool aggressive) |
| |
| GraveyardVect const & | GetGraveyardVector () const |
| |
| uint32 | GetTimer () const |
| |
| void | SetTimer (uint32 timer) |
| |
| void | DoPlaySoundToAll (uint32 SoundID) |
| |
| void | InvitePlayerToQueue (Player *player) |
| |
| void | InvitePlayerToWar (Player *player) |
| |
| void | InitStalker (uint32 entry, Position const &pos) |
| |
| | ZoneScript () noexcept |
| |
| | ZoneScript (ZoneScript const &right) |
| |
| | ZoneScript (ZoneScript &&right) noexcept |
| |
| ZoneScript & | operator= (ZoneScript const &right) |
| |
| ZoneScript & | operator= (ZoneScript &&right) noexcept |
| |
| virtual | ~ZoneScript () |
| |
| virtual uint32 | GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data) |
| |
| virtual uint32 | GetGameObjectEntry (ObjectGuid::LowType, uint32 entry) |
| |
| virtual void | OnCreatureRemove (Creature *) |
| |
| virtual void | OnGameObjectRemove (GameObject *) |
| |
| virtual void | OnAreaTriggerCreate (AreaTrigger *areaTrigger) |
| |
| virtual void | OnAreaTriggerRemove (AreaTrigger *areaTrigger) |
| |
| virtual void | OnUnitDeath (Unit *unit) |
| |
| virtual void | OnCreatureGroupDepleted (CreatureGroup const *creatureGroup) |
| |
| virtual ObjectGuid | GetGuidData (uint32) const |
| |
| virtual void | SetGuidData (uint32, ObjectGuid) |
| |
| virtual void | TriggerGameEvent (uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) |
| |
| virtual void | DoAction (uint32 actionId, WorldObject *source=nullptr, WorldObject *target=nullptr) |
| |
| virtual void | OnFlagStateChange (GameObject *flagInBase, FlagState oldValue, FlagState newValue, Player *player) |
| |
| virtual bool | CanCaptureFlag (AreaTrigger *areaTrigger, Player *player) |
| |
| virtual void | OnCaptureFlag (AreaTrigger *areaTrigger, Player *player) |
| |
| virtual void | OnFlagTaken (GameObject *flag, Player *player) |
| |
| virtual void | OnFlagDropped (ObjectGuid const &flagGuid, Player *player) |
| |
Definition at line 568 of file BattlefieldTB.h.