A first attempt to make dialogue capability for module
This commit is contained in:
parent
8187d045cd
commit
ab9a0af05e
8 changed files with 190 additions and 30 deletions
|
@ -12,6 +12,7 @@
|
|||
namespace Shared {
|
||||
enum Result {
|
||||
success,
|
||||
grab,
|
||||
forbidden,
|
||||
unhandled,
|
||||
error
|
||||
|
@ -19,11 +20,12 @@ namespace Shared {
|
|||
|
||||
typedef std::map<Result, Strings> Responses;
|
||||
|
||||
constexpr std::array<std::pair<Result, std::string_view>, 4> results = {{
|
||||
constexpr std::array<std::pair<Result, std::string_view>, 5> results = {{
|
||||
{ success, "success" },
|
||||
{ grab, "grab" },
|
||||
{ forbidden, "forbidden" },
|
||||
{ unhandled, "unhandled" },
|
||||
{ error, "error" },
|
||||
{ error, "error" }
|
||||
}};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue