CSCommon: MObjectTypes.h 소스 파일

MAIET

MObjectTypes.h

00001 #ifndef MOBJECTTYPES_H
00002 #define MOBJECTTYPES_H
00003 
00005 enum MObjectType 
00006 {
00007     MOT_NONE        = 0,
00008     MOT_PC          = 1,
00009     MOT_NPC         = 2,        
00010     MOT_ITEM        = 3,
00011     MOT_CHARACTER
00012 };
00013 
00015 enum MCharacterRace
00016 {
00017     MCR_NONE        = 0,
00018     MCR_HUMAN,
00019     MCR_ELF,
00020     MCR_DARKELF,
00021     MCR_DWARF,
00022     MCR_OGRE
00023 };
00024 typedef unsigned long int MCharacterRaces;
00025 
00027 enum MCharacterClass
00028 {
00029     MCC_NONE            = 0,
00030     MCC_FIGHTER,
00031     MCC_ROGUE,
00032     MCC_ACOLYTE,
00033     MCC_MAGE,
00034 
00035     // 2차직업
00036     MCC_KNIGHT,
00037     MCC_PALADIN,
00038     MCC_BESERKER,
00039     MCC_WARRIOR,
00040     MCC_RANGER,
00041     MCC_ASSASSIN,
00042     MCC_HUNTER,
00043     MCC_SHADOWWALKER,
00044     MCC_SCOUT,
00045     MCC_THIEF,
00046     MCC_CLERIC,
00047     MCC_MONK,
00048     MCC_DOCTOR,
00049     MCC_SHAMON,
00050     MCC_DRUID,
00051     MCC_SORCERER,
00052     MCC_ENCHANTER,
00053     MCC_WIZARD,
00054     MCC_MAGICIAN,
00055     MCC_WARLOCK
00056 };
00057 typedef unsigned long int MCharacterClasses;
00058 
00060 enum MCharacterType
00061 {
00062     MCT_NONE        = 0,
00063     MCT_HUMANOID    = 1,    // 플레이어
00064 };
00065 
00066 enum MCharacterMoveMode
00067 {
00068     MCMM_WALK       = 0,
00069     MCMM_RUN        = 1
00070 };
00071 
00072 enum MCharacterMode
00073 {
00074     MCM_PEACE       = 0,
00075     MCM_OFFENSIVE   = 1
00076 };
00077 
00078 enum MCharacterState
00079 {
00080     MCS_STAND       = 0,
00081     MCS_SIT         = 1,
00082     MCS_DEAD        = 2
00083 };
00084 
00086 enum MCharacterAbility
00087 {
00088     MCAB_LEVITATE           = 0,
00089     MCAB_MOUNT              = 1,
00090     MCAB_INVISIBILITY       = 2,
00091     MCAB_STEALTH            = 4,
00092     MCAB_SEE_INVISIBILITY   = 8,
00093     MCAB_DETECT             = 16,
00094     MCAB_INVINCIBILITY      = 32,
00095     MCAB_DISABLE_ACTIVE     = 64,
00096     MCAB_DISABLE_PASSIVE    = 128,
00097     MCAB_STUN               = 256,
00098     MCAB_SLEEP              = 512
00099 };
00100 typedef unsigned long int MCharacterStates;
00101 
00102 
00103 /*
00105 enum MCharacterStatus
00106 {
00107     MCS_NONE            = 0,
00108     MCS_SIT             = 1,
00109     MCS_RUN             = 2,
00110     MCS_MOVE            = 3,
00111 
00112     MCS_ATTACK          = 5,
00113     MCS_SKILL           = 6,
00114     MCS_USEDISCIPLINE   = 7,
00115     MCS_CONCENTRATE     = 8,
00116 
00117     MCS_LEVITATE        = 17,
00118     MCS_POISON          = 18,
00119     MCS_CURSE           = 19,
00120     MCS_STEALTH         = 20,
00121     MCS_INVISIBILITY    = 21,
00122     MCS_INVINCIBILITY   = 22,
00123     MCS_PARALYSIS       = 23,
00124     MCS_SILENCE         = 24,
00125     MCS_STUN            = 25,
00126     MCS_SLEEP           = 26
00127 };
00128 */
00129 
00130 
00131 
00133 struct MCharacterBasicAttr
00134 {
00135     int         nSTR;
00136     int         nCON;
00137     int         nDEX;
00138     int         nAGI;
00139     int         nINT;
00140     int         nCHA;
00141     MCharacterBasicAttr(): nSTR(0), nCON(0), 
00142                nDEX(0), nAGI(0), nINT(0), nCHA(0) {    }
00143 };
00144 
00145 struct MCharacterRepeatInfo
00146 {
00147     int         nLastTime;
00148     float       fHP;
00149     float       fEN;
00150     MCharacterRepeatInfo(): nLastTime(0), fHP(0), fEN(0) {  }
00151 };
00152 
00153 struct MCHARACTERDATA
00154 {
00155     // 식별
00156     char        szName[24];
00157     char        szSurname[24];
00158     int         iClass;             // enum
00159     int         iRace;              // enum
00160     int         iType;              // enum
00161     int         iSex;               // enum
00162     int         iSpecialization;    // enum
00163     int         iBindingSpot;       // pos
00164 
00165     // 경험치
00166     int         iCurrentXP;
00167     int         iNextXP;
00168 
00169     // 성향
00170     int         iRelationships;     // list
00171     int         iRshipRaise;        // list
00172     int         iRshipLower;        // list
00173 
00174     // 저항력
00175     int         iMR;
00176     int         iFR;
00177     int         iCR;
00178     int         iPR;
00179     int         iLR;
00180 
00181     // 마법
00182     int         iBUFFS;     // list
00183     int         iSkillList; // list
00184 
00185     // 방어력
00186     int         iAC;
00187     int         iMFlee;
00188     int         iRFlee;
00189     int         iSFlee;
00190     int         iHPRegen;
00191     int         iENRegen;
00192 
00193     // 공격력
00194     int         iMATK;
00195     int         iRATK;
00196     int         iMCritical;
00197     int         iRCritical;
00198     int         iMAspd;
00199     int         iRAspd;
00200     int         iMAccu;
00201     int         iRAccu;
00202 
00203     // 이동
00204     int         iDSight;
00205     int         iNSight;
00206     int         iSpd;
00207 
00208     // 상태
00209     int         iLevitate;          // flag
00210     int         iInvisibility;      // flag
00211     int         iInvincibility;     // flag
00212     int         iStun;              // flag
00213     int         iStealth;           // flag
00214     int         iPoisoned;          // flag
00215 
00216     // 이뮨
00217     int         iIVMelee;           // flag
00218     int         iIVRange;           // flag
00219     int         iIVMagic;           // flag
00220     int         iIVCold;            // flag
00221     int         iIVLightning;       // flag
00222     int         iIVPoison;          // flag
00223     int         iIVFire;            // flag
00224     int         iIVStun;            // flag
00225     int         iIVSleep;           // flag
00226     int         iIVCrit;            // flag
00227     int         iIVParalysis;       // flag
00228 
00229     // 전문화
00230     int         iOCS;
00231     int         iDCS;
00232     int         iRCS;
00233     int         iECS;
00234     int         iOMS;
00235     int         iDMS;
00236     int         iEMS;
00237 };
00238 
00239 
00240 #endif


MAIET entertainment