Ejemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    platform_ = (global::POGOProtos.Enums.Platform)input.ReadEnum();
                    break;
                }

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

                case 26: {
                    DeviceModel = input.ReadString();
                    break;
                }

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

                case 40: {
                    AppVersion = input.ReadUInt32();
                    break;
                }

                case 48: {
                    Paginate = input.ReadBool();
                    break;
                }

                case 56: {
                    PageOffset = input.ReadInt32();
                    break;
                }

                case 64: {
                    PageTimestamp = input.ReadUInt64();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    platform_ = (global::POGOProtos.Enums.Platform)input.ReadEnum();
                    break;
                }

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

                case 26: {
                    DeviceModel = input.ReadString();
                    break;
                }

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

                case 40: {
                    AppVersion = input.ReadUInt32();
                    break;
                }
                }
            }
        }