Skip to main content

HookMode

When an entity I/O hook fires relative to the original handler.

public enum HookMode

Namespace: DeadworksManaged.Api
Source: Enums/HookMode.cs#L4

Values​

NameValueDescription
Pre0Fires before the original. Return HookResult.Stop or HookResult.Handled to block it.
Post1Fires after the original ran. Handler returns void; cannot block.