]> jfr.im git - irc/gameservirc.git/blame - gameserv/aClient.h
* Added some admin features.
[irc/gameservirc.git] / gameserv / aClient.h
CommitLineData
85ce9d3e 1#ifndef ACLIENT_H
2#define ACLIENT_H
3
4#include <string.h>
5#include <iostream.h>
6#include "player.h"
7
8class Player; // forward declaration
9
9d057db5 10
85ce9d3e 11class aClient {
12
13 friend ostream &operator<<( ostream &output, const aClient &c);
14
15 public:
16 aClient(char *);
17 aClient(const aClient &);
18 aClient();
19 ~aClient();
20
21 void setData(const aClient *);
22 void setNick(char *n) { strcpy(nick, n);};
23 //const char *getNick() { return nick; };
24 char *getNick() { return nick; };
25 Player *stats;
26
27 private:
28 char nick[32];
29};
30
31#endif