mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-27 15:36:22 +00:00
Run clang-format
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it
|
||||
* and/or modify it under version 2 of the License, or (at your option), any later version.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYERBOT_LFGACTIONS_H
|
||||
@@ -11,50 +12,50 @@ class PlayerbotAI;
|
||||
|
||||
class LfgJoinAction : public InventoryAction
|
||||
{
|
||||
public:
|
||||
LfgJoinAction(PlayerbotAI* botAI, std::string const name = "lfg join") : InventoryAction(botAI, name) { }
|
||||
public:
|
||||
LfgJoinAction(PlayerbotAI* botAI, std::string const name = "lfg join") : InventoryAction(botAI, name) {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
|
||||
protected:
|
||||
bool JoinLFG();
|
||||
uint32 GetRoles();
|
||||
protected:
|
||||
bool JoinLFG();
|
||||
uint32 GetRoles();
|
||||
};
|
||||
|
||||
class LfgAcceptAction : public LfgJoinAction
|
||||
{
|
||||
public:
|
||||
LfgAcceptAction(PlayerbotAI* botAI) : LfgJoinAction(botAI, "lfg accept") { }
|
||||
public:
|
||||
LfgAcceptAction(PlayerbotAI* botAI) : LfgJoinAction(botAI, "lfg accept") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override { return true; }
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override { return true; }
|
||||
};
|
||||
|
||||
class LfgRoleCheckAction : public LfgJoinAction
|
||||
{
|
||||
public:
|
||||
LfgRoleCheckAction(PlayerbotAI* botAI) : LfgJoinAction(botAI, "lfg role check") { }
|
||||
public:
|
||||
LfgRoleCheckAction(PlayerbotAI* botAI) : LfgJoinAction(botAI, "lfg role check") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override { return true; }
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override { return true; }
|
||||
};
|
||||
|
||||
class LfgLeaveAction : public Action
|
||||
{
|
||||
public:
|
||||
LfgLeaveAction(PlayerbotAI* botAI) : Action(botAI, "lfg leave") { }
|
||||
public:
|
||||
LfgLeaveAction(PlayerbotAI* botAI) : Action(botAI, "lfg leave") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
};
|
||||
|
||||
class LfgTeleportAction : public Action
|
||||
{
|
||||
public:
|
||||
LfgTeleportAction(PlayerbotAI* botAI) : Action(botAI, "lfg teleport") { }
|
||||
public:
|
||||
LfgTeleportAction(PlayerbotAI* botAI) : Action(botAI, "lfg teleport") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool Execute(Event event) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user