SwiftlyS2

IOnClientConnectedEvent

Interface IOnClientConnectedEvent

Namespace: SwiftlyS2.Shared.Events

Assembly: SwiftlyS2.CS2.dll

Called when a client connects to the server.

public interface IOnClientConnectedEvent

Properties

PlayerId

The player ID of the client that connected.

int PlayerId { get; }
Property Value

Result

The result of the event. Set this to SwiftlyS2.Shared.Misc.HookResult.Stop to prevent player from joining in.

HookResult Result { get; set; }
Property Value

On this page