static int Clear(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 0); DelegateFactory.Clear(); return(0); }