Changeset 152 for trunk/src/game/Pet.h

Show
Ignore:
Timestamp:
11/19/08 13:41:09 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix the compile error. Patch provided by Tidus.
Merge part of mangos svn rev 6748: Use SMSG_PET_NAME_INVALID opcode instead of db string. Source: Mangos.

Original author: megamage
Date: 2008-11-03 09:53:31-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Pet.h

    r126 r152  
    9797    PET_TALK_SPECIAL_SPELL  = 0, 
    9898    PET_TALK_ATTACK         = 1 
     99}; 
     100 
     101enum PetNameInvalidReason 
     102{ 
     103    PET_NAME_INVALID                                        = 1, 
     104    PET_NAME_NO_NAME                                        = 2, 
     105    PET_NAME_TOO_SHORT                                      = 3, 
     106    PET_NAME_TOO_LONG                                       = 4, 
     107    PET_NAME_MIXED_LANGUAGES                                = 6, 
     108    PET_NAME_PROFANE                                        = 7, 
     109    PET_NAME_RESERVED                                       = 8, 
     110    PET_NAME_THREE_CONSECUTIVE                              = 11, 
     111    PET_NAME_INVALID_SPACE                                  = 12, 
     112    PET_NAME_CONSECUTIVE_SPACES                             = 13, 
     113    PET_NAME_RUSSIAN_CONSECUTIVE_SILENT_CHARACTERS          = 14, 
     114    PET_NAME_RUSSIAN_SILENT_CHARACTER_AT_BEGINNING_OR_END   = 15, 
     115    PET_NAME_DECLENSION_DOESNT_MATCH_BASE_NAME              = 16 
    99116}; 
    100117