diff options
Diffstat (limited to 'src/client/User.h')
| -rw-r--r-- | src/client/User.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/client/User.h b/src/client/User.h new file mode 100644 index 0000000..5a47a3e --- /dev/null +++ b/src/client/User.h @@ -0,0 +1,38 @@ +/* + * User.h + * + * Created on: Jan 25, 2012 + * Author: Simon + */ + +#ifndef USER_H_ +#define USER_H_ + +#include <string> + + +class User +{ +public: + enum Elevation + { + ElevationAdmin, ElevationModerator, ElevationNone + }; + 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_ */ |
