summaryrefslogtreecommitdiff
path: root/src/net/charhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/charhandler.h')
-rw-r--r--src/net/charhandler.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h
index fa2820e9..7d1b9ab2 100644
--- a/src/net/charhandler.h
+++ b/src/net/charhandler.h
@@ -25,15 +25,21 @@
#include "localplayer.h"
#include <iosfwd>
+#include <vector>
+
+class CharCreateDialog;
namespace Net {
class CharHandler
{
public:
+ virtual void setCharCreateDialog(CharCreateDialog *window) = 0;
+
virtual void chooseCharacter(int slot, LocalPlayer* character) = 0;
virtual void newCharacter(const std::string &name, int slot,
- bool gender, int hairstyle, int hairColor) = 0;
+ bool gender, int hairstyle, int hairColor,
+ std::vector<int> stats) = 0;
virtual void deleteCharacter(int slot, LocalPlayer* character) = 0;
};