/TGame/TServerMS/Player/FormData.h
http://awoe.googlecode.com/ · C Header · 33 lines · 22 code · 10 blank · 1 comment · 0 complexity · eb062853efb37fb7c4e91b3926ba2d69 MD5 · raw file
- #ifndef ___PLAYER_FORM_DATA___
- #define ___PLAYER_FORM_DATA___
-
- #define FORM_SLOT_CNT 5
- #define FORM_CNT 9
-
- class Form
- {
- public:
- Form();
-
- short flvl;
- short fslot[FORM_SLOT_CNT];
-
- void set(const short& vflvl, const short* vfslot);
-
- void set(const short& idx, const short& rid);
-
- short get(const short& idx);
- };
-
-
- class Forms
- {
- public:
- Forms();
-
- // player's current active form type
- short ftype;
- Form forms[FORM_CNT];
- };
-
- #endif