#include <accounts.h>
Public Methods | |
| cAccount (ACCOUNT num=-1) | |
| Constructor. | |
| SERIAL | getInWorld () |
| Get char in world. | |
| void | setEntering () |
| Set Account in entering. | |
| bool | isEntering () |
| returns if accounts is entering | |
| void | setOnline (P_CHAR pc) |
| Set online with given char. | |
| void | setOffline () |
| Set offline. | |
| void | onLogin (NXWSOCKET socket) |
| On login of account. | |
| bool | isOnline () |
| Check if online. | |
| void | changePassword (std::string password) |
| Change password of account. | |
| void | getAllChars (NxwCharWrapper &sc) |
| Get list of pg of this account. | |
| void | addCharToAccount (P_CHAR pc) |
| Add given char to account. | |
| void | setLastIp (UI32 ip) |
| std::string | getLastIp () |
| return ip in dotted notation as string | |
Public Attributes | |
| ACCOUNT | number |
| Account number. | |
| std::string | name |
| Account name. | |
| std::string | pass |
| Account password. | |
| bool | ban |
| Is banned. | |
| bool | ras |
| Use Encription. | |
| TIMERVAL | tempblock |
| Elcabesa tempblock. | |
| TIMERVAL | blockeduntil |
| Elcabesa tempblock. | |
| unsigned long | lastlogin |
| Last login time. | |
| unsigned long | lastIp |
| ACCOUNT_STATE | state |
| Account state. | |
| std::vector< SERIAL > | pgs |
| list of pg of this account | |
| SERIAL | pc_online |
| the online player | |
|
|
Constructor.
|
|
|
Add given char to account.
|
|
|
Change password of account.
|
|
|
Get list of pg of this account.
|
|
|
Get char in world.
|
|
|
return ip in dotted notation as string
|
|
|
returns if accounts is entering
|
|
|
Check if online.
|
|
|
On login of account.
|
|
|
Set Account in entering.
|
|
|
|
|
|
Set offline.
|
|
|
Set online with given char.
|
|
|
Is banned.
|
|
|
Elcabesa tempblock.
|
|
|
|
|
|
Last login time.
|
|
|
Account name.
|
|
|
Account number.
|
|
|
Account password.
|
|
|
the online player
|
|
|
list of pg of this account
|
|
|
Use Encription.
|
|
|
Account state.
|
|
|
Elcabesa tempblock.
|