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


                LitJson.JsonMockWrapper gen_to_be_invoked = (LitJson.JsonMockWrapper)translator.FastGetCSObj(L, 1);



                {
                    LitJson.JsonType _type; translator.Get(L, 2, out _type);

                    gen_to_be_invoked.SetJsonType(_type);



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