static int logWarningChannel(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); string arg0 = ToLua.CheckString(L, 1); string arg1 = ToLua.CheckString(L, 2); object[] arg2 = ToLua.ToParamsObject(L, 3, count - 2); LogProxy.logWarningChannel(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }