effects.hooks module

Provides hooking effect functionality.

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

Bases: effects.hooks._TempEntityHook

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

hook_type = _memory.HookType.POST
class effects.hooks.TempEntityPreHook(temp_entity_name)[source]

Bases: effects.hooks._TempEntityHook

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

hook_type = _memory.HookType.PRE