SwiftlyS2

IEntitySystemService.EntityOutputHandler

Delegate IEntitySystemService.EntityOutputHandler

Namespace: SwiftlyS2.Shared.EntitySystem

Assembly: SwiftlyS2.CS2.dll

Represents a method that handles an entity output event, allowing custom logic to be executed when an entity triggers an output.

public delegate HookResult IEntitySystemService.EntityOutputHandler(CEntityIOOutput entityIO, string outputName, CEntityInstance activator, CEntityInstance caller, float delay)
Parameters
  • entityIO CEntityIOOutput — The entity output object that contains information about the triggered output.
  • outputName string — The name of the output that was triggered.
  • activator CEntityInstance — The entity instance that activated the output.
  • caller CEntityInstance — The entity instance that called the output, if applicable.
  • delay float — The delay, in seconds, before the output is executed.
Returns
  • HookResult — A SwiftlyS2.Shared.Misc.HookResult value indicating the result of the handler's execution, such as whether the output should proceed or be blocked.

On this page