IOnClientKeyStateChangedEvent
Interface IOnClientKeyStateChangedEvent
Namespace: SwiftlyS2.Shared.Events
Assembly: SwiftlyS2.CS2.dll
Called when a client's key state changes.
public interface IOnClientKeyStateChangedEventProperties
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