#ifndef IUSER_H #define IUSER_H #include #include #include "Object.h" #include "Types.h" struct SUser { std::wstring username; std::wstring session; std::wstring ident_data; int id; str_map mStr; int_map mInt; float_map mFloat; std::map mCustom; unsigned int lastused; void* getCustomPtr(std::string str) { std::map::iterator iter=mCustom.find(str); if( iter!=mCustom.end() ) { return iter->second; } else return NULL; } //private void *mutex; void *lock; }; #endif //IUSER_H