OutgoingMessageContext<T>
Carries a server→client net message along with its destination recipients. Passed to handlers registered via NetMessages.HookOutgoing<T>.
public class OutgoingMessageContext<T> where T : IMessage<T>
Namespace: DeadworksManaged.Api
Source: NetMessages/OutgoingMessageContext.cs#L10
Properties
OutgoingMessageContext.Message
The protobuf message being sent.
Signature
public T Message { get; }
Source: NetMessages/OutgoingMessageContext.cs#L13
OutgoingMessageContext.Recipients
The set of players this message will be delivered to. Modifiable by the hook handler.
Signature
public RecipientFilter Recipients { get; set; }
Source: NetMessages/OutgoingMessageContext.cs#L16
OutgoingMessageContext.MessageId
The numeric network message ID for T.
Signature
public int MessageId { get; }