bool GossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override
 {
     uint32 const action = player->PlayerTalkClass->GetGossipOptionAction(gossipListId);
     ClearGossipMenuFor(player);
     if (action == GOSSIP_ACTION_INFO_DEF + 1)
     {
         CloseGossipMenuFor(player);
         //here we make him run to door, set the charge and run away off to nowhere
         DestroyDoor();
     }
     return true;
 }
Example #2
0
 void DoAction(int32 /*param*/)
 {
     DestroyDoor();
 }
Example #3
0
 void DoAction(int32 /*param*/) override
 {
     DestroyDoor();
 }
Example #4
0
 void DoAction(const int32 param)
 {
     DestroyDoor();
 }