Mana
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
LoginData Class Reference

#include <logindata.h>

Public Member Functions

 LoginData ()=default
 
void resetCharacterSlots ()
 Initialize character slots to 3 for backwards compatibility.
 
void clear ()
 

Public Attributes

std::string username
 
std::string password
 
std::string randomSeed
 
std::string newPassword
 
std::string updateHost
 
std::string email
 
std::string captchaResponse
 
Gender gender = Gender::Neutral
 
bool remember
 Whether to store the username.
 
bool registerLogin
 Whether an account is being registered.
 
unsigned short characterSlots = 3
 The number of character slots.
 

Detailed Description

Definition at line 28 of file logindata.h.

Constructor & Destructor Documentation

◆ LoginData()

LoginData::LoginData ( )
default

Member Function Documentation

◆ clear()

void LoginData::clear ( )
inline

Definition at line 57 of file logindata.h.

◆ resetCharacterSlots()

void LoginData::resetCharacterSlots ( )
inline

Initialize character slots to 3 for backwards compatibility.

Definition at line 52 of file logindata.h.

Member Data Documentation

◆ captchaResponse

std::string LoginData::captchaResponse

Definition at line 40 of file logindata.h.

◆ characterSlots

unsigned short LoginData::characterSlots = 3

The number of character slots.

Definition at line 47 of file logindata.h.

◆ email

std::string LoginData::email

Definition at line 39 of file logindata.h.

◆ gender

Gender LoginData::gender = Gender::Neutral

Definition at line 42 of file logindata.h.

◆ newPassword

std::string LoginData::newPassword

Definition at line 36 of file logindata.h.

◆ password

std::string LoginData::password

Definition at line 34 of file logindata.h.

◆ randomSeed

std::string LoginData::randomSeed

Definition at line 35 of file logindata.h.

◆ registerLogin

bool LoginData::registerLogin

Whether an account is being registered.

Definition at line 45 of file logindata.h.

◆ remember

bool LoginData::remember

Whether to store the username.

Definition at line 44 of file logindata.h.

◆ updateHost

std::string LoginData::updateHost

Definition at line 37 of file logindata.h.

◆ username

std::string LoginData::username

Definition at line 33 of file logindata.h.


The documentation for this class was generated from the following file: