diff options
Diffstat (limited to 'src/net/tmwa/charserverhandler.h')
-rw-r--r-- | src/net/tmwa/charserverhandler.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h index 7a7b6a67..31b2ba8e 100644 --- a/src/net/tmwa/charserverhandler.h +++ b/src/net/tmwa/charserverhandler.h @@ -69,6 +69,16 @@ class CharServerHandler : public MessageHandler, public Net::CharHandler unsigned int maxSprite() const; + // Must be < 12 at character creation time, but can be higher + // after that. + int getCharCreateMaxHairColorId() const + { return 11; } + + // Must be < 20 at character creation time, but can be higher + // after that. + int getCharCreateMaxHairStyleId() const + { return 19; } + void connect(); private: |