APIDump: Removed HOOK_MAX and HOOK_NUM_HOOKS from documentation.
They're not really hooks, just constants for the maximum.
This commit is contained in:
parent
862397856d
commit
e4bb796c6b
@ -180,7 +180,12 @@ function DumpAPIHtml()
|
|||||||
|
|
||||||
-- Extract hook constants:
|
-- Extract hook constants:
|
||||||
for name, obj in pairs(cPluginManager) do
|
for name, obj in pairs(cPluginManager) do
|
||||||
if (type(obj) == "number") and (name:match("HOOK_.*")) then
|
if (
|
||||||
|
(type(obj) == "number") and
|
||||||
|
name:match("HOOK_.*") and
|
||||||
|
(name ~= "HOOK_MAX") and
|
||||||
|
(name ~= "HOOK_NUM_HOOKS")
|
||||||
|
) then
|
||||||
table.insert(Hooks, { Name = name });
|
table.insert(Hooks, { Name = name });
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user