Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
server::msgfilter Struct Reference

MSG filter works as a firewall it allowes only certain messages for certain things, see checktype -1 will become 1 in the switchcase below, its a hack to not misinterpretate the different cases as messages. More...

Public Member Functions

 msgfilter (int msg,...)
 
uchar operator[] (int msg) const
 

Public Attributes

uchar msgmask [NUMMSG]
 

Detailed Description

MSG filter works as a firewall it allowes only certain messages for certain things, see checktype -1 will become 1 in the switchcase below, its a hack to not misinterpretate the different cases as messages.

Constructor & Destructor Documentation

server::msgfilter::msgfilter ( int  msg,
  ... 
)
inline

References NUMMSG.

Member Function Documentation

uchar server::msgfilter::operator[] ( int  msg) const
inline

References NUMMSG.

Member Data Documentation

uchar server::msgfilter::msgmask[NUMMSG]

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