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++
677 B
Raw Blame
#ifndef OPENMW_WORLDSTATEPACKET_HPP
#define OPENMW_WORLDSTATEPACKET_HPP

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

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

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

        ~WorldstatePacket();

        void setWorldstate(BaseWorldstate *newWorldstate);
        BaseWorldstate *getWorldstate();

    protected:
        BaseWorldstate *worldstate;

    };
}

#endif //OPENMW_WORLDSTATEPACKET_HPP