--- deliantra/server/include/object.h 2006/12/13 03:29:45 1.52 +++ deliantra/server/include/object.h 2006/12/15 20:07:02 1.54 @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - The authors can be reached via e-mail at crossfire-devel@real-time.com + The authors can be reached via e-mail at crossfire.de */ #ifndef OBJECT_H @@ -61,6 +61,11 @@ struct UUID { uint64 seq; + + UUID () { } + UUID (uint64 seq) : seq(seq) { } + operator uint64() { return seq; } + void operator =(uint64 seq) { this->seq = seq; } }; extern void init_uuid ();