Class SearchChannelBuilderEvent
Namespace: Void.Proxy.Api.Events.Channels
Assembly: Void.Proxy.Api.dll
Requests a channel builder capable of decoding a player’s initial network data.
public record SearchChannelBuilderEvent : IScopedEventWithResult<ChannelBuilder>, IScopedEvent, IEventWithResult<ChannelBuilder>, IEvent, IEquatable<SearchChannelBuilderEvent>Inheritance
object ← SearchChannelBuilderEvent
Implements
IScopedEventWithResult<ChannelBuilder>, IScopedEvent, IEventWithResult<ChannelBuilder>, IEvent, IEquatable<SearchChannelBuilderEvent>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
SearchChannelBuilderEvent(IPlayer, Memory<byte>)
Requests a channel builder capable of decoding a player’s initial network data.
public SearchChannelBuilderEvent(IPlayer Player, Memory<byte> Buffer)Parameters
Player IPlayer
The player whose channel is being constructed.
The initial bytes available for protocol detection. Listeners must not retain the memory after event processing completes.
Properties
Buffer
The initial bytes available for protocol detection. Listeners must not retain the memory after event processing completes.
public Memory<byte> Buffer { get; init; }Property Value
Player
The player whose channel is being constructed.
public IPlayer Player { get; init; }Property Value
Result
Gets or sets the channel builder selected by a listener.
public ChannelBuilder? Result { get; set; }