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
PeerEventEvent notification type
Properties
ConnectionInterrupted
Data for ConnectionInterrupted event.
public ConnectionInterruptedEventInfo ConnectionInterrupted { get; init; }
Property Value
Synchronized
Data for Synchronized event.
public SynchronizedEventInfo Synchronized { get; init; }
Property Value
Synchronizing
Data for Synchronizing event.
public SynchronizingEventInfo Synchronizing { get; init; }
Property Value
Type
Event type.
public PeerEvent Type { get; }
Property Value
Methods
ToString()
public override string ToString()
Returns
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
intformat
ReadOnlySpan<char>provider
IFormatProvider