#include <password.h>
Public Member Functions | |
| void | setUnencoded (const string &s) |
| void | setEncoded (const string &s) |
| void | setInt (int pwd) |
| bool | empty () const |
| void | reset () |
| string | toString () const |
| bool | operator== (const Password &p) const |
| bool | operator!= (const Password &p) const |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
Protected Member Functions | |
| int | encodepassword (const char *pw) const |
| string | encodedpassword2string (int pwd) const |
|
|
Definition at line 89 of file password.cpp. Referenced by authenticateUser(), enterpassword(), and networksupervisor(). |
|
|
Definition at line 73 of file password.cpp. References strrr(). Referenced by read(), setEncoded(), setInt(), and setUnencoded(). |
|
|
Definition at line 60 of file password.cpp. References crc32buf(). Referenced by setUnencoded(). |
|
|
Definition at line 54 of file password.cpp. References password. |
|
|
Definition at line 49 of file password.cpp. References password. |
|
|
Definition at line 100 of file password.cpp. References encodedpassword2string(), and tnstream::readInt(). Referenced by GameMap::read(). |
|
|
Definition at line 120 of file password.cpp. Referenced by Player::resetPassword(). |
|
|
Definition at line 32 of file password.cpp. References atoi(), and encodedpassword2string(). Referenced by StartMultiplayerGame::Apply(), CGameOptions::getDefaultPassword(), and CGameOptions::getDefaultSupervisorPassword(). |
|
|
Definition at line 44 of file password.cpp. References encodedpassword2string(). |
|
|
Definition at line 27 of file password.cpp. References encodedpassword2string(), and encodepassword(). Referenced by StartMultiplayerGame::Apply(), and k_loadmap(). |
|
|
Definition at line 94 of file password.cpp. |
|
|
Definition at line 106 of file password.cpp. References atoi(), and tnstream::writeInt(). Referenced by GameMap::write(). |
1.4.2