SourceMod SDK  1.7
SourceMod::IBitBufUserMessageListener Class Reference
Inheritance diagram for SourceMod::IBitBufUserMessageListener:
SourceMod::IUserMessageListener

Public Member Functions

virtual void OnUserMessage (int msg_id, bf_write *bf, IRecipientFilter *pFilter)
 Called when a hooked user message is being sent and all interceptions have finished. More...
 
virtual ResultType InterceptUserMessage (int msg_id, bf_write *bf, IRecipientFilter *pFilter)
 Called when a hooked user message is intercepted. More...
 
virtual UserMessageType GetUserMessageType () const
 
- Public Member Functions inherited from SourceMod::IUserMessageListener
virtual void OnUserMessageSent (int msg_id)
 Called when a hooked user message is sent, regardless of the hook type. More...
 
virtual unsigned int GetUserMessageAPIVersion ()
 Returns the user message API version.
 
virtual void OnPostUserMessage (int msg_id, bool sent)
 Called when a hooked user message hook is finished, regardless of the hook type. More...
 

Member Function Documentation

virtual ResultType SourceMod::IBitBufUserMessageListener::InterceptUserMessage ( int  msg_id,
bf_write *  bf,
IRecipientFilter *  pFilter 
)
inlinevirtual

Called when a hooked user message is intercepted.

Parameters
msg_idMessage Id.
bfbf_write structure containing written bytes.
pFilterRecipient filter.
Returns
Pl_Continue to allow message, Pl_Stop or Pl_Handled to scrap it.
virtual void SourceMod::IBitBufUserMessageListener::OnUserMessage ( int  msg_id,
bf_write *  bf,
IRecipientFilter *  pFilter 
)
inlinevirtual

Called when a hooked user message is being sent and all interceptions have finished.

Parameters
msg_idMessage Id.
bfbf_write structure containing written bytes.
pFilterRecipient filter.

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