aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/context.cpp
blob: 6cd9d885a89b2fd1e7b3a10ade6a79eb03a068c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "pch.h"
#include "context.h"

const char* GetContextName(Context context)
{
	if (context == NONE)
		return "";
	if (context == CLIENT)
		return "CLIENT";
	else if (context == SERVER)
		return "SERVER";
	else if (context == UI)
		return "UI";
	
	return nullptr;
}