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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h
index 60c332f9..1835ceb9 100644
--- a/src/net/charhandler.h
+++ b/src/net/charhandler.h
@@ -83,6 +83,18 @@ class CharHandler
virtual unsigned int maxSprite() const = 0;
+ /**
+ * Returns the max permitted hair color Id at character creation time,
+ * or 0 if no limit should be applied.
+ */
+ virtual int getCharCreateMaxHairColorId() const = 0;
+
+ /**
+ * Returns the max permitted hair style Id at character creation time,
+ * or 0 if no limit should be applied.
+ */
+ virtual int getCharCreateMaxHairStyleId() const = 0;
+
protected:
CharHandler():
mSelectedCharacter(0),