mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-31 01:13:48 +00:00
Refactor GossipHelloAction with overload (#1628)
* Add overload for GossipHelloAction * Refactor GossipHelloAction
This commit is contained in:
@@ -16,10 +16,12 @@ public:
|
||||
GossipHelloAction(PlayerbotAI* botAI) : Action(botAI, "gossip hello") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
// Overload for direct usage
|
||||
bool Execute(ObjectGuid guid, int32 menuToSelect, bool silent = false);
|
||||
|
||||
private:
|
||||
void TellGossipMenus();
|
||||
bool ProcessGossip(int32 menuToSelect);
|
||||
bool ProcessGossip(int32 menuToSelect, bool silent);
|
||||
void TellGossipText(uint32 textId);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user