static public int ObjId2UnitId(IntPtr l) { try { GameFramework.PluginFramework self = (GameFramework.PluginFramework)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.ObjId2UnitId(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }