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