Table of Contents

Delegate ModifyMessageCallback<TMsg>

Namespace
Xabbo.Messages
Assembly
Xabbo.Common.dll

Handles an intercepted message and allows the handler to modify the intercepted message by returning a modified or new IMessage instance.

public delegate IMessage? ModifyMessageCallback<TMsg>(TMsg msg) where TMsg : IMessage<TMsg>

Parameters

msg TMsg
Handles an intercepted message and allows the handler to modify the intercepted message by returning a modified or new instance.

Returns

IMessage
Handles an intercepted message and allows the handler to modify the intercepted message by returning a modified or new instance.

Type Parameters

TMsg

The type of the message.