Struct MessageBrokerClientReadPacketEvent
- Namespace
- LfrlAnvil.MessageBroker.Client.Events
- Assembly
- LfrlAnvil.MessageBroker.Client.dll
Represents an event emitted by MessageBrokerClient related to reading a network packet from the server.
public readonly struct MessageBrokerClientReadPacketEvent
- Inherited Members
Properties
Packet
Incoming network packet.
public MessageBrokerClientReadPacket Packet { get; }
Property Value
Source
Event source.
public MessageBrokerClientEventSource Source { get; }
Property Value
Type
Specifies the type of this event.
public MessageBrokerClientReadPacketEventType Type { get; }
Property Value
Remarks
SeeMessageBrokerClientReadPacketEventType for more information.
Methods
ToString()
Returns a string representation of this MessageBrokerClientReadPacketEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.