Planeshift
psAccountInfo Class Reference

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. More...
 
 psAccountInfo ()
 
virtual void * RecoverObject ()
 required for iCachedObject but not used here More...
 
 ~psAccountInfo ()
 
- Public Member Functions inherited from iCachedObject
virtual ~iCachedObject ()
 

Public Attributes

unsigned int accountid
 Each account has a unique id number associated with it. More...
 
int advisorPoints
 Number of questions answered on the help channel. More...
 
csString createddate
 String value copied from the database containing the time of creation of the database entry. More...
 
csString gfxcard
 String containing the graphics card the connecting machine is using. More...
 
csString gfxversion
 String containing the graphics driver version the connecting machine is using;. More...
 
csString lastloginip
 String value of the last ip a connection came in from. More...
 
csString lastlogintime
 String value copied from the database containing the last login time. More...
 
csString machine_type
 String containing the type of connecting machine. More...
 
csString os
 String containing the os the connecting machine is running. More...
 
csString os_platform
 String containing miscellaneous details about the os the connecting machine is running. More...
 
uint16 os_ver_major
 String containing the os major version the connecting machine is running. More...
 
uint16 os_ver_minor
 String containing the os minor version the connecting machine is running. More...
 
csString password
 The password field is plain text now but later may be a public encryption key or something more elaborate. More...
 
csString password256
 temporary transition variable More...
 
int securitylevel
 Security level indicator for this account. More...
 
int spamPoints
 Level of spamming offenses for this account. More...
 
csString username
 Each account has a unique username associated with it, chosen by the user. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

psAccountInfo::psAccountInfo ( )
psAccountInfo::~psAccountInfo ( )

Member Function Documentation

virtual void psAccountInfo::DeleteSelf ( )
inlinevirtual

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 ( )
inlinevirtual

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 ( )
inlinevirtual

required for iCachedObject but not used here

Turn iCachedObject ptr into psAccountInfo

Implements iCachedObject.

Definition at line 54 of file psaccountinfo.h.

Member Data Documentation

unsigned int psAccountInfo::accountid

Each account has a unique id number associated with it.

Definition at line 64 of file psaccountinfo.h.

int psAccountInfo::advisorPoints

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.

int psAccountInfo::securitylevel

Security level indicator for this account.

Definition at line 101 of file psaccountinfo.h.

int psAccountInfo::spamPoints

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.


The documentation for this class was generated from the following file: