Initial item filter / loot item processing done

This commit is contained in:
Ben
2015-07-09 22:05:42 +01:00
parent 6e71005e93
commit 45edbecd64
31 changed files with 633 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
using System.Windows.Media;
namespace Filtration.ObjectModel.LootExplosionStudio
{
public static class DefaultLootItemAppearanceConstants
{
public readonly static Color NormalTextColor = new Color { A = 255, R = 200, G = 200, B = 200 };
public readonly static Color MagicTextColor = new Color { A = 255, R = 136, G = 136, B = 255 };
public readonly static Color RareTextColor = new Color { A = 255, R = 255, G = 255, B = 119 };
public readonly static Color UniqueTextColor = new Color { A = 255, R = 175, G = 96, B = 37 };
public readonly static Color QuestItemTextColor = new Color { A = 255, R = 74, G = 230, B = 58 };
public static readonly Color BackgroundColor = new Color {A = 255, R = 0, G = 0, B = 0};
public static readonly Color BorderColor = new Color { A = 255, R = 0, G = 0, B = 0 };
public static readonly int FontSize = 35;
}
}

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
using System.Windows.Media;
using Filtration.ObjectModel.Enums;
namespace Filtration.ObjectModel.LootExplosionStudio
{
public class LootItem
{
public string Name { get; set; }
public int ItemLevel { get; set; }
public int DropLevel { get; set; }
public int Quality { get; set; }
public ItemRarity Rarity { get; set; }
public string Class { get; set; }
public string BaseType { get; set; }
public List<SocketGroup> SocketGroups { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public Color TextColor { get; set; }
public Color BackgroundColor { get; set; }
public Color BorderColor { get; set; }
public int FontSize { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
using System.Collections.ObjectModel;
namespace Filtration.ObjectModel.LootExplosionStudio
{
public class LootItemCollection : Collection<LootItem>
{
}
}

View File

@@ -0,0 +1,10 @@
using System.Collections.Generic;
using Filtration.ObjectModel.Enums;
namespace Filtration.ObjectModel.LootExplosionStudio
{
public class SocketGroup
{
public List<SocketColor> Sockets { get; set; }
}
}