bool OnGossipSelect(Player* pPlayer, GameObject* pGo, uint32 uiSender, uint32 uiAction) { pPlayer->PlayerTalkClass->ClearMenus(); switch(uiSender) { case GOSSIP_SENDER_MAIN: SendActionMenu(pPlayer, pGo, uiAction); break; } return true; }
bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 action) { player->PlayerTalkClass->ClearMenus(); switch (sender) { case GOSSIP_SENDER_MAIN: SendActionMenu(player, go, action); break; } return true; }
bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 action) override { ClearGossipMenuFor(player); switch (sender) { case GOSSIP_SENDER_MAIN: SendActionMenu(player, go, action); break; } return true; }