Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <accountsxml.h>
Public Types | |
enum | account_type { UNKNOWN, PLAYER, ADMIN } |
Public Member Functions | |
Account () | |
Account (char *scallsign, char *spasswd) | |
Account (string scallsign, string spasswd) | |
void | display () |
short | isNew () |
void | setIsNew (int new1) |
ObjSerial | getSerial () |
void | setSerial (ObjSerial sernum) |
SOCKETALT | getSocket () |
void | setSocket (SOCKETALT sck) |
void | set (char *scallsign, char *spasswd) |
void | set (string scallsign, string spasswd) |
int | compareName (char *str) |
int | comparePass (char *str) |
int | compareName (string str) |
int | comparePass (string str) |
bool | isConnected () |
int | retryConnectedCount () |
void | setConnected (bool mode) |
void | incConnected () |
Public Attributes | |
enum Account::account_type | type |
FILE * | fp |
string | callsign |
string | passwd |
string | serverip |
string | serverport |
Definition at line 37 of file accountsxml.h.
Enumerator | |
---|---|
UNKNOWN | |
PLAYER | |
ADMIN |
Definition at line 47 of file accountsxml.h.
|
inline |
Definition at line 61 of file accountsxml.h.
|
inline |
|
inline |
|
inline |
Definition at line 114 of file accountsxml.h.
References callsign.
Referenced by AccountServer::recvMsg().
|
inline |
Definition at line 123 of file accountsxml.h.
References callsign.
|
inline |
Definition at line 118 of file accountsxml.h.
References passwd.
|
inline |
Definition at line 127 of file accountsxml.h.
References passwd.
void Account::display | ( | ) |
Definition at line 50 of file accountsxml.cpp.
|
inline |
Definition at line 87 of file accountsxml.h.
Referenced by AccountServer::sendAlreadyConnected().
|
inline |
Definition at line 95 of file accountsxml.h.
|
inline |
Definition at line 143 of file accountsxml.h.
|
inline |
Definition at line 131 of file accountsxml.h.
Referenced by AccountServer::recvMsg().
|
inline |
Definition at line 78 of file accountsxml.h.
Referenced by AccountServer::sendAuthorized().
|
inline |
Definition at line 135 of file accountsxml.h.
Referenced by AccountServer::recvMsg().
|
inline |
|
inline |
|
inline |
Definition at line 139 of file accountsxml.h.
Referenced by AccountServer::recvMsg(), and AccountServer::removeDeadSockets().
|
inline |
Definition at line 82 of file accountsxml.h.
|
inline |
Definition at line 91 of file accountsxml.h.
Referenced by AccountServer::sendAuthorized().
|
inline |
Definition at line 99 of file accountsxml.h.
Referenced by AccountServer::sendAuthorized().
string Account::callsign |
Definition at line 55 of file accountsxml.h.
Referenced by Account(), accountXML::beginElement(), compareName(), accountXML::endElement(), AccountServer::sendAlreadyConnected(), AccountServer::sendAuthorized(), AccountServer::sendServerData(), AccountServer::sendUnauthorized(), set(), and AccountServer::writeSave().
FILE* Account::fp |
Definition at line 54 of file accountsxml.h.
string Account::passwd |
Definition at line 56 of file accountsxml.h.
Referenced by Account(), accountXML::beginElement(), comparePass(), AccountServer::recvMsg(), AccountServer::sendAlreadyConnected(), AccountServer::sendAuthorized(), AccountServer::sendServerData(), AccountServer::sendUnauthorized(), and set().
string Account::serverip |
Definition at line 57 of file accountsxml.h.
Referenced by accountXML::beginElement(), AccountServer::sendAuthorized(), and AccountServer::sendServerData().
string Account::serverport |
Definition at line 58 of file accountsxml.h.
Referenced by accountXML::beginElement(), AccountServer::sendAuthorized(), and AccountServer::sendServerData().
enum Account::account_type Account::type |
Referenced by accountXML::beginElement().