コード例 #1
0
        static int _m_OnApplicationPause(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.VoiceControlComponent __cl_gen_to_be_invoked = (xc.VoiceControlComponent)translator.FastGetCSObj(L, 1);


            try {
                {
                    bool pauseStatus = LuaAPI.lua_toboolean(L, 2);

                    __cl_gen_to_be_invoked.OnApplicationPause(pauseStatus);



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