Remove reportUse parameter on GameObjectAI::GossipHello and give it its own event.

Ported from 3.3.5
This commit is contained in:
Krudor committed 2017-12-10 13:59:13 +01:00
1 parent 843c21048a
commit c8aeadc949
48 files changed
+99 -87

No files matched your search

+2 -1
View File
@@ -254,7 +254,8 @@ class TC_GAME_API SmartGameObjectAI : public GameObjectAI
SmartScript* GetScript() { return &mScript; }
static int32 Permissible(GameObject const* /*go*/) { return PERMIT_BASE_NO; }
bool GossipHello(Player* player, bool reportUse) override;
bool GossipHello(Player* player) override;
bool OnReportUse(Player* player) override;
bool GossipSelect(Player* player, uint32 menuId, uint32 gossipListId) override;
bool GossipSelectCode(Player* player, uint32 menuId, uint32 gossipListId, const char* code) override;
void QuestAccept(Player* player, Quest const* quest) override;