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

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

                case 13: {
                    BaseCaptureRate = input.ReadFloat();
                    break;
                }

                case 21: {
                    BaseFleeRate = input.ReadFloat();
                    break;
                }

                case 29: {
                    CollisionRadiusM = input.ReadFloat();
                    break;
                }

                case 37: {
                    CollisionHeightM = input.ReadFloat();
                    break;
                }

                case 45: {
                    CollisionHeadRadiusM = input.ReadFloat();
                    break;
                }

                case 48: {
                    movementType_ = (global::POGOProtos.Enums.PokemonMovementType)input.ReadEnum();
                    break;
                }

                case 61: {
                    MovementTimerS = input.ReadFloat();
                    break;
                }

                case 69: {
                    JumpTimeS = input.ReadFloat();
                    break;
                }

                case 77: {
                    AttackTimerS = input.ReadFloat();
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 13: {
                    BaseCaptureRate = input.ReadFloat();
                    break;
                }

                case 21: {
                    BaseFleeRate = input.ReadFloat();
                    break;
                }

                case 29: {
                    CollisionRadiusM = input.ReadFloat();
                    break;
                }

                case 37: {
                    CollisionHeightM = input.ReadFloat();
                    break;
                }

                case 45: {
                    CollisionHeadRadiusM = input.ReadFloat();
                    break;
                }

                case 48: {
                    movementType_ = (global::POGOProtos.Enums.PokemonMovementType)input.ReadEnum();
                    break;
                }

                case 61: {
                    MovementTimerS = input.ReadFloat();
                    break;
                }

                case 69: {
                    JumpTimeS = input.ReadFloat();
                    break;
                }

                case 77: {
                    AttackTimerS = input.ReadFloat();
                    break;
                }

                case 80: {
                    BonusCandyCaptureReward = input.ReadInt32();
                    break;
                }

                case 88: {
                    BonusStardustCaptureReward = input.ReadInt32();
                    break;
                }

                case 101: {
                    AttackProbability = input.ReadFloat();
                    break;
                }

                case 109: {
                    DodgeProbability = input.ReadFloat();
                    break;
                }

                case 117: {
                    DodgeDurationS = input.ReadFloat();
                    break;
                }

                case 125: {
                    DodgeDistance = input.ReadFloat();
                    break;
                }

                case 133: {
                    CameraDistance = input.ReadFloat();
                    break;
                }

                case 141: {
                    MinPokemonActionFrequencyS = input.ReadFloat();
                    break;
                }

                case 149: {
                    MaxPokemonActionFrequencyS = input.ReadFloat();
                    break;
                }
                }
            }
        }