summaryrefslogtreecommitdiff
path: root/src/net/tmwa/charserverhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/charserverhandler.h')
-rw-r--r--src/net/tmwa/charserverhandler.h8
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,