diff options
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r-- | src/net/charserverhandler.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h index 2495cf6c1..d663db093 100644 --- a/src/net/charserverhandler.h +++ b/src/net/charserverhandler.h @@ -86,14 +86,20 @@ class CharServerHandler notfinal virtual void changeSlot(const int oldSlot, const int newSlot) = 0; - virtual void readPlayerData(Net::MessageIn &msg, - Net::Character *const character) const = 0; - virtual void ping() const = 0; /** The list of available characters. */ static Net::Characters mCharacters; + static CharSelectDialog *mCharSelectDialog; + static CharCreateDialog *mCharCreateDialog; + + /** The selected character. */ + static Net::Character *mSelectedCharacter; + + static void updateCharSelectDialog(); + static void unlockCharSelectDialog(); + protected: CharServerHandler() { @@ -102,15 +108,6 @@ class CharServerHandler notfinal mCharSelectDialog = nullptr; mCharCreateDialog = nullptr; } - - static void updateCharSelectDialog(); - static void unlockCharSelectDialog(); - - /** The selected character. */ - static Net::Character *mSelectedCharacter; - - static CharSelectDialog *mCharSelectDialog; - static CharCreateDialog *mCharCreateDialog; }; } // namespace Net |