86 virtual void Open(
int slot, std::shared_ptr<Menu> menu) = 0;
88 virtual bool IsOpen(
int slot)
const = 0;
91 virtual void Close(
int slot) = 0;
97 virtual void CloseAll(
int slot, std::string_view replyKey) = 0;
100 virtual void Prompt(
int slot, std::string prompt,
101 std::function<
bool(
int slot, std::string_view text)> callback) = 0;
104 virtual std::string
Translate(
int slot, std::string_view key, std::string_view fallback)
const = 0;