PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1#ifndef	___PLAYER_FORM_DATA___
 2#define ___PLAYER_FORM_DATA___
 3
 4#define FORM_SLOT_CNT	5
 5#define FORM_CNT		9
 6
 7class Form
 8{
 9public:
10	Form();
11
12	short	flvl;
13	short	fslot[FORM_SLOT_CNT];
14
15	void	set(const short& vflvl, const short* vfslot);
16
17	void	set(const short& idx, const short& rid);
18
19	short	get(const short& idx);
20};
21
22
23class Forms
24{
25public:
26	Forms();
27
28	//	player's current active form type
29	short	ftype;	
30	Form	forms[FORM_CNT];	
31};
32
33#endif