Compile bug fixes.

This commit is contained in:
whipowill
2022-05-18 16:10:40 -05:00
parent 8aba7afca7
commit 20bb616804
4 changed files with 7 additions and 8 deletions

View File

@@ -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);