public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { result_ = (global::POGOProtos.Data.Logs.PasscodeRewardsLogEntry.Types.Result)input.ReadEnum(); break; } case 18: { Passcode = input.ReadString(); break; } case 26: { if (rewards_ == null) { rewards_ = new global::POGOProtos.Data.RedeemPasscodeReward(); } input.ReadMessage(rewards_); break; } } } }
public void MergeFrom(PasscodeRewardsLogEntry other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.Passcode.Length != 0) { Passcode = other.Passcode; } if (other.rewards_ != null) { if (rewards_ == null) { rewards_ = new global::POGOProtos.Data.RedeemPasscodeReward(); } Rewards.MergeFrom(other.Rewards); } }