SourceMod SDK  1.7
IUserMessages.h File Reference

Contains functions for advanced usermessage hooking. More...

#include <IShareSys.h>
#include <sp_vm_api.h>
#include <IForwardSys.h>
#include <irecipientfilter.h>

Go to the source code of this file.

Classes

class  SourceMod::IUserMessageListener
 Listens to user messages sent from the server. More...
 
class  SourceMod::IBitBufUserMessageListener
 
class  SourceMod::IProtobufUserMessageListener
 
class  SourceMod::IUserMessages
 Contains functions for hooking user messages. More...
 

Namespaces

 google
 

Macros

#define SMINTERFACE_USERMSGS_NAME   "IUserMessages"
 
#define SMINTERFACE_USERMSGS_VERSION   4
 
#define USERMSG_RELIABLE   (1<<2)
 
#define USERMSG_INITMSG   (1<<3)
 
#define USERMSG_BLOCKHOOKS   (1<<7)
 

Enumerations

enum  UserMessageType { UM_BitBuf, UM_Protobuf }
 

Detailed Description

Contains functions for advanced usermessage hooking.

Macro Definition Documentation

#define USERMSG_BLOCKHOOKS   (1<<7)

Prevents the message from triggering SourceMod and Metamod hooks

#define USERMSG_INITMSG   (1<<3)

Message will be considered to be an initmsg

#define USERMSG_RELIABLE   (1<<2)

Message will be set to reliable