Difference between revisions of "Debug.gethook"
From GiderosMobile
Line 12: | Line 12: | ||
'''<translate>Returns</translate>''' (string) <translate>provided mask of the hook</translate><br/> | '''<translate>Returns</translate>''' (string) <translate>provided mask of the hook</translate><br/> | ||
'''<translate>Returns</translate>''' (number) <translate>hook count</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>hook count</translate><br/> | ||
+ | |||
+ | {{Debug}} |
Revision as of 21:05, 11 February 2020
Available since: Gideros 2011.6
Class: debug
Description
Returns the current hook settings of the thread, as three values: the current hook function, the current hook mask, and the current hook count (as set by the debug.sethook function).
(function), (string), (number) = debug.gethook()
Return values
Returns (function) function that works as hook
Returns (string) provided mask of the hook
Returns (number) hook count