v0.13.8

collectgarbage

functionimplementedavailable in: camelot

Control the garbage collector and query it for information. As of WoW 2.0, this is the same as the standard collectgarbage() in Lua, but prior to that it was quite different.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
optstring?This function is a generic interface to the garbage collector. It performs different functions according to its first argument:
argnumber?used as an argument for the "step", "setpause" and "setstepmul" calls.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.