SwiftlyS2

HookResult

Enum HookResult

Namespace: SwiftlyS2.Shared.Misc

Assembly: SwiftlyS2.CS2.dll

Result of a hook.

public enum HookResult : uint

Fields

  • CancelOriginal — The executions of following hooks will continue and original function will be cancelled.
  • Continue — The executions of following hooks and original function will continue.
  • Handled — The executions of following hooks will be cancelled, but the original function will continue.

Won't work for post hooks.

  • Stop — The executions of following hooks and original function will all be cancelled.

Won't work for post hooks.

On this page