The Lua state to handle the data from the Lua side of things. Template params:
The function to be registered. Note: When calling a D delegate from Lua, the first parameter is always a light user data containing the class instance that the delegate should be executed on.
Registers a D delegate to be called from Lua. Code is modified from MrcSnm's example found in the HipremeEngine.