mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 05:53:34 +00:00
9 lines
273 B
C++
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
|