static public int LoadRes(IntPtr l) { try { ResMgr self = (ResMgr)checkSelf(l); System.String a1; checkType(l, 2, out a1); ResourceLoader.LoadResDoneCallback a2; LuaDelegation.checkDelegate(l, 3, out a2); self.LoadRes(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }