DarkflameServer/dCommon/StringifyEnums.cpp
2023-12-17 05:19:37 -06:00

9 lines
273 B
C++

// Source - https://mariusbancila.ro/blog/2023/08/17/how-to-convert-an-enum-to-string-in-cpp/
#define GENERATE_ENUM_STRINGS // Start string generation
#include "eGameMessageType.h"
#include "eWorldMessageType.h"
#undef GENERATE_ENUM_STRINGS // Stop string generation