[8126] Improvemets in player/pet/charter name checks. Author: VladimirMangos

* Implement new config options for minimal player/pet/charter name length (2 by default)
    * Better error reporting at problems in names.
    * Add check from max pet/charter name length (same as for player names at client side)

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-10 08:25:33 +08:00
parent 474af870d7
commit 6976043e22
11 changed files with 113 additions and 47 deletions
+3
View File
@@ -91,6 +91,9 @@ enum PetTalk
enum PetNameInvalidReason
{
// custom, not send
PET_NAME_SUCCESS = 0,
PET_NAME_INVALID = 1,
PET_NAME_NO_NAME = 2,
PET_NAME_TOO_SHORT = 3,