2017-03-31 18:36:24 +00:00
|
|
|
//
|
|
|
|
// Created by koncord on 01.04.17.
|
|
|
|
//
|
|
|
|
|
2017-04-16 06:00:18 +00:00
|
|
|
#ifndef OPENMW_PROCESSORPLAYERSTATS_DYNAMIC_HPP
|
|
|
|
#define OPENMW_PROCESSORPLAYERSTATS_DYNAMIC_HPP
|
2017-03-31 18:36:24 +00:00
|
|
|
|
|
|
|
|
2017-04-02 21:45:41 +00:00
|
|
|
#include "apps/openmw-mp/PlayerProcessor.hpp"
|
2017-03-31 18:36:24 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2017-04-16 06:00:18 +00:00
|
|
|
class ProcessorPlayerStatsDynamic : public PlayerProcessor
|
2017-03-31 18:36:24 +00:00
|
|
|
{
|
|
|
|
public:
|
2017-04-16 06:00:18 +00:00
|
|
|
ProcessorPlayerStatsDynamic()
|
2017-03-31 18:36:24 +00:00
|
|
|
{
|
2017-04-16 06:00:18 +00:00
|
|
|
BPP_INIT(ID_PLAYER_STATS_DYNAMIC)
|
2017-03-31 18:36:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
|
|
{
|
|
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
|
|
|
|
player.sendToLoaded(&packet);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-16 06:00:18 +00:00
|
|
|
#endif //OPENMW_PROCESSORPLAYERSTATS_DYNAMIC_HPP
|