swiftlys2/docs/api/ai/
API Reference Events

IOnClientConnectedEvent

Interface
Namespace: SwiftlyS2.Shared.Events · Assembly: SwiftlyS2.CS2.dll
public interface IOnClientConnectedEvent

Called when a client connects to the server.

View source

Properties

PlayerId

The player ID of the client that connected.

int PlayerId { get; }
Property Value

Result

The result of the event. Set this to Stop or CancelOriginal to prevent player from joining in.

HookResult Result { get; set; }
Property Value