mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
4ca5da5666
Use LibFFI for Public & Timer APIs Use "PlayerId" type instead "unsigned short" Add GetPluginDir() function
26 lines
582 B
C++
26 lines
582 B
C++
#ifndef OPENMW_PROCESSORPLAYERQUICKKEYS_HPP
|
|
#define OPENMW_PROCESSORPLAYERQUICKKEYS_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerQuickKeys : public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerQuickKeys()
|
|
{
|
|
BPP_INIT(ID_PLAYER_QUICKKEYS)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
{
|
|
DEBUG_PRINTF(strPacketID.c_str());
|
|
|
|
Plugin::Call<CallbackIndex("OnPlayerQuickKeys")>(player.getId());
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERQUICKKEYS_HPP
|