Planeshift
|
A data storage class to contain all information associated with an account. More...
#include <psaccountinfo.h>
Public Member Functions | |
virtual void | DeleteSelf () |
bool | Load (iResultRow &row) |
virtual void | ProcessCacheTimeout () |
This function is called by the generic cache if the specified ticks go by and the cache object is not already removed. | |
psAccountInfo () | |
virtual void * | RecoverObject () |
required for iCachedObject but not used here | |
~psAccountInfo () | |
Public Attributes | |
unsigned int | accountid |
Each account has a unique id number associated with it. | |
int | advisorPoints |
Number of questions answered on the help channel. | |
csString | createddate |
String value copied from the database containing the time of creation of the database entry. | |
csString | gfxcard |
String containing the graphics card the connecting machine is using. | |
csString | gfxversion |
String containing the graphics driver version the connecting machine is using;. | |
csString | lastloginip |
String value of the last ip a connection came in from. | |
csString | lastlogintime |
String value copied from the database containing the last login time. | |
csString | machine_type |
String containing the type of connecting machine. | |
csString | os |
String containing the os the connecting machine is running. | |
csString | os_platform |
String containing miscellaneous details about the os the connecting machine is running. | |
uint16 | os_ver_major |
String containing the os major version the connecting machine is running. | |
uint16 | os_ver_minor |
String containing the os minor version the connecting machine is running. | |
csString | password |
The password field is plain text now but later may be a public encryption key or something more elaborate. | |
csString | password256 |
temporary transition variable | |
int | securitylevel |
Security level indicator for this account. | |
int | spamPoints |
Level of spamming offenses for this account. | |
csString | username |
Each account has a unique username associated with it, chosen by the user. |
A data storage class to contain all information associated with an account.
An account in planeshift can have multiple characters.
Definition at line 44 of file psaccountinfo.h.
psAccountInfo::psAccountInfo | ( | ) |
psAccountInfo::~psAccountInfo | ( | ) |
virtual void psAccountInfo::DeleteSelf | ( | ) | [inline, virtual] |
Delete must come from inside object to handle operator::delete overrides.
Implements iCachedObject.
Definition at line 58 of file psaccountinfo.h.
bool psAccountInfo::Load | ( | iResultRow & | row | ) |
virtual void psAccountInfo::ProcessCacheTimeout | ( | ) | [inline, virtual] |
This function is called by the generic cache if the specified ticks go by and the cache object is not already removed.
After this function is called, the object is removed from the generic cache and deleted.
Implements iCachedObject.
Definition at line 53 of file psaccountinfo.h.
virtual void* psAccountInfo::RecoverObject | ( | ) | [inline, virtual] |
required for iCachedObject but not used here
Turn iCachedObject ptr into psAccountInfo
Implements iCachedObject.
Definition at line 54 of file psaccountinfo.h.
Each account has a unique id number associated with it.
Definition at line 64 of file psaccountinfo.h.
Number of questions answered on the help channel.
Definition at line 99 of file psaccountinfo.h.
csString psAccountInfo::createddate |
String value copied from the database containing the time of creation of the database entry.
Definition at line 77 of file psaccountinfo.h.
csString psAccountInfo::gfxcard |
String containing the graphics card the connecting machine is using.
Definition at line 93 of file psaccountinfo.h.
csString psAccountInfo::gfxversion |
String containing the graphics driver version the connecting machine is using;.
Definition at line 95 of file psaccountinfo.h.
csString psAccountInfo::lastloginip |
String value of the last ip a connection came in from.
Definition at line 79 of file psaccountinfo.h.
csString psAccountInfo::lastlogintime |
String value copied from the database containing the last login time.
Definition at line 75 of file psaccountinfo.h.
csString psAccountInfo::machine_type |
String containing the type of connecting machine.
Definition at line 90 of file psaccountinfo.h.
csString psAccountInfo::os |
String containing the os the connecting machine is running.
Definition at line 82 of file psaccountinfo.h.
csString psAccountInfo::os_platform |
String containing miscellaneous details about the os the connecting machine is running.
Definition at line 88 of file psaccountinfo.h.
uint16 psAccountInfo::os_ver_major |
String containing the os major version the connecting machine is running.
Definition at line 84 of file psaccountinfo.h.
uint16 psAccountInfo::os_ver_minor |
String containing the os minor version the connecting machine is running.
Definition at line 86 of file psaccountinfo.h.
csString psAccountInfo::password |
The password field is plain text now but later may be a public encryption key or something more elaborate.
Definition at line 68 of file psaccountinfo.h.
csString psAccountInfo::password256 |
temporary transition variable
Definition at line 71 of file psaccountinfo.h.
Security level indicator for this account.
Definition at line 101 of file psaccountinfo.h.
Level of spamming offenses for this account.
Definition at line 97 of file psaccountinfo.h.
csString psAccountInfo::username |
Each account has a unique username associated with it, chosen by the user.
Definition at line 66 of file psaccountinfo.h.