private void GenCSLuaTable()
        {
            FileDescriptorSet lset = m_reader.GetExcludeLuaProtoFileSet();

            using (var converter = new ProtoConverter(m_strOutputPath, ""))
            {
                converter.Convert(lset);
            }
        }
Ejemplo n.º 2
0
        //[MenuItem("[ProtoBuf]/Generate Code")]
        public static void Convert()
        {
            var toLuaGen  = GetProtoGenFolder();
            var pbEnumGen = GetPbEnumFolder();

            InnerClear(toLuaGen, pbEnumGen);
            using (var converter = new ProtoConverter(toLuaGen, pbEnumGen))
            {
                converter.Convert();
            }
        }