blob: e9fc145f536da193c6218f9e80a16ffe7d8a06bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "Bindings/PluginLua.h"
class cByteBuffer;
class cChannelCallback
{
cLuaState::cCallbackPtr m_Callback;
cPluginLua * m_Plugin;
cCriticalSection m_CSPlugin;
public:
cChannelCallback(cPluginLua & a_Plugin, cLuaState::cCallbackPtr & a_Callback);
void Call(cClientHandle & a_Handle, const cByteBuffer & a_Data);
bool BelongsTo(const cPluginLua * a_Plugin);
};
|