public void MergeFrom(EvolutionBranch other) { if (other == null) { return; } if (other.Evolution != 0) { Evolution = other.Evolution; } if (other.EvolutionItemRequirement != 0) { EvolutionItemRequirement = other.EvolutionItemRequirement; } if (other.CandyCost != 0) { CandyCost = other.CandyCost; } if (other.KmBuddyDistanceRequirement != 0F) { KmBuddyDistanceRequirement = other.KmBuddyDistanceRequirement; } if (other.Form != 0) { Form = other.Form; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { costume_ = (global::POGOProtos.Enums.Costume)input.ReadEnum(); break; } case 16: { gender_ = (global::POGOProtos.Enums.Gender)input.ReadEnum(); break; } case 24: { Shiny = input.ReadBool(); break; } case 32: { form_ = (global::POGOProtos.Enums.Form)input.ReadEnum(); 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: { evolution_ = (global::POGOProtos.Enums.PokemonId)input.ReadEnum(); break; } case 16: { evolutionItemRequirement_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } case 24: { CandyCost = input.ReadInt32(); break; } case 37: { KmBuddyDistanceRequirement = input.ReadFloat(); break; } case 40: { form_ = (global::POGOProtos.Enums.Form)input.ReadEnum(); 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: { costume_ = (global::POGOProtos.Enums.Costume)input.ReadEnum(); break; } case 16: { gender_ = (global::POGOProtos.Enums.Gender)input.ReadEnum(); break; } case 24: { Shiny = input.ReadBool(); break; } case 32: { form_ = (global::POGOProtos.Enums.Form)input.ReadEnum(); break; } case 40: { weatherBoostedCondition_ = (global::POGOProtos.Enums.WeatherCondition)input.ReadEnum(); break; } } } }
public void MergeFrom(PokemonDisplay other) { if (other == null) { return; } if (other.Costume != 0) { Costume = other.Costume; } if (other.Gender != 0) { Gender = other.Gender; } if (other.Shiny != false) { Shiny = other.Shiny; } if (other.Form != 0) { Form = other.Form; } }
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: { form_ = (global::POGOProtos.Enums.Form)input.ReadEnum(); break; } case 16: { AssetBundleValue = input.ReadInt32(); break; } } } }