naxx chat short cut

This commit is contained in:
Yunfan Li
2023-06-11 23:20:57 +08:00
parent 81149246c4
commit c9367debeb
6 changed files with 26 additions and 2 deletions

View File

@@ -164,6 +164,7 @@ class ChatActionContext : public NamedObjectContext<Action>
creators["guild remove"] = &ChatActionContext::guild_remove;
creators["guild leave"] = &ChatActionContext::guild_leave;
creators["rtsc"] = &ChatActionContext::rtsc;
creators["naxx chat shortcut"] = &ChatActionContext::naxx_chat_shortcut;
}
private:
@@ -253,6 +254,7 @@ class ChatActionContext : public NamedObjectContext<Action>
static Action* guild_remove(PlayerbotAI* botAI) { return new GuildRemoveAction(botAI); }
static Action* guild_leave(PlayerbotAI* botAI) { return new GuildLeaveAction(botAI); }
static Action* rtsc(PlayerbotAI* botAI) { return new RTSCAction(botAI); }
static Action* naxx_chat_shortcut(PlayerbotAI* ai) { return new NaxxChatShortcutAction(ai); }
};
#endif