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; } if (other.WeatherBoostedCondition != 0) { WeatherBoostedCondition = other.WeatherBoostedCondition; } }
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; } if (other.WeatherBoostedCondition != 0) { WeatherBoostedCondition = other.WeatherBoostedCondition; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { weatherCondition_ = (global::POGOProtos.Enums.WeatherCondition)input.ReadEnum(); break; } case 18: case 16: { pokemonType_.AddEntriesFrom(input, _repeated_pokemonType_codec); break; } } } }
public void MergeFrom(Lobby other) { if (other == null) { return; } lobbyId_.Add(other.lobbyId_); players_.Add(other.players_); if (other.PlayerJoinEndMs != 0L) { PlayerJoinEndMs = other.PlayerJoinEndMs; } if (other.PokemonSelectionEndMs != 0L) { PokemonSelectionEndMs = other.PokemonSelectionEndMs; } if (other.RaidBattleStartMs != 0L) { RaidBattleStartMs = other.RaidBattleStartMs; } if (other.RaidBattleEndMs != 0L) { RaidBattleEndMs = other.RaidBattleEndMs; } if (other.RaidBattleId.Length != 0) { RaidBattleId = other.RaidBattleId; } if (other.OwnerNickname.Length != 0) { OwnerNickname = other.OwnerNickname; } if (other.Private != false) { Private = other.Private; } if (other.CreationMs != 0L) { CreationMs = other.CreationMs; } if (other.BattlePlfeInstance != 0) { BattlePlfeInstance = other.BattlePlfeInstance; } if (other.WeatherCondition != 0) { WeatherCondition = other.WeatherCondition; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Battle other) { if (other == null) { return; } if (other.BattleStartMs != 0L) { BattleStartMs = other.BattleStartMs; } if (other.BattleEndMs != 0L) { BattleEndMs = other.BattleEndMs; } if (other.BattleId.Length != 0) { BattleId = other.BattleId; } if (other.defender_ != null) { if (defender_ == null) { defender_ = new global::POGOProtos.Data.Battle.BattleParticipant(); } Defender.MergeFrom(other.Defender); } if (other.battleLog_ != null) { if (battleLog_ == null) { battleLog_ = new global::POGOProtos.Data.Battle.BattleLog(); } BattleLog.MergeFrom(other.BattleLog); } if (other.attacker_ != null) { if (attacker_ == null) { attacker_ = new global::POGOProtos.Data.Battle.BattleParticipant(); } Attacker.MergeFrom(other.Attacker); } if (other.WeatherCondition != 0) { WeatherCondition = other.WeatherCondition; } _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; } case 40: { weatherBoostedCondition_ = (global::POGOProtos.Enums.WeatherCondition)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 10: case 8: { lobbyId_.AddEntriesFrom(input, _repeated_lobbyId_codec); break; } case 18: { players_.AddEntriesFrom(input, _repeated_players_codec); break; } case 24: { PlayerJoinEndMs = input.ReadInt64(); break; } case 32: { PokemonSelectionEndMs = input.ReadInt64(); break; } case 40: { RaidBattleStartMs = input.ReadInt64(); break; } case 48: { RaidBattleEndMs = input.ReadInt64(); break; } case 66: { RaidBattleId = input.ReadString(); break; } case 74: { OwnerNickname = input.ReadString(); break; } case 80: { Private = input.ReadBool(); break; } case 88: { CreationMs = input.ReadInt64(); break; } case 96: { BattlePlfeInstance = input.ReadInt32(); break; } case 104: { weatherCondition_ = (global::POGOProtos.Enums.WeatherCondition)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: { BattleStartMs = input.ReadInt64(); break; } case 16: { BattleEndMs = input.ReadInt64(); break; } case 26: { BattleId = input.ReadString(); break; } case 34: { if (defender_ == null) { defender_ = new global::POGOProtos.Data.Battle.BattleParticipant(); } input.ReadMessage(defender_); break; } case 42: { if (battleLog_ == null) { battleLog_ = new global::POGOProtos.Data.Battle.BattleLog(); } input.ReadMessage(battleLog_); break; } case 50: { if (attacker_ == null) { attacker_ = new global::POGOProtos.Data.Battle.BattleParticipant(); } input.ReadMessage(attacker_); break; } case 56: { weatherCondition_ = (global::POGOProtos.Enums.WeatherCondition)input.ReadEnum(); break; } case 64: { highestFriendshipMilestone_ = (global::POGOProtos.Enums.FriendshipLevelMilestone)input.ReadEnum(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { BattleStartMs = input.ReadInt64(); break; } case 16: { BattleEndMs = input.ReadInt64(); break; } case 26: { BattleId = input.ReadString(); break; } case 34: { if (defender_ == null) { defender_ = new global::POGOProtos.Data.Battle.BattleParticipant(); } input.ReadMessage(defender_); break; } case 42: { if (battleLog_ == null) { battleLog_ = new global::POGOProtos.Data.Battle.BattleLog(); } input.ReadMessage(battleLog_); break; } case 50: { if (attacker_ == null) { attacker_ = new global::POGOProtos.Data.Battle.BattleParticipant(); } input.ReadMessage(attacker_); break; } case 56: { weatherCondition_ = (global::POGOProtos.Enums.WeatherCondition)input.ReadEnum(); break; } } } }