AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
PacketFilter Class Reference

#include "WorldSession.h"

Inheritance diagram for PacketFilter:
MapSessionFilter WorldSessionFilter

Public Member Functions

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

Protected Attributes

WorldSession *const m_pSession
 

Detailed Description

Constructor & Destructor Documentation

◆ PacketFilter()

PacketFilter::PacketFilter ( WorldSession pSession)
inlineexplicit
233: m_pSession(pSession) {}
WorldSession *const m_pSession
Definition: WorldSession.h:240

◆ ~PacketFilter()

virtual PacketFilter::~PacketFilter ( )
virtualdefault

Member Function Documentation

◆ Process()

virtual bool PacketFilter::Process ( WorldPacket )
inlinevirtual

Reimplemented in MapSessionFilter, and WorldSessionFilter.

236{ return true; }

◆ ProcessUnsafe()

virtual bool PacketFilter::ProcessUnsafe ( ) const
inlinevirtual

Reimplemented in MapSessionFilter.

237{ return true; }

Referenced by WorldSession::Update().

Member Data Documentation

◆ m_pSession

WorldSession* const PacketFilter::m_pSession
protected