func_event_allochookid.rst 360 B

1234567891011121314151617181920212223242526272829303132333435
  1. .. _func_event_allochookid:
  2. ===========
  3. AllocHookId
  4. ===========
  5. AllocHookId -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. AllocHookId()
  10. Allocate a hook id
  11. The returned hook id can be used with #AddHook, #RunHooks and #RemoveHook.
  12. Parameters
  13. ==========
  14. Return Values
  15. =============
  16. An integer hook id
  17. Examples
  18. ========
  19. See Also
  20. ========