From d4e28aa97cbce34a0053d3c02cf070ef9065439f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Apr 2017 01:31:12 +0300 Subject: Add quick messages with translation from current server language to default. For use it open emotes/fonts in chat and select T tab. --- src/resources/db/textdb.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/resources/db/textdb.h') diff --git a/src/resources/db/textdb.h b/src/resources/db/textdb.h index 977b49ec6..c61bb0c7a 100644 --- a/src/resources/db/textdb.h +++ b/src/resources/db/textdb.h @@ -23,7 +23,7 @@ #include "enums/simpletypes/skiperror.h" -#include +#include "utils/stringvector.h" #include "localconsts.h" @@ -34,6 +34,10 @@ namespace TextDb void loadXmlFile(const std::string &fileName, const SkipError skipError); + std::string getByIndex(const int index); + + const StringVect &getTexts(); + void unload(); } // namespace LanguageDB -- cgit v1.2.3-70-g09d2