Pol  Revision:cb584c9
packethooks.h File Reference
#include <map>
#include <string>
#include <vector>
#include "client.h"
#include "msghandl.h"

Go to the source code of this file.


class  Pol::Network::PacketHookData
class  ref_ptr< T >




void Pol::Network::CallOutgoingPacketExportedFunction (Client *client, const void *&data, int &inlength, ref_ptr< Core::BPacket > &outpacket, PacketHookData *phd, bool &handled)
void Pol::Network::clean_packethooks ()
bool Pol::Network::CompareVersionDetail (VersionDetailStruct ver1, VersionDetailStruct ver2)
void Pol::Network::ExportedPacketHookHandler (Client *client, void *data)
bool Pol::Network::GetAndCheckPacketHooked (Client *client, const void *&data, PacketHookData *&phd)
void Pol::Network::load_packet_hooks ()
void Pol::Network::SetVersionDetailStruct (const std::string &ver, VersionDetailStruct &detail)

Detailed Description

  • 2009/08/03 MuadDib: Upgraded ph6017 and is6017 to version, and integer instead of bool.
Version member: Positive Integer. This is used to translate the "version" of the packet structure to the correct internal core Message Handler (Default 1, which translates to use handler[]). Each new Handler added to the core needs a new Version number here. As of 8/3/09 there is only 2.

Definition in file packethooks.h.