#include <plugin.h>
Inheritance diagram for Plugin< PacketType >:
Public Member Functions | |
Plugin () | |
virtual | ~Plugin () |
virtual const unsigned int | getUniqueId () const =0 |
This method must return a unique number identifying the plugin. | |
virtual void | pack (PacketType *packet)=0 |
Will be called when ever a packet must be packed, Remember to call forwardPack(packet) with your resulting packet. | |
virtual void | unpack (PacketType *packet)=0 |
Will be called when ever a packet must be unpacked, Remember to call forwardUnpack(packet) with your resulting packet. | |
Protected Member Functions | |
void | forwardPack (PacketType *packet) |
This method will send the packet along the chain of plugins when packing. | |
void | forwardUnpack (PacketType *packet) |
This method will send the packet along the chain of plugins when unpacking. | |
Friends | |
class | PreSendingChain< PacketType > |
Definition at line 40 of file plugin.h.