Exemple #1
0
        static int _m_MaybeConsumeTag(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Google.Protobuf.CodedInputStream gen_to_be_invoked = (Google.Protobuf.CodedInputStream)translator.FastGetCSObj(L, 1);



                {
                    uint _tag = LuaAPI.xlua_touint(L, 2);

                    bool gen_ret = gen_to_be_invoked.MaybeConsumeTag(_tag);
                    LuaAPI.lua_pushboolean(L, gen_ret);



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