public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { itemId_ = (global::PokemonGoDesktop.API.Proto.ItemId)input.ReadEnum(); break; } case 16: { upgradeType_ = (global::PokemonGoDesktop.API.Proto.InventoryUpgradeType)input.ReadEnum(); break; } case 24: { AdditionalStorage = input.ReadInt32(); break; } } } }
public void MergeFrom(InventoryUpgradeAttributes other) { if (other == null) { return; } if (other.AdditionalStorage != 0) { AdditionalStorage = other.AdditionalStorage; } if (other.UpgradeType != 0) { UpgradeType = other.UpgradeType; } }