Skip to content

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

objectMessageSentEvent

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

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

Direction

From

The side that sent the message in the current processing stage.

public Side From { get; init; }

Property Value

Side

The link carrying the message.

public ILink Link { get; init; }

Property Value

ILink

Message

The decoded or raw network message that was sent.

public INetworkMessage Message { get; init; }

Property Value

INetworkMessage

Origin

The side from which the message originally entered the proxy pipeline.

public Side Origin { get; init; }

Property Value

Side

Player

The player associated with the message.

public IPlayer Player { get; init; }

Property Value

IPlayer

To

The side that received the message in the current processing stage.

public Side To { get; init; }

Property Value

Side