SwiftlyS2

ICommandService.ClientCommandHandler

Delegate ICommandService.ClientCommandHandler

Namespace: SwiftlyS2.Shared.Commands

Assembly: SwiftlyS2.CS2.dll

The handler for the client command hook.

public delegate HookResult ICommandService.ClientCommandHandler(int playerId, string commandLine)
Parameters
  • playerId int — The player id.
  • commandLine string — The command line.
Returns
  • HookResult — Whether the command should continue to be sent.

On this page