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

Go to the source code of this file.

Classes

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

Namespaces

 Pol
 
 Pol::Core
 
 Pol::Network
 

Functions

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

History
  • 2009/08/03 MuadDib: Upgraded ph6017 and is6017 to version, and integer instead of bool.
Note
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.