diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 12:45:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 12:45:55 +0300 |
commit | 27efea7d495fdf755f7e94edb1f39103b6f8f072 (patch) | |
tree | 8f9465c9e21a443c9c02fc2f180c1a4ee0756b4a /src/net/tmwa/charserverhandler.h | |
parent | c037b2b49f9967a269032753c7b24961313c723f (diff) | |
download | manaverse-27efea7d495fdf755f7e94edb1f39103b6f8f072.tar.gz manaverse-27efea7d495fdf755f7e94edb1f39103b6f8f072.tar.bz2 manaverse-27efea7d495fdf755f7e94edb1f39103b6f8f072.tar.xz manaverse-27efea7d495fdf755f7e94edb1f39103b6f8f072.zip |
Move setCharCreateDialog from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa/charserverhandler.h')
-rw-r--r-- | src/net/tmwa/charserverhandler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h index b8cb5182e..0fd6f1f93 100644 --- a/src/net/tmwa/charserverhandler.h +++ b/src/net/tmwa/charserverhandler.h @@ -69,6 +69,14 @@ class CharServerHandler final : public MessageHandler, void setNewPincode(const std::string &pin A_UNUSED) override final { } + /** + * Sets the character create dialog. The handler will clean up this + * dialog when a new character is succesfully created, and will unlock + * the dialog when a new character failed to be created. + */ + void setCharCreateDialog(CharCreateDialog *const window) + override final; + protected: void readPlayerData(Net::MessageIn &msg, Net::Character *const character, |