Class EventBridge.UserConnectEvent
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.ServerClientThe server client representing the user connection.
NetConnectionId
NetConnectionIdThe network connection ID of the user.
IsNew
boolIndicates 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
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