TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PacketFilter Class Referenceabstract

#include <WorldSession.h>

Public Member Functions

 PacketFilter (WorldSession *pSession)
 
virtual ~PacketFilter ()
 
virtual bool Process (WorldPacket *)=0
 
virtual bool ProcessUnsafe () const
 

Protected Attributes

WorldSession *const m_pSession
 

Private Member Functions

 PacketFilter (PacketFilter const &right)=delete
 
PacketFilteroperator= (PacketFilter const &right)=delete
 

Constructor & Destructor Documentation

PacketFilter::PacketFilter ( WorldSession pSession)
inlineexplicit
839 : m_pSession(pSession) { }
WorldSession *const m_pSession
Definition: WorldSession.h:846
virtual PacketFilter::~PacketFilter ( )
inlinevirtual
840 { }
PacketFilter::PacketFilter ( PacketFilter const right)
privatedelete

Member Function Documentation

PacketFilter& PacketFilter::operator= ( PacketFilter const right)
privatedelete
virtual bool PacketFilter::Process ( WorldPacket )
pure virtual

Implemented in WorldSessionFilter, and MapSessionFilter.

virtual bool PacketFilter::ProcessUnsafe ( ) const
inlinevirtual

Reimplemented in WorldSessionFilter.

843 { return false; }

+ Here is the caller graph for this function:

Member Data Documentation

WorldSession* const PacketFilter::m_pSession
protected

The documentation for this class was generated from the following file: