static int _m_ConstructFromXML(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.FUILoadingProgressBar gen_to_be_invoked = (DCET.Model.FUILoadingProgressBar)translator.FastGetCSObj(L, 1); { FairyGUI.Utils.XML _xml = (FairyGUI.Utils.XML)translator.GetObject(L, 2, typeof(FairyGUI.Utils.XML)); gen_to_be_invoked.ConstructFromXML(_xml); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }