aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/context.cpp
blob: 17de66b37a75568ee8b8d8d58bea9e2a34b39715 (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 "";
}