Table of Contents

Struct PeerEventInfo

Namespace
Backdash
Assembly
Backdash.dll

Data structure for PeerEventInfo notifications. OnPeerEvent(PlayerHandle, PeerEventInfo)

public readonly struct PeerEventInfo : IUtf8SpanFormattable
Implements
Inherited Members

Constructors

PeerEventInfo(PeerEvent)

Data structure for PeerEventInfo notifications. OnPeerEvent(PlayerHandle, PeerEventInfo)

public PeerEventInfo(PeerEvent type)

Parameters

type PeerEvent

Event notification type

Properties

ConnectionInterrupted

Data for ConnectionInterrupted event.

public ConnectionInterruptedEventInfo ConnectionInterrupted { get; init; }

Property Value

ConnectionInterruptedEventInfo

Synchronized

Data for Synchronized event.

public SynchronizedEventInfo Synchronized { get; init; }

Property Value

SynchronizedEventInfo

Synchronizing

Data for Synchronizing event.

public SynchronizingEventInfo Synchronizing { get; init; }

Property Value

SynchronizingEventInfo

Type

Event type.

public PeerEvent Type { get; }

Property Value

PeerEvent

Methods

ToString()

public override string ToString()

Returns

string

TryFormat(Span<byte>, out int, ReadOnlySpan<char>, IFormatProvider?)

public bool TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider)

Parameters

utf8Destination Span<byte>
bytesWritten int
format ReadOnlySpan<char>
provider IFormatProvider

Returns

bool