#ifndef OPENMW_PACKETRECORDDYNAMIC_HPP #define OPENMW_PACKETRECORDDYNAMIC_HPP #include #include namespace mwmp { class PacketRecordDynamic: public WorldstatePacket { public: PacketRecordDynamic(RakNet::RakPeerInterface *peer); virtual void Packet(RakNet::BitStream *bs, bool send); void ProcessEffects(ESM::EffectList &effectList, bool send); void ProcessBodyParts(ESM::PartReferenceList &bodyPartList, bool send); void ProcessInventoryList(std::vector &inventory, ESM::InventoryList &inventoryList, bool send); protected: static const int maxRecords = 3000; static const int maxEffects = 100; static const int maxParts = 7; static const int maxItems = 1000; }; } #endif //OPENMW_PACKETRECORDDYNAMIC_HPP