Ejemplo n.º 1
0
        static int _m_StartGuide(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    uint guide_id = LuaAPI.xlua_touint(L, 2);
                    xc.GuideManager.WaitGuideFinishDelegate finish_cb = translator.GetDelegate <xc.GuideManager.WaitGuideFinishDelegate>(L, 3);

                    __cl_gen_to_be_invoked.StartGuide(guide_id, finish_cb);



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