Every function the AscEmu Lua engine exposes, read directly from its source: the method tables, the argument checks and the return values of each function. Methods are called with a colon on an object, for example pUnit:CastSpell(133); global functions are called directly.
Loading the API …
Scripts react to the game by registering a function for an event ID. The arguments your function receives are listed for each event.