summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-20 12:47:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-20 12:47:50 +0300
commit0ad3a821e42471a052027419336df2132613e9f3 (patch)
tree230b600ec683bf5abb7d9ba3aefe8c6197fc329a /src/net/charserverhandler.h
parent5e3b654000e75c29d79939684077c7833ecbcead (diff)
downloadmv-0ad3a821e42471a052027419336df2132613e9f3.tar.gz
mv-0ad3a821e42471a052027419336df2132613e9f3.tar.bz2
mv-0ad3a821e42471a052027419336df2132613e9f3.tar.xz
mv-0ad3a821e42471a052027419336df2132613e9f3.zip
Move character into separate file.
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r--src/net/charserverhandler.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h
index 095558cec..744ee685b 100644
--- a/src/net/charserverhandler.h
+++ b/src/net/charserverhandler.h
@@ -37,29 +37,7 @@ class CharSelectDialog;
namespace Net
{
-/**
- * A structure to hold information about a character.
- */
-struct Character final
-{
- Character() :
- slot(0),
- dummy(nullptr),
- data()
- {
- }
-
- A_DELETE_COPY(Character)
-
- ~Character()
- {
- delete2(dummy);
- }
-
- int slot; /**< The index in the list of characters */
- LocalPlayer *dummy; /**< A dummy representing this character */
- PlayerInfoBackend data;
-};
+struct Character;
typedef std::list<Character*> Characters;