diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-22 18:59:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-22 18:59:41 +0300 |
commit | 1cf6cb343c6c8df8a998c617fd6f8d40f5affbea (patch) | |
tree | d5e090e99c02a0ce70d00c4dc527d777881cd83c /src/net/logindata.h | |
parent | f20c99d2bffe798806790e1f1ae838bba494d93c (diff) | |
download | manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.gz manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.bz2 manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.xz manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.zip |
Add support for packet version in servers list xml and in editor.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r-- | src/net/logindata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h index 3beab2ffd..60d5f9607 100644 --- a/src/net/logindata.h +++ b/src/net/logindata.h @@ -46,6 +46,7 @@ class LoginData final captchaResponse(), registerUrl(), gender(Gender::UNSPECIFIED), + packetVersion(0), remember(false), registerLogin(false), characterSlots(9) @@ -68,6 +69,7 @@ class LoginData final GenderT gender; + int packetVersion; bool remember; // Whether to store the username. bool registerLogin; // Whether an account is being registered. @@ -85,6 +87,7 @@ class LoginData final captchaResponse.clear(); registerUrl.clear(); gender = Gender::UNSPECIFIED; + packetVersion = 0; lastLogin.clear(); resetCharacterSlots(); } |