summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-25 17:00:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-25 17:00:29 +0300
commit86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068 (patch)
tree9fb021b988d6ac482b02b2c91cfc3981696e981c /src/net/charserverhandler.h
parent5f602ac6b69195658ea54d218b29b270744bbb47 (diff)
downloadplus-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.tar.gz
plus-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.tar.bz2
plus-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.tar.xz
plus-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.zip
Move receive code from charserverhandler into separate file.
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r--src/net/charserverhandler.h21
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