Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
360b1c8144 | ||
|
|
80b8318574 | ||
|
|
85f47ce654 | ||
|
|
c88c401ca8 | ||
|
|
45ab1a57e3 |
@@ -15,7 +15,12 @@ namespace Filtration.ObjectModel.BlockItemTypes
|
||||
: base(predicateOperator, predicateOperand)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public RarityBlockItem(FilterPredicateOperator predicateOperator, ItemRarity predicateOperand)
|
||||
: base(predicateOperator, (int)predicateOperand)
|
||||
{
|
||||
}
|
||||
|
||||
public override string PrefixText => "Rarity";
|
||||
public override string OutputText => PrefixText + " " + FilterPredicate.PredicateOperator
|
||||
.GetAttributeDescription() + " " + ((ItemRarity) FilterPredicate.PredicateOperand).GetAttributeDescription();
|
||||
|
||||
@@ -50,7 +50,7 @@ using System.Windows;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.12")]
|
||||
[assembly: AssemblyVersion("0.13")]
|
||||
|
||||
[assembly: InternalsVisibleTo("Filtration.Tests")]
|
||||
[assembly: InternalsVisibleTo("Filtration.ItemFilterPreview.Tests")]
|
||||
|
||||
@@ -34,10 +34,28 @@ namespace Filtration.Services
|
||||
var itemBaseTypesPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Filtration\ItemBaseTypes.txt";
|
||||
var itemClassesPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Filtration\ItemClasses.txt";
|
||||
|
||||
var itemBaseTypes = _fileSystemService.ReadFileAsString(itemBaseTypesPath);
|
||||
string itemBaseTypes;
|
||||
try
|
||||
{
|
||||
itemBaseTypes = _fileSystemService.ReadFileAsString(itemBaseTypesPath);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
itemBaseTypes = string.Empty;
|
||||
}
|
||||
|
||||
ItemBaseTypes = new LineReader(() => new StringReader(itemBaseTypes)).ToList();
|
||||
|
||||
var itemClasses = _fileSystemService.ReadFileAsString(itemClassesPath);
|
||||
string itemClasses;
|
||||
try
|
||||
{
|
||||
itemClasses = _fileSystemService.ReadFileAsString(itemClassesPath);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
itemClasses = string.Empty;
|
||||
}
|
||||
|
||||
ItemClasses = new LineReader(() => new StringReader(itemClasses)).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Margin="0,0,3,0">
|
||||
<Hyperlink Command="{Binding ElementName=TopLevelGrid, Path=DataContext.AddBlockCommand}" CommandParameter="{Binding}">
|
||||
<Hyperlink Command="{Binding ElementName=TopLevelGrid, Path=DataContext.AddFilterBlockItemCommand}" CommandParameter="{Binding}">
|
||||
<TextBlock>+</TextBlock><TextBlock Text="{Binding Path=., Converter={StaticResource BlockItemTypeToStringConverter}}" />
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
Filtration is an editor for Path of Exile item filter scripts.
|
||||
|
||||
## Current Release (Released 2015-07-31)
|
||||
<b>Installer (6.37mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.11/filtration_0.11_setup.exe">filtration_0.11_setup.exe</a>
|
||||
## Current Release (Released 2016-08-30)
|
||||
<b>Installer (7.44mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.12/filtration_0.12_setup.exe">filtration_0.12_setup.exe</a>
|
||||
|
||||
<b>Zip File (7.97mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.11/filtration_0.11.zip">filtration_0.11.zip</a>
|
||||
<b>Zip File (9.75mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.12/filtration_0.12.zip">filtration_0.12.zip</a>
|
||||
|
||||
## System Requirements
|
||||
Filtration requires .NET Framework 4.5.1 installed.
|
||||
Filtration requires .NET Framework 4.6.1 installed.
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user