#include <createaccount.h>
Inheritance diagram for TPProto::AccountCreate:

Public Member Functions | |
| AccountCreate () | |
| Default constructor. | |
| virtual | ~AccountCreate () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack the login into a Buffer. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer, always false. | |
| void | setUser (const std::string &name) |
| Sets the username to create the account. | |
| void | setPass (const std::string &word) |
| Sets the password to create the account with. | |
| void | setEmail (const std::string &address) |
| Sets the email address to create the account with. | |
| void | setComment (const std::string &c) |
| Sets the comment to create the account with. | |
| void TPProto::AccountCreate::packBuffer | ( | Buffer * | buf | ) | [virtual] |
| bool TPProto::AccountCreate::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer, always false.
Since AccountCreate frames are only sent to the server, we should not receive them and therefore this method always returns false.
| buf | The Buffer, ignored. |
Implements TPProto::Frame.
| void TPProto::AccountCreate::setUser | ( | const std::string & | name | ) |
Sets the username to create the account.
| name | The username. |
| void TPProto::AccountCreate::setPass | ( | const std::string & | word | ) |
Sets the password to create the account with.
| word | The password. |
| void TPProto::AccountCreate::setEmail | ( | const std::string & | address | ) |
Sets the email address to create the account with.
| address | The email address. |
| void TPProto::AccountCreate::setComment | ( | const std::string & | c | ) |
Sets the comment to create the account with.
| c | The comment. |
1.5.1