--- deliantra/server/include/traits.h 2006/09/16 22:24:12 1.4 +++ deliantra/server/include/traits.h 2006/12/19 04:58:05 1.7 @@ -1,6 +1,7 @@ #ifndef TRAITS_H__ #define TRAITS_H__ +struct client; struct player; struct object; struct maptile; @@ -22,6 +23,7 @@ DT_DATA, // string + length DT_OBJECT, DT_MAP, + DT_CLIENT, DT_PLAYER, DT_ARCH, DT_PARTY, @@ -59,6 +61,11 @@ }; template<> +struct cftype { + static const data_type dt = DT_CLIENT; +}; + +template<> struct cftype { static const data_type dt = DT_PLAYER; };