예제 #1
0
        static int _m_IsLuaScriptExist(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    string lua_script = LuaAPI.lua_tostring(L, 2);

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.IsLuaScriptExist(lua_script);
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }