Public Methods |
| virtual long | LoadAccounts (int mode) |
| bool | AddCharacterToAccount (SI32 accountid, CChar *object) |
| bool | RemoveCharacterFromAccount (SI32 accountid, UI08 slot) |
| bool | RemoveCharacterFromAccount (ACTREC *toRemove, UI08 slot) |
| ACTREC * | NextAccount (void) |
| bool | FinishedAccounts (void) |
| ACTREC * | FirstAccount (void) |
| virtual ACTREC * | GetAccount (const char *username) |
| virtual ACTREC * | GetAccountByID (SI32 id) |
| long | GetAccountCount (void) |
| virtual bool | UnloadAccounts (void) |
| void | SetFilePath (const char *filepath) |
| const char * | GetFilePath (void) |
| const char * | CheckAccountsVersion (const char *filename) |
| bool | ConvertAccounts (const char *filename) |
| virtual long | LoadAccounts (void) |
| | cAccounts () |
| | cAccounts (const char *accountsfile) |
| virtual | ~cAccounts () |
| void | AddAccount (string username, string password, string contact) |
| void | DeleteAccount (string username) |
| bool | IPExists (UI08 ip1, UI08 ip2, UI08 ip3, UI08 ip4) const |
| SI32 | Count (void) const |
| virtual long | SaveAccounts (const char *filename, int mode) |
| virtual long | SaveAccounts (int mode) |
Public Attributes |
| bool | isBinary |
| bool | isValid |
| char * | szAccountsVersion |
| string | ErrDesc |
| UI32 | ErrNum |
| bool | isReloaded |
Private Methods |
| bool | FileType () |
| bool | FileExists (const char *filepath) |
| virtual UI32 | ReadToken (FILE *openfile) |
Private Attributes |
| cIterator | gCI |
| long | AccountCount |
| map< string, ACTREC * > | actMap |
| string | PathToFile |