summaryrefslogtreecommitdiff
path: root/server/player.h
blob: c2cecdf296bc7d5a74a2b3f97760bc4088e34ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PLAYER_H
#define PLAYER_H

#include <string>

class Player{
	private:
		//What the server needs to get in contact with player.
		std::string ip;
		std::string port;
		std::string nick;//The players nick

		unsigned int id;//Either generated or fetched from database
	public:
		Player();
		~Player();

		Player(std::string& ip, std::string& port, std::string& nick);
};

#endif // PLAYER_H_INCLUDED