swiftlys2/docs/api/ai/
API Reference Events

IOnClientKeyStateChangedEvent

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

Called when a client's key state changes.

View source

Properties

Key

The key that was pressed or released.

KeyKind Key { get; }
Property Value

PlayerId

The player ID of the client that changed their key state.

int PlayerId { get; }
Property Value

Pressed

Whether the key was pressed or released.

bool Pressed { get; }
Property Value