112 const std::string &message,
133 _(
"Do you want to open support page?")),
180 const int64_t oldVal,
181 const int64_t newVal)
193 if (newVal >= max && total < max)
199 _(
"You are carrying more than "
200 "half your weight. You are "
201 "unable to regain health."),
212 else if (newVal < max && total >= max)
218 _(
"You are carrying less than "
219 "half your weight. You "
220 "can regain health."),
Attributes ::T AttributesT
bool getBoolValue(const std::string &key) const
static Window * openErrorDialog(const std::string &header, const std::string &message, const Modal modal)
void attributeChanged(const AttributesT id, const int64_t oldVal, const int64_t newVal)
static void closeDialogs()
static void createUpdaterWindow()
virtual void destroyStorage() const =0
static void clearDialogs()
unsigned int overweightPercent
virtual void scheduleDelete()
DialogsManager * dialogsManager
Net::InventoryHandler * inventoryHandler
std::string getRandomString()
bool isAllowCommand(const ServerCommandTypeT command)
int32_t getAttribute(const AttributesT id)
PlayerPostDeathListener postDeathListener
WeightListener weightListener
const bool ShowCenter_true
static const std::string SOUND_ERROR
static const std::string SOUND_REQUEST
std::string strprintf(const char *const format,...)
UpdaterWindow * updaterWindow