Table of Contents

Class ConnectedEventArgs

Namespace
Xabbo
Assembly
Xabbo.Common.dll

Provides data for the Connected event.

public sealed record ConnectedEventArgs : IEquatable<ConnectedEventArgs>
Inheritance
ConnectedEventArgs
Implements

Properties

Host

Gets the host for the current game connection.

public string Host { get; init; }

Property Value

string

Messages

Gets a list of client-specific message information.

public List<ClientMessage> Messages { get; init; }

Property Value

List<ClientMessage>

MessagesFilePath

Gets the path to the messages file, if it is available.

public string? MessagesFilePath { get; init; }

Property Value

string

Port

Gets the port for the current game connection.

public int Port { get; init; }

Property Value

int

PreEstablished

Gets whether the connection was previously established at the time of initialization.

public bool PreEstablished { get; set; }

Property Value

bool

Remarks

If this is true, it is likely safe to begin sending packets. Otherwise, the connection could be in a pre-authenticated state and it may not be safe to send certain packets.

Session

Gets the session information for the current game connection.

public Session Session { get; init; }

Property Value

Session