core_merge_changes (#1747)

This commit is contained in:
bash
2025-10-20 14:12:14 +02:00
committed by GitHub
parent 2c5185a7cb
commit 50ac6e5b95
5 changed files with 14 additions and 14 deletions

View File

@@ -0,0 +1,29 @@
/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
* and/or modify it under version 3 of the License, or (at your option), any later version.
*/
#ifndef _PLAYERBOT_PETSACTION_H
#define _PLAYERBOT_PETSACTION_H
#include <string>
#include "Action.h"
#include "PlayerbotFactory.h"
#include "Unit.h"
class PlayerbotAI;
class PetsAction : public Action
{
public:
PetsAction(PlayerbotAI* botAI, const std::string& defaultCmd = "") : Action(botAI, "pet"), defaultCmd(defaultCmd) {}
bool Execute(Event event) override;
private:
bool warningEnabled = true;
std::string defaultCmd;
};
#endif