effects.hooks module

Provides hooking effect functionality.

class effects.hooks.TempEntityPreHook(temp_entity_name)[source]

Bases: core.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.