Initial item filter / loot item processing done
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
25
Filtration.ObjectModel/LootExplosionStudio/LootItem.cs
Normal file
25
Filtration.ObjectModel/LootExplosionStudio/LootItem.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Filtration.ObjectModel.LootExplosionStudio
|
||||
{
|
||||
public class LootItemCollection : Collection<LootItem>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
10
Filtration.ObjectModel/LootExplosionStudio/SocketGroup.cs
Normal file
10
Filtration.ObjectModel/LootExplosionStudio/SocketGroup.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user