mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-15 18:00:27 +00:00
Compile bug fixes.
This commit is contained in:
@@ -15,9 +15,9 @@ struct Mail;
|
||||
class MailProcessor
|
||||
{
|
||||
public:
|
||||
virtual bool Before(PlayerbotAI* botAI) { return true; }
|
||||
virtual bool Before([[maybe_unused]] PlayerbotAI* botAI) { return true; } // unused param - whipowill
|
||||
virtual bool Process(uint32 index, Mail* mail, PlayerbotAI* botAI) = 0;
|
||||
virtual bool After(PlayerbotAI* botAI) { return true; }
|
||||
virtual bool After([[maybe_unused]] PlayerbotAI* botAI) { return true; } // unused param - whipowill
|
||||
|
||||
static ObjectGuid FindMailbox(PlayerbotAI* botAI);
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ class DeadTrigger : public Trigger
|
||||
class AoeHealTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
AoeHealTrigger(PlayerbotAI* botAI, std::string const name, std::string const type, int32 count) : Trigger(botAI, name), count(count) type(type), { } // type after count - whipowill
|
||||
AoeHealTrigger(PlayerbotAI* botAI, std::string const name, std::string const type, int32 count) : Trigger(botAI, name), count(count), type(type) { } // reorder args - whipowill
|
||||
bool IsActive() override;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user