Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
621 B
Raw Blame
#ifndef OPENMW_SYSTEMPACKET_HPP
#define OPENMW_SYSTEMPACKET_HPP

#include <string>
#include <components/openmw-mp/RakNetIncludes.hpp>
#include <BitStream.h>
#include <PacketPriority.h>
#include <components/openmw-mp/Base/BaseSystem.hpp>

#include <components/openmw-mp/Packets/BasePacket.hpp>

namespace mwmp
{
    class SystemPacket : public BasePacket
    {
    public:
        SystemPacket(RakNet::RakPeerInterface *peer);

        ~SystemPacket();

        void setSystem(BaseSystem *newSystem);
        BaseSystem *getSystem();

    protected:
        BaseSystem *system;

    };
}

#endif //OPENMW_SYSTEMPACKET_HPP