The-Powder-Toy/src/client/User.h

32 lines
432 B
C
Raw Normal View History

2012-01-25 11:21:55 -06:00
#ifndef USER_H_
#define USER_H_
#include <string>
2012-01-25 11:21:55 -06:00
class User
{
public:
enum Elevation
{
ElevationAdmin, ElevationModerator, ElevationNone
};
int UserID;
2012-01-25 11:21:55 -06:00
std::string Username;
std::string SessionID;
std::string SessionKey;
Elevation UserElevation;
2012-01-25 11:21:55 -06:00
User(int id, std::string username):
UserID(id),
Username(username),
SessionID(""),
SessionKey(""),
UserElevation(ElevationNone)
2012-01-25 11:21:55 -06:00
{
}
};
#endif /* USER_H_ */