ddnet/src/engine/warning.h

18 lines
273 B
C
Raw Normal View History

#ifndef ENGINE_WARNING_H
#define ENGINE_WARNING_H
struct SWarning
{
SWarning() :
m_WasShown(false) {}
SWarning(const char *pMsg) :
m_WasShown(false)
{
str_copy(m_aWarningMsg, pMsg, sizeof(m_aWarningMsg));
}
2020-11-05 19:38:37 +00:00
char m_aWarningMsg[256];
bool m_WasShown;
};
#endif