ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/traits.h
(Generate patch)

Comparing deliantra/server/include/traits.h (file contents):
Revision 1.6 by root, Fri Dec 15 19:59:20 2006 UTC vs.
Revision 1.7 by root, Tue Dec 19 04:58:05 2006 UTC

21 DT_DOUBLE, 21 DT_DOUBLE,
22 DT_STRING, // 0-terminated string 22 DT_STRING, // 0-terminated string
23 DT_DATA, // string + length 23 DT_DATA, // string + length
24 DT_OBJECT, 24 DT_OBJECT,
25 DT_MAP, 25 DT_MAP,
26 DT_SOCKET, 26 DT_CLIENT,
27 DT_PLAYER, 27 DT_PLAYER,
28 DT_ARCH, 28 DT_ARCH,
29 DT_PARTY, 29 DT_PARTY,
30 DT_REGION, 30 DT_REGION,
31 31
60 static const data_type dt = DT_OBJECT; 60 static const data_type dt = DT_OBJECT;
61}; 61};
62 62
63template<> 63template<>
64struct cftype<client> { 64struct cftype<client> {
65 static const data_type dt = DT_SOCKET; 65 static const data_type dt = DT_CLIENT;
66}; 66};
67 67
68template<> 68template<>
69struct cftype<player> { 69struct cftype<player> {
70 static const data_type dt = DT_PLAYER; 70 static const data_type dt = DT_PLAYER;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines