Ejemplo n.º 1
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            CombineActivity _inst = (CombineActivity)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  8: {
                    _inst.ActId = input.ReadInt32();
                    break;
                }

                case  18: {
                    CombineActivityInfo subBuilder = new CombineActivityInfo();
                    input.ReadMessage(subBuilder);
                    _inst.AddInfoList(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Ejemplo n.º 2
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            CombineActivityInfo _inst = (CombineActivityInfo)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  8: {
                    _inst.ActId = input.ReadInt32();
                    break;
                }

                case  18: {
                    _inst.Name = input.ReadString();
                    break;
                }

                case  24: {
                    _inst.Tabid = input.ReadInt32();
                    break;
                }

                case  34: {
                    _inst.Tabimg = input.ReadString();
                    break;
                }

                case  42: {
                    _inst.TabDesc = input.ReadString();
                    break;
                }
                }
            }
            return(_inst);
        }
Ejemplo n.º 3
0
 public void AddInfoList(CombineActivityInfo value)
 {
     infoList_.Add(value);
 }