mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:19:54 +00:00
4e74910fdb
Simplify PlayerFaction packets by removing BOTH action
25 lines
578 B
C++
25 lines
578 B
C++
#ifndef OPENMW_PROCESSORPLAYERJOURNAL_HPP
|
|
#define OPENMW_PROCESSORPLAYERJOURNAL_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerJournal : public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerJournal()
|
|
{
|
|
BPP_INIT(ID_PLAYER_JOURNAL)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
{
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
Script::Call<Script::CallbackIdentity("OnPlayerJournal")>(player.getId());
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERJOURNAL_HPP
|