SwiftlyS2

ICommandService.ClientChatHandler

Delegate ICommandService.ClientChatHandler

Namespace: SwiftlyS2.Shared.Commands

Assembly: SwiftlyS2.CS2.dll

The handler for the client chat hook.

public delegate HookResult ICommandService.ClientChatHandler(int playerId, string text, bool teamonly)
Parameters
  • playerId int — The player id.
  • text string — The text.
  • teamonly bool — Whether the text is for team only.
Returns
  • HookResult — Whether the text should continue to be sent.

On this page