36 lines
480 B
C++
36 lines
480 B
C++
#ifndef _MODEXAMPLE_H_
|
|
#define _MODEXAMPLE_H_
|
|
|
|
#include "modulelist.h"
|
|
#include "logging.h"
|
|
|
|
class ModExample : public Module {
|
|
public:
|
|
ModExample(Config& conf)
|
|
{
|
|
}
|
|
|
|
~ModExample()
|
|
{
|
|
}
|
|
|
|
void scan(MultiSock* msock)
|
|
{
|
|
LogSystem::log(LOG_DEBUG, "ModExample::scan()");
|
|
}
|
|
|
|
int parse(NetPkt* pkt, GameList* slist)
|
|
{
|
|
LogSystem::log(LOG_DEBUG, "ModExample::parse()");
|
|
return 0;
|
|
}
|
|
|
|
char* getName() {
|
|
return "Example Module";
|
|
}
|
|
|
|
protected:
|
|
};
|
|
|
|
#endif // _MODEXAMPLE_H_
|