|
| ~BattlefieldTB () |
|
void | OnStartGrouping () override |
| Called x minutes before battle start when player in zone are invite to join queue. More...
|
|
void | OnBattleStart () override |
| Called on start. More...
|
|
void | OnBattleEnd (bool endByTimer) override |
| Called at the end of battle. More...
|
|
void | OnPlayerEnterZone (Player *player) override |
| Called when a player enter in battlefield zone. More...
|
|
void | OnPlayerLeaveZone (Player *player) override |
| Called when a player leave battlefield zone. More...
|
|
void | OnPlayerJoinWar (Player *player) override |
| Called when a player accept to join the battle. More...
|
|
void | OnPlayerLeaveWar (Player *player) override |
| Called when a player leave the battle. More...
|
|
bool | Update (uint32 diff) override |
| Called every time for update bf data and time. More...
|
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnGameObjectCreate (GameObject *go) override |
|
void | UpdateCapturedBaseCount () |
|
bool | SetupBattlefield () override |
| Call this to init the Battlefield. More...
|
|
void | HandleKill (Player *killer, Unit *victim) override |
| Called when a Unit is kill in battlefield zone. More...
|
|
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. More...
|
|
| Battlefield (Battlefield const &right)=delete |
|
| Battlefield (Battlefield &&right)=delete |
|
| Battlefield (Map *map) |
| Constructor. More...
|
|
| Battlefield (Battlefield const &right)=delete |
|
| Battlefield (Battlefield &&right)=delete |
|
Battlefield & | operator= (Battlefield const &right)=delete |
|
Battlefield & | operator= (Battlefield &&right)=delete |
|
virtual | ~Battlefield () |
| Destructor. More...
|
|
virtual bool | SetupBattlefield () |
| Call this to init the Battlefield. More...
|
|
virtual bool | Update (uint32 diff) |
| Called every time for update bf data and time. More...
|
|
void | InvitePlayersInZoneToQueue () |
| Invite all players in zone to join the queue, called x minutes before battle start in Update() More...
|
|
void | InvitePlayersInQueueToWar () |
| Invite all players in queue to join battle on battle start. More...
|
|
void | InvitePlayersInZoneToWar () |
| Invite all players in zone to join battle on battle start. More...
|
|
virtual void | HandleKill (Player *, Unit *) |
| Called when a Unit is kill in battlefield zone. More...
|
|
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. More...
|
|
int8 | GetState () const |
|
void | ToggleBattlefield (bool enable) |
| Enable or Disable battlefield. More...
|
|
bool | IsEnabled () const |
| Return if battlefield is enable. More...
|
|
void | KickPlayerFromBattlefield (ObjectGuid guid) |
| Kick player from battlefield and teleport him to kick-point location. More...
|
|
void | HandlePlayerEnterZone (Player *player, uint32 zone) |
| Called when player (player) enter in zone. More...
|
|
void | HandlePlayerLeaveZone (Player *player, uint32 zone) |
| Called when player (player) leave the zone. More...
|
|
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 |
|
TeamId | GetOtherTeam (TeamId team) const |
|
void | SetDefenderTeam (TeamId team) |
|
Group * | GetFreeBfRaid (TeamId TeamId) |
| Find a not full battlefield group, if there is no, create one. More...
|
|
Group * | GetGroupPlayer (ObjectGuid guid, TeamId TeamId) |
| Return battlefield group where player is. More...
|
|
bool | AddOrSetPlayerToCorrectBfGroup (Player *player) |
| Force player to join a battlefield group. More...
|
|
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) |
|
virtual void | OnBattleStart () |
| Called on start. More...
|
|
virtual void | OnBattleEnd (bool) |
| Called at the end of battle. More...
|
|
virtual void | OnStartGrouping () |
| Called x minutes before battle start when player in zone are invite to join queue. More...
|
|
virtual void | OnPlayerJoinWar (Player *) |
| Called when a player accept to join the battle. More...
|
|
virtual void | OnPlayerLeaveWar (Player *) |
| Called when a player leave the battle. More...
|
|
virtual void | OnPlayerLeaveZone (Player *) |
| Called when a player leave battlefield zone. More...
|
|
virtual void | OnPlayerEnterZone (Player *) |
| Called when a player enter in battlefield zone. More...
|
|
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. More...
|
|
void | StartBattle () |
|
void | EndBattle (bool endByTimer) |
|
void | HideNpc (Creature *creature) |
|
void | ShowNpc (Creature *creature, bool aggressive) |
|
GraveyardVect | 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) |
|
void | ProcessEvent (WorldObject *target, uint32 eventId, WorldObject *invoker) override |
|
| ZoneScript () |
|
| 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 | OnCreatureCreate (Creature *) |
|
virtual void | OnCreatureRemove (Creature *) |
|
virtual void | OnGameObjectCreate (GameObject *) |
|
virtual void | OnGameObjectRemove (GameObject *) |
|
virtual void | OnAreaTriggerCreate (AreaTrigger *areaTrigger) |
|
virtual void | OnAreaTriggerRemove (AreaTrigger *areaTrigger) |
|
virtual void | OnUnitDeath (Unit *unit) |
|
virtual ObjectGuid | GetGuidData (uint32) const |
|
virtual void | SetGuidData (uint32, ObjectGuid) |
|
virtual uint64 | GetData64 (uint32) const |
|
virtual void | SetData64 (uint32, uint64) |
|
virtual uint32 | GetData (uint32) const |
|
virtual void | SetData (uint32, uint32) |
|
virtual void | TriggerGameEvent (uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) |
|
virtual void | ProcessEvent (WorldObject *, uint32, WorldObject *) |
|
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) |
|
Definition at line 568 of file BattlefieldTB.h.