static int Equals(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); Debugging obj = LuaScriptMgr.GetNetObject <Debugging>(L, 1); object arg0 = LuaScriptMgr.GetVarObject(L, 2); bool o = obj.Equals(arg0); LuaScriptMgr.Push(L, o); return(1); }