|
virtual void | OnUserMessage (int msg_id, google::protobuf::Message *msg, IRecipientFilter *pFilter) |
| Called when a hooked user message is being sent and all interceptions have finished. More...
|
|
virtual ResultType | InterceptUserMessage (int msg_id, google::protobuf::Message *msg, IRecipientFilter *pFilter) |
| Called when a hooked user message is intercepted. More...
|
|
virtual UserMessageType | GetUserMessageType () const |
|
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...
|
|
virtual ResultType SourceMod::IProtobufUserMessageListener::InterceptUserMessage |
( |
int |
msg_id, |
|
|
google::protobuf::Message * |
msg, |
|
|
IRecipientFilter * |
pFilter |
|
) |
| |
|
inlinevirtual |
Called when a hooked user message is intercepted.
- Parameters
-
msg_id | Message Id. |
msg | Protobuf Message structure containing message data. |
pFilter | Recipient filter. |
- Returns
- Pl_Continue to allow message, Pl_Stop or Pl_Handled to scrap it.
virtual void SourceMod::IProtobufUserMessageListener::OnUserMessage |
( |
int |
msg_id, |
|
|
google::protobuf::Message * |
msg, |
|
|
IRecipientFilter * |
pFilter |
|
) |
| |
|
inlinevirtual |
Called when a hooked user message is being sent and all interceptions have finished.
- Parameters
-
msg_id | Message Id. |
msg | Protobuf Message structure containing message data. |
pFilter | Recipient filter. |
The documentation for this class was generated from the following file: