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++
550 B
Raw Blame
#ifndef OPENMW_PROCESSORWORLDKILLCOUNT_HPP
#define OPENMW_PROCESSORWORLDKILLCOUNT_HPP

#include "../WorldstateProcessor.hpp"

namespace mwmp
{
    class ProcessorWorldKillCount final: public WorldstateProcessor
    {
    public:
        ProcessorWorldKillCount()
        {
            BPP_INIT(ID_WORLD_KILL_COUNT)
        }

        virtual void Do(WorldstatePacket &packet, Worldstate &worldstate)
        {
            mwmp::Main::get().getNetworking()->getWorldstate()->setKills();
        }
    };
}

#endif //OPENMW_PROCESSORWORLDKILLCOUNT_HPP