mod-playerbots/src/Core/Ai/Generic/Actions/CustomStrategyEditAction.h
bashermens a1137dbddc
[FIX] Folder restructure (#2018)
As requested

Poll
```
1. Yes
2. Yes
3. Maybe, but yes
```

---------

Co-authored-by: Celandriel <22352763+Celandriel@users.noreply.github.com>
2026-01-17 10:34:58 +01:00

28 lines
750 B
C++

/*
* 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_CUSTOMSTRATEGYEDITACTION_H
#define _PLAYERBOT_CUSTOMSTRATEGYEDITACTION_H
#include "Action.h"
class PlayerbotAI;
class CustomStrategyEditAction : public Action
{
public:
CustomStrategyEditAction(PlayerbotAI* botAI) : Action(botAI, "cs") {}
bool Execute(Event event) override;
private:
bool PrintHelp();
bool PrintActionLine(uint32 idx, std::string const command);
bool Print(std::string const name);
bool Edit(std::string const name, uint32 idx, std::string const command);
};
#endif