22 #ifndef STARK_SERVICES_GAME_MESSAGE_H 23 #define STARK_SERVICES_GAME_MESSAGE_H 25 #include "common/str.h" 26 #include "common/hashmap.h" 46 kQuitGamePrompt = 356,
54 if (_texts.
contains(key))
return _texts[key];
56 return getDefaultText(key);
67 #endif // STARK_SERVICES_GAME_MESSAGE_H
Definition: gamemessage.h:35
bool contains(const Key &key) const
Definition: hashmap.h:594
Common::String getTextByKey(TextKey key)
Definition: gamemessage.h:53