TrinityCore
OutdoorPvPSI.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef OUTDOOR_PVP_SI_
19#define OUTDOOR_PVP_SI_
20
21#include "OutdoorPvP.h"
22
24{
28 SI_CENARION_FAVOR = 30754
29};
30
32{
35 SI_SILITHYST_MAX = 2317
36};
37
39{
40 public:
41 OutdoorPvPSI(Map* map);
42
43 bool SetupOutdoorPvP() override;
44 void HandlePlayerEnterZone(Player* player, uint32 zone) override;
45 void HandlePlayerLeaveZone(Player* player, uint32 zone) override;
46 void Update(uint32 diff) override;
47 void SendRemoveWorldStates(Player* player) override;
48 bool HandleAreaTrigger(Player* player, uint32 trigger, bool entered) override;
49 bool HandleDropFlag(Player* player, uint32 spellId) override;
50 bool HandleCustomSpell(Player* player, uint32 spellId, GameObject* go) override;
51
52 private:
54};
55
56#endif
uint32_t uint32
Definition: Define.h:142
OutdoorPvPSISpells
Definition: OutdoorPvPSI.h:24
@ SI_CENARION_FAVOR
Definition: OutdoorPvPSI.h:28
@ SI_SILITHYST_FLAG
Definition: OutdoorPvPSI.h:26
@ SI_TRACES_OF_SILITHYST
Definition: OutdoorPvPSI.h:27
@ SI_SILITHYST_FLAG_GO_SPELL
Definition: OutdoorPvPSI.h:25
SI_WorldStates
Definition: OutdoorPvPSI.h:32
@ SI_GATHERED_H
Definition: OutdoorPvPSI.h:34
@ SI_SILITHYST_MAX
Definition: OutdoorPvPSI.h:35
@ SI_GATHERED_A
Definition: OutdoorPvPSI.h:33
Team
Definition: Map.h:189
bool HandleCustomSpell(Player *player, uint32 spellId, GameObject *go) override
bool HandleAreaTrigger(Player *player, uint32 trigger, bool entered) override
bool SetupOutdoorPvP() override
bool HandleDropFlag(Player *player, uint32 spellId) override
void Update(uint32 diff) override
void HandlePlayerLeaveZone(Player *player, uint32 zone) override
void SendRemoveWorldStates(Player *player) override
OutdoorPvPSI(Map *map)
void HandlePlayerEnterZone(Player *player, uint32 zone) override
Team m_LastController
Definition: OutdoorPvPSI.h:53