static int RemoveViewCommand(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); Controller obj = (Controller)ToLua.CheckObject <Controller>(L, 1); IView arg0 = (IView)ToLua.CheckObject <IView>(L, 2); string[] arg1 = ToLua.CheckStringArray(L, 3); obj.RemoveViewCommand(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }