Table of Contents

Class EventBridge.UserConnectEvent

Namespace
RisingV.Shared
Assembly
RisingV.Shared.dll

Event triggered when a user connects to the server.

public record EventBridge.UserConnectEvent : Event<EventBridge.UserConnectEvent>, IEvent, IEquatable<Event>, IEquatable<Event<EventBridge.UserConnectEvent>>, IEquatable<EventBridge.UserConnectEvent>
Inheritance
EventBridge.UserConnectEvent
Implements
Inherited Members
Extension Methods

Constructors

UserConnectEvent(ServerClient, NetConnectionId, bool)

Event triggered when a user connects to the server.

public UserConnectEvent(ServerBootstrapSystem.ServerClient ServerClient, NetConnectionId NetConnectionId, bool IsNew)

Parameters

ServerClient ServerBootstrapSystem.ServerClient

The server client representing the user connection.

NetConnectionId NetConnectionId

The network connection ID of the user.

IsNew bool

Indicates whether the connection is new or an existing one.

Properties

IsNew

Indicates whether the connection is new or an existing one.

public bool IsNew { get; init; }

Property Value

bool

NetConnectionId

The network connection ID of the user.

public NetConnectionId NetConnectionId { get; init; }

Property Value

NetConnectionId

ServerClient

The server client representing the user connection.

public ServerBootstrapSystem.ServerClient ServerClient { get; init; }

Property Value

ServerBootstrapSystem.ServerClient