Class MessageSentEvent
Namespace: Void.Proxy.Api.Events.Network
Assembly: Void.Proxy.Api.dll
Represents a network message after it has been forwarded through a processing stage.
public record MessageSentEvent : IScopedEvent, IEvent, IEquatable<MessageSentEvent>Inheritance
Implements
IScopedEvent, IEvent, IEquatable<MessageSentEvent>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
MessageSentEvent(Side, Side, Side, Direction, INetworkMessage, ILink, IPlayer)
Represents a network message after it has been forwarded through a processing stage.
public MessageSentEvent(Side Origin, Side From, Side To, Direction Direction, INetworkMessage Message, ILink Link, IPlayer Player)Parameters
Origin Side
The side from which the message originally entered the proxy pipeline.
From Side
The side that sent the message in the current processing stage.
To Side
The side that received the message in the current processing stage.
Direction Direction
The protocol direction in which the message traveled.
Message INetworkMessage
The decoded or raw network message that was sent.
Link ILink
The link carrying the message.
Player IPlayer
The player associated with the message.
Properties
Direction
The protocol direction in which the message traveled.
public Direction Direction { get; init; }Property Value
From
The side that sent the message in the current processing stage.
public Side From { get; init; }Property Value
Link
The link carrying the message.
public ILink Link { get; init; }Property Value
Message
The decoded or raw network message that was sent.
public INetworkMessage Message { get; init; }Property Value
Origin
The side from which the message originally entered the proxy pipeline.
public Side Origin { get; init; }Property Value
Player
The player associated with the message.
public IPlayer Player { get; init; }Property Value
To
The side that received the message in the current processing stage.
public Side To { get; init; }