1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Equipped
  6. Food/Medicine
  7. Items
  8. Attributes
  9. Creatures
  10. Blocks
  11. Props
  12. API Types
  13. API Functions

LTH_diag

void LTH_diag(string fn)

This hook expects functions of the form:

void fn()

CLIENT This has no effect if performed on the server

Sets the hook for drawing diagnostic information on screen. The hooked function will be called every frame if the addon its from contains source code. Use drawing functions to provide useful debugging and test information. Since addons are often distributed without source code, the end users will not see anything drawn by this hook.