aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/context.cpp
blob: 19ee85a3efe9e50f9cb5f254d99607e92b651476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 "";
}