Exemple #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);
        }
Exemple #2
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            GCCombineActivityList _inst = (GCCombineActivityList)_base;

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

                case  10: {
                    CombineActivity subBuilder = new CombineActivity();
                    input.ReadMessage(subBuilder);
                    _inst.AddActivityList(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Exemple #3
0
 public void AddActivityList(CombineActivity value)
 {
     activityList_.Add(value);
 }