summaryrefslogtreecommitdiff
path: root/src/client/User.h
blob: 163f463c30f97ff03d9e98d7af41d60cbacb77cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * User.h
 *
 *  Created on: Jan 25, 2012
 *      Author: Simon
 */

#ifndef USER_H_
#define USER_H_

#include <string>

enum Elevation
{
	ElevationAdmin, ElevationModerator, ElevationNone
};

class User
{
public:
	int ID;
	std::string Username;
	std::string SessionID;
	std::string SessionKey;
	Elevation UserElevation;
	User(int id, std::string username):
		ID(id),
		Username(username),
		SessionID(""),
		SessionKey(""),
		UserElevation(ElevationNone)
	{

	}
};


#endif /* USER_H_ */