From 46bed8d09f32360377350d71816a76abdfbf2c7c Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 24 Aug 2022 00:32:31 +0100 Subject: Adjust folder structure (#242) * Adjust folder structure * change launcher directory name --- NorthstarDLL/context.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 NorthstarDLL/context.cpp (limited to 'NorthstarDLL/context.cpp') diff --git a/NorthstarDLL/context.cpp b/NorthstarDLL/context.cpp new file mode 100644 index 00000000..7478faa3 --- /dev/null +++ b/NorthstarDLL/context.cpp @@ -0,0 +1,14 @@ +#include "pch.h" +#include "context.h" + +const char* GetContextName(ScriptContext context) +{ + if (context == ScriptContext::CLIENT) + return "CLIENT"; + else if (context == ScriptContext::SERVER) + return "SERVER"; + else if (context == ScriptContext::UI) + return "UI"; + + return ""; +} \ No newline at end of file -- cgit v1.2.3