mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-01 00:21:35 +00:00
Use LibFFI for Public & Timer APIs Use "PlayerId" type instead "unsigned short" Add GetPluginDir() function
25 lines
609 B
C++
25 lines
609 B
C++
#ifndef OPENMW_PROCESSORPLAYERMISCELLANEOUS_HPP
|
|
#define OPENMW_PROCESSORPLAYERMISCELLANEOUS_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerMiscellaneous : public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerMiscellaneous()
|
|
{
|
|
BPP_INIT(ID_PLAYER_MISCELLANEOUS)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
{
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
Plugin::Call<CallbackIndex("OnPlayerMiscellaneous")>(player.getId());
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERMISCELLANEOUS_HPP
|