- script manager detected errors don't try to translate the error
This commit is contained in:
parent
5b445ad388
commit
97d11a9cfd
File diff suppressed because it is too large
Load Diff
|
@ -51,14 +51,16 @@ private:
|
||||||
string header;
|
string header;
|
||||||
int factionIndex;
|
int factionIndex;
|
||||||
int teamIndex;
|
int teamIndex;
|
||||||
|
bool messageNotTranslated;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScriptManagerMessage();
|
ScriptManagerMessage();
|
||||||
ScriptManagerMessage(string text, string header, int factionIndex=-1,int teamIndex=-1);
|
ScriptManagerMessage(string text, string header, int factionIndex=-1,int teamIndex=-1,bool messageNotTranslated=false);
|
||||||
const string &getText() const {return text;}
|
const string &getText() const {return text;}
|
||||||
const string &getHeader() const {return header;}
|
const string &getHeader() const {return header;}
|
||||||
int getFactionIndex() const {return factionIndex;}
|
int getFactionIndex() const {return factionIndex;}
|
||||||
int getTeamIndex() const {return teamIndex;}
|
int getTeamIndex() const {return teamIndex;}
|
||||||
|
bool getMessageNotTranslated() const { return messageNotTranslated; }
|
||||||
|
|
||||||
void saveGame(XmlNode *rootNode);
|
void saveGame(XmlNode *rootNode);
|
||||||
void loadGame(const XmlNode *rootNode);
|
void loadGame(const XmlNode *rootNode);
|
||||||
|
|
Loading…
Reference in New Issue