IOnClientProcessUsercmdsEvent
Interface IOnClientProcessUsercmdsEvent
Namespace: SwiftlyS2.Shared.Events
Assembly: SwiftlyS2.CS2.dll
Called when a client processes user commands. This callback is a hot path, be careful with it and don't do anything expensive.
public interface IOnClientProcessUsercmdsEventProperties
Margin
The margin of the client, milliseconds.
float Margin { get; }Property Value
Paused
Whether the client is paused.
bool Paused { get; }Property Value
PlayerId
The player ID of the client that processed the user commands.
int PlayerId { get; }Property Value
Usercmds
The user commands that the client processed.
List<CSGOUserCmdPB> Usercmds { get; }Property Value