00001 #pragma once
00002
00003 #include "SimHandler.h"
00004 #include "Packet.h"
00005
00006 class CObject
00007 {
00008 protected:
00009 CSimHandler* sim;
00010
00011 public:
00012 CObject(
00013 CSimHandler* sim
00014 );
00015 virtual ~CObject() { }
00016
00017 virtual ENetworkCode Recv(CObject* sender, __uint32 entry, CPacket* packet) = 0;
00018 virtual void Finalize() = 0;
00019 };