swiftlys2/docs/api/ai/
API Reference Events

IOnCommandExecuteHookEvent

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

Called when a command is executed.

View source

Properties

Command

The command.

ref CCommand Command { get; }
Property Value

HookMode

The hook mode.

HookMode HookMode { get; }
Property Value

Result

The hook result. You can change it only in Pre event.

HookResult Result { get; set; }
Property Value