1 #ifndef INC_CClientModel
2 #define INC_CClientModel
4 //
\83C
\83\93\83N
\83\8b\81[
\83h
\82Í
\95K
\82¸
\95K
\97v
\82È
\95¨
\82¾
\82¯
5 //
\93à
\95\94\82Å
\97\98\97p
\82·
\82é
\82¾
\82¯
\82Ì
\95¨
\82Í
\83\
\81[
\83X
\82É
\8bL
\8fq
6 #include "../../common/Data.h"
7 //#include "../../common/CConnection.h"
8 #include "../../common/CSocket.h"
12 //
\83A
\83o
\83^
\81[
\8aÇ
\97\9d\83\8a\83X
\83g
13 typedef std::list<AvatarInformation> AvatarInformationList;
15 //
\8aÖ
\90\94\96¼
\82Í
\83\8d\81[
\83\8f\83L
\83\83\83\81\83\8b\83P
\81[
\83X
\82Æ
\82·
\82é
17 ////////////////////////////////////////////////////////////////////////////////
19 ////////////////////////////////////////////////////////////////////////////////
22 ////////////////////////////////////////////////////////////////////////////////
23 //
\83\81\83\93\83o
\95Ï
\90\94
24 ////////////////////////////////////////////////////////////////////////////////
26 //
\83A
\83o
\83^
\81[
\8dÅ
\91å
\83\8d\81[
\83h
\90\94
27 static const int MAX_AVATAR_NUMBER = 10;
29 AvatarInformationList m_AvatarInformations;
30 //
\92Ê
\90M
\83N
\83\89\83X
33 std::list<std::string> m_Events;
35 //
\83\8d\83O
\83C
\83\93\96¼
36 std::string m_LoginName;
38 ////////////////////////////////////////////////////////////////////////////////
39 //
\83R
\83\93\83X
\83g
\83\89\83N
\83^
40 ////////////////////////////////////////////////////////////////////////////////
44 ////////////////////////////////////////////////////////////////////////////////
45 //
\83f
\83X
\83g
\83\89\83N
\83^
46 ////////////////////////////////////////////////////////////////////////////////
50 ////////////////////////////////////////////////////////////////////////////////
51 // static
\8aÖ
\90\94\81A
\83R
\81[
\83\8b\83o
\83b
\83N
\8aÖ
\90\94
52 ////////////////////////////////////////////////////////////////////////////////
53 ////////////////////////////////////////////////////////////////////////////////
54 //
\91\80\8dì
\83\81\83\
\83b
\83h
55 ////////////////////////////////////////////////////////////////////////////////
59 //
\83C
\83x
\83\93\83g
\92Ç
\89Á
60 bool addEvent(std::string);
64 ////////////////////////////////////////////////////////////////////////////////
65 //
\91®
\90«
\83\81\83\
\83b
\83h
66 ////////////////////////////////////////////////////////////////////////////////
68 void setLoginName(std::string in_LoginName)
70 m_LoginName = in_LoginName;
73 const AvatarInformationList* getAvatarInformationList()
75 //
\95Ê
\83X
\83\8c\83b
\83h
\82É
\82æ
\82è
\8f\91\82«
\8d\9e\82Ý
\82Æ
\93¯
\8e\9e\82É
\93Ç
\82Ý
\8d\9e\82Þ
\89Â
\94\
\90«
\82 \82è
\81i
\8c»
\8dÝ
\96¢
\91Î
\89\9e\81j
76 return &m_AvatarInformations;
79 ////////////////////////////////////////////////////////////////////////////////
80 //
\83C
\83e
\83\8c\81[
\83V
\83\87\83\93
81 ////////////////////////////////////////////////////////////////////////////////
82 ////////////////////////////////////////////////////////////////////////////////
84 ////////////////////////////////////////////////////////////////////////////////
86 ////////////////////////////////////////////////////////////////////////////////
88 ////////////////////////////////////////////////////////////////////////////////
89 ////////////////////////////////////////////////////////////////////////////////
90 //
\8f\83\90\88\89¼
\91z
\8aÖ
\90\94\81A
\92è
\8b`
\82Ì
\82Ý
\81i
\94ñ
\8eÀ
\91\95\92ñ
\8b\9f\81j
91 ////////////////////////////////////////////////////////////////////////////////
92 ////////////////////////////////////////////////////////////////////////////////
93 //
\93à
\95\94\83N
\83\89\83X
94 ////////////////////////////////////////////////////////////////////////////////
99 #endif //INC_CClientModel