1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "pch.h" #include "context.h" const char* GetContextName(Context context) { if (context == CLIENT) return "CLIENT"; else if (context == SERVER) return "SERVER"; else if (context == UI) return "UI"; return ""; }