… | |
… | |
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 | |
63 | template<> |
63 | template<> |
64 | struct cftype<client> { |
64 | struct cftype<client> { |
65 | static const data_type dt = DT_SOCKET; |
65 | static const data_type dt = DT_CLIENT; |
66 | }; |
66 | }; |
67 | |
67 | |
68 | template<> |
68 | template<> |
69 | struct cftype<player> { |
69 | struct cftype<player> { |
70 | static const data_type dt = DT_PLAYER; |
70 | static const data_type dt = DT_PLAYER; |