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.5 by root, Thu Dec 14 05:09:32 2006 UTC vs.
Revision 1.6 by root, Fri Dec 15 19:59:20 2006 UTC

1#ifndef TRAITS_H__ 1#ifndef TRAITS_H__
2#define TRAITS_H__ 2#define TRAITS_H__
3 3
4struct client_socket; 4struct client;
5struct player; 5struct player;
6struct object; 6struct object;
7struct maptile; 7struct maptile;
8struct archetype; 8struct archetype;
9struct region; 9struct region;
59struct cftype<object> { 59struct cftype<object> {
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_socket> { 64struct cftype<client> {
65 static const data_type dt = DT_SOCKET; 65 static const data_type dt = DT_SOCKET;
66}; 66};
67 67
68template<> 68template<>
69struct cftype<player> { 69struct cftype<player> {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines