effects.hooks module

Provides hooking effect functionality.

class effects.hooks.TempEntityPreHook(*args, **kwargs)[source]

Bases: AutoUnload

Decorator used to create temp entity pre hooks that auto unload.

__init__(temp_entity_name)[source]

Initialize the hook object.

Parameters:

temp_entity_name (str) – The name of the temp entity to hook.