public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    UserId = input.ReadSInt32();
                    break;
                }

                case 16: {
                    MallId = input.ReadSInt32();
                    break;
                }

                case 24: {
                    mallType_ = (global::MallTypePB)input.ReadEnum();
                    break;
                }

                case 32: {
                    BuyNum = input.ReadSInt32();
                    break;
                }
                }
            }
        }
Beispiel #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    MallId = input.ReadSInt32();
                    break;
                }

                case 16: {
                    mallType_ = (global::MallTypePB)input.ReadEnum();
                    break;
                }

                case 24: {
                    mallSort_ = (global::MallSortPB)input.ReadEnum();
                    break;
                }

                case 32: {
                    moneyType_ = (global::MoneyTypePB)input.ReadEnum();
                    break;
                }

                case 42: {
                    MallName = input.ReadString();
                    break;
                }

                case 50: {
                    MallDesc = input.ReadString();
                    break;
                }

                case 58: {
                    GiftImage = input.ReadString();
                    break;
                }

                case 64: {
                    Slot = input.ReadSInt32();
                    break;
                }

                case 72: {
                    mallLabel_ = (global::MallLabelPB)input.ReadEnum();
                    break;
                }

                case 82: {
                    LabelImage = input.ReadString();
                    break;
                }

                case 88: {
                    RealPrice = input.ReadSInt32();
                    break;
                }

                case 96: {
                    OriginalPrice = input.ReadSInt32();
                    break;
                }

                case 104: {
                    BuyMax = input.ReadSInt32();
                    break;
                }

                case 114: {
                    award_.AddEntriesFrom(input, _repeated_award_codec);
                    break;
                }

                case 120: {
                    StartTime = input.ReadSInt64();
                    break;
                }

                case 128: {
                    EndTime = input.ReadSInt64();
                    break;
                }
                }
            }
        }