aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/context.cpp
blob: 4cfa445ddbbdd303da7f86dc63366ebd2e836eaa (plain)
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 "";
}