├── PickIt
├── README.md
├── packages.config
├── Misc.cs
├── Properties
│ └── AssemblyInfo.cs
├── PickIt.csproj
└── CustomItem.cs
├── DevTree
├── README.md
├── packages.config
├── Helpers.cs
├── Properties
│ └── AssemblyInfo.cs
└── DevTreeSettings.cs
├── ItemAlert
├── README.md
├── packages.config
├── ItemIcon.cs
├── Properties
│ └── AssemblyInfo.cs
├── ItemAlertSettings.cs
├── AlertDrawStyle.cs
└── ItemAlert.csproj
├── HealthBars
├── README.md
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── HealthBars.csproj
└── HealthBarsSettings.cs
├── KillCounter
├── README.md
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
└── KillCounter.csproj
├── IconsBuilder
├── README.md
├── PortalIcon.cs
├── packages.config
├── ShrineIcon.cs
├── PlayerIcon.cs
├── MissionMarkerIcon.cs
├── NpcIcon.cs
├── Properties
│ └── AssemblyInfo.cs
├── IconsBuilderSettings.cs
├── MonsterIcon.cs
├── MiscIcon.cs
└── IconsBuilder.csproj
├── MinimapIcons
├── README.md
├── packages.config
├── MapIcon.cs
├── MapIconsSettings.cs
├── Properties
│ └── AssemblyInfo.cs
└── MinimapIcons.csproj
├── PreloadAlert
├── README.md
├── packages.config
├── PreloadConfigLine.cs
├── Properties
│ └── AssemblyInfo.cs
└── PreloadAlert.csproj
├── AdvancedTooltip
├── README.md
├── packages.config
├── ItemLevelSettings.cs
├── AdvancedTooltipSettings.cs
├── ItemModsSettings.cs
├── Properties
│ └── AssemblyInfo.cs
├── WeaponDpsSettings.cs
└── AdvancedTooltip.csproj
├── MiscInformation
├── README.md
├── packages.config
├── MiscInformationSettings.cs
├── Properties
│ └── AssemblyInfo.cs
└── MiscInformation.csproj
├── MapsExchange
├── images
│ ├── atlas.psd
│ ├── buy.png
│ ├── Circle.png
│ ├── Circle2.png
│ ├── ImagesAtlas.png
│ ├── AtlasMapCircle.png
│ └── AtlasMapCircleFilled.png
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── Mouse.cs
├── MapsExchange.csproj
├── MapsExchangeSettings.cs
└── PoeTradeProcessor.cs
├── TutorialTextures
└── atlas_generation.png
├── Stashie
├── IIFilter.cs
├── ListIndexNode.cs
├── ElderItemFiler.cs
├── ShaperItemFiler.cs
├── FracturedItemFiler.cs
├── IdentifiedItemFilter.cs
├── CustomFilter.cs
├── BaseFilter.cs
├── FilterParameterCompare.cs
├── README.md
├── FilterResult.cs
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── StashieSettings.cs
├── ItemData.cs
└── Refill.cs
├── DPSMeter
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── DpsMeterSettings.cs
└── DPSMeter.csproj
├── AdvancedUberLabLayout
├── packages.config
├── config.ini
├── Settings.cs
├── Properties
│ └── AssemblyInfo.cs
└── AdvancedUberLabLayout.csproj
├── EliteBar
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── EliteBarSettings.cs
└── EliteBar.csproj
├── XPBar
├── Settings.cs
├── XPBar.sln
├── Properties
│ └── AssemblyInfo.cs
├── XPBar.csproj
└── Core.cs
├── Skill DPS
├── packages.config
├── app.config
├── Core
│ └── Settings.cs
├── Properties
│ └── AssemblyInfo.cs
└── Skill DPS.csproj
└── PassiveSkillTreePlanter
├── packages.config
├── app.config
├── PassiveSkillTreeJson_Downloader.cs
├── UrlDecoders
├── PathOfExileUrlDecoder.cs
└── PoePlannerUrlDecoder.cs
├── PassiveSkillTreePlanter_Settings.cs
├── Properties
└── AssemblyInfo.cs
├── SkillNode.cs
└── SkillTreeJson
├── PoESkillTreeJsonDecoder.cs
└── PoESkillTree.cs
/PickIt/README.md:
--------------------------------------------------------------------------------
1 | PickIt
2 |
--------------------------------------------------------------------------------
/DevTree/README.md:
--------------------------------------------------------------------------------
1 | DevTree
2 |
--------------------------------------------------------------------------------
/ItemAlert/README.md:
--------------------------------------------------------------------------------
1 | ItemAlert
2 |
--------------------------------------------------------------------------------
/HealthBars/README.md:
--------------------------------------------------------------------------------
1 | HealthBars
2 |
--------------------------------------------------------------------------------
/KillCounter/README.md:
--------------------------------------------------------------------------------
1 | KillCounter
2 |
--------------------------------------------------------------------------------
/IconsBuilder/README.md:
--------------------------------------------------------------------------------
1 | IconsBuilder
2 |
--------------------------------------------------------------------------------
/MinimapIcons/README.md:
--------------------------------------------------------------------------------
1 | MinimapIcons
2 |
--------------------------------------------------------------------------------
/PreloadAlert/README.md:
--------------------------------------------------------------------------------
1 | PreloadAlert
2 |
--------------------------------------------------------------------------------
/AdvancedTooltip/README.md:
--------------------------------------------------------------------------------
1 | AdvancedTooltip
2 |
--------------------------------------------------------------------------------
/MiscInformation/README.md:
--------------------------------------------------------------------------------
1 | MiscInformation
2 |
--------------------------------------------------------------------------------
/MapsExchange/images/atlas.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/atlas.psd
--------------------------------------------------------------------------------
/MapsExchange/images/buy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/buy.png
--------------------------------------------------------------------------------
/MapsExchange/images/Circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/Circle.png
--------------------------------------------------------------------------------
/MapsExchange/images/Circle2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/Circle2.png
--------------------------------------------------------------------------------
/MapsExchange/images/ImagesAtlas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/ImagesAtlas.png
--------------------------------------------------------------------------------
/MapsExchange/images/AtlasMapCircle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/AtlasMapCircle.png
--------------------------------------------------------------------------------
/TutorialTextures/atlas_generation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/TutorialTextures/atlas_generation.png
--------------------------------------------------------------------------------
/MapsExchange/images/AtlasMapCircleFilled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Qvin0000/ExileApiPlugins/HEAD/MapsExchange/images/AtlasMapCircleFilled.png
--------------------------------------------------------------------------------
/Stashie/IIFilter.cs:
--------------------------------------------------------------------------------
1 | namespace Stashie
2 | {
3 | public interface IIFilter
4 | {
5 | bool CompareItem(ItemData itemData);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Stashie/ListIndexNode.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Nodes;
2 |
3 | namespace Stashie
4 | {
5 | public class ListIndexNode : ListNode
6 | {
7 | public int Index;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/PickIt/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/HealthBars/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/KillCounter/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Stashie/ElderItemFiler.cs:
--------------------------------------------------------------------------------
1 | namespace Stashie
2 | {
3 | public class ElderItemFiler : IIFilter
4 | {
5 | public bool isElder;
6 |
7 | public bool CompareItem(ItemData itemData)
8 | {
9 | return itemData.isElder == isElder;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Stashie/ShaperItemFiler.cs:
--------------------------------------------------------------------------------
1 | namespace Stashie
2 | {
3 | public class ShaperItemFiler : IIFilter
4 | {
5 | public bool isShaper;
6 |
7 | public bool CompareItem(ItemData itemData)
8 | {
9 | return itemData.isShaper == isShaper;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/DPSMeter/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MinimapIcons/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MapsExchange/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MiscInformation/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Stashie/FracturedItemFiler.cs:
--------------------------------------------------------------------------------
1 | namespace Stashie
2 | {
3 | public class FracturedItemFiler : IIFilter
4 | {
5 | public bool isFractured;
6 |
7 | public bool CompareItem(ItemData itemData)
8 | {
9 | return itemData.isFractured == isFractured;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Stashie/IdentifiedItemFilter.cs:
--------------------------------------------------------------------------------
1 | namespace Stashie
2 | {
3 | public class IdentifiedItemFilter : IIFilter
4 | {
5 | public bool BIdentified;
6 |
7 | public bool CompareItem(ItemData itemData)
8 | {
9 | return itemData.BIdentified == BIdentified;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/AdvancedUberLabLayout/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/IconsBuilder/PortalIcon.cs:
--------------------------------------------------------------------------------
1 | using ExileCore;
2 | using ExileCore.PoEMemory.MemoryObjects;
3 | using ExileCore.Shared.Abstract;
4 |
5 | namespace IconsBuilder
6 | {
7 | public class PortalIcon : BaseIcon
8 | {
9 | public PortalIcon(Entity entity, GameController gameController, IconsBuilderSettings settings) : base(entity, settings)
10 | {
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/EliteBar/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Stashie/CustomFilter.cs:
--------------------------------------------------------------------------------
1 | namespace Stashie
2 | {
3 | public class CustomFilter : BaseFilter
4 | {
5 | public string Name { get; set; }
6 | public ListIndexNode StashIndexNode { get; set; }
7 | public string SubmenuName { get; set; }
8 | public string Commands { get; set; }
9 | public int Index { get; set; }
10 | public bool AllowProcess => StashIndexNode.Index != -1;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/XPBar/Settings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Interfaces;
2 | using ExileCore.Shared.Nodes;
3 |
4 | namespace XPBar
5 | {
6 | public class Settings : ISettings
7 | {
8 | public Settings()
9 | {
10 | ExampleRangeNode = new RangeNode(1, 0, 100);
11 | }
12 |
13 | public RangeNode ExampleRangeNode { get; set; }
14 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/IconsBuilder/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Skill DPS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/AdvancedTooltip/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/PreloadAlert/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Stashie/BaseFilter.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using JM.LinqFaster;
3 |
4 | namespace Stashie
5 | {
6 | public class BaseFilter : IIFilter
7 | {
8 | public List Filters { get; } = new List();
9 | public bool BAny { get; set; }
10 |
11 | public bool CompareItem(ItemData itemData)
12 | {
13 | return BAny ? Filters.AnyF(x => x.CompareItem(itemData)) : Filters.AllF(x => x.CompareItem(itemData));
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Stashie/FilterParameterCompare.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Stashie
4 | {
5 | public class FilterParameterCompare : IIFilter
6 | {
7 | public int CompareInt;
8 | public string CompareString;
9 | public Func CompDeleg;
10 | public Func IntParameter;
11 | public Func StringParameter;
12 |
13 | public bool CompareItem(ItemData itemData)
14 | {
15 | return CompDeleg(itemData);
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Stashie/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ##### How does it work?
6 | Walk up to your stashtab and open it, then press your hotkey (if you have that setting enabled). The plugin will then put all your inventory items in their corresponding tabs. The tab indexes are set by the user via the settings UI. Ignored cells are also featured.
7 |
8 | #### Wanna give feedback?
9 | https://discord.gg/Q3cdy4v
10 |
11 | 
12 |
--------------------------------------------------------------------------------
/ItemAlert/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Skill DPS/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/DevTree/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Stashie/FilterResult.cs:
--------------------------------------------------------------------------------
1 | using SharpDX;
2 |
3 | namespace Stashie
4 | {
5 | public class FilterResult
6 | {
7 | public FilterResult(CustomFilter filter, ItemData itemData)
8 | {
9 | Filter = filter;
10 | ItemData = itemData;
11 | StashIndex = filter.StashIndexNode.Index;
12 | ClickPos = itemData.GetClickPosCache();
13 | }
14 |
15 | public CustomFilter Filter { get; }
16 | public ItemData ItemData { get; }
17 | public int StashIndex { get; }
18 | public Vector2 ClickPos { get; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/PickIt/Misc.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.PoEMemory.Components;
2 | using ExileCore.PoEMemory.MemoryObjects;
3 | using SharpDX;
4 |
5 | namespace PickIt
6 | {
7 | public class Misc
8 | {
9 | public static float EntityDistance(Entity entity, Entity player)
10 | {
11 | var component = entity?.GetComponent();
12 |
13 | if (component == null)
14 | return 9999999f;
15 |
16 | var objectPosition = component.Pos;
17 |
18 | return Vector3.Distance(objectPosition, player.GetComponent().Pos);
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/AdvancedUberLabLayout/config.ini:
--------------------------------------------------------------------------------
1 | {
2 | "Enable": false,
3 | "CurrentImageDateDay": 10,
4 | "ShowImage": true,
5 | "LabType": {
6 | "Values": [
7 | "normal",
8 | "cruel",
9 | "merciless",
10 | "uber"
11 | ],
12 | "Value": "uber"
13 | },
14 | "AutoLabDetection": true,
15 | "X": {
16 | "Value": 500.0
17 | },
18 | "Y": {
19 | "Value": 0.0
20 | },
21 | "Transparency": {
22 | "Value": 255.0
23 | },
24 | "Size": {
25 | "Value": 71.0
26 | },
27 | "ToggleDraw": {
28 | "Value": 46
29 | },
30 | "Reload": {
31 | "Value": 45
32 | }
33 | }
--------------------------------------------------------------------------------
/Stashie/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/PreloadAlert/PreloadConfigLine.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using SharpDX;
3 |
4 | namespace PreloadAlert
5 | {
6 | public class PreloadConfigLine : ConfigLineBase
7 | {
8 | public Func FastColor;
9 | }
10 |
11 | public abstract class ConfigLineBase
12 | {
13 | public string Text { get; set; }
14 | public Color? Color { get; set; }
15 |
16 | public override bool Equals(object obj)
17 | {
18 | return Text == ((ConfigLineBase) obj).Text;
19 | }
20 |
21 | public override int GetHashCode()
22 | {
23 | return Text.GetHashCode();
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ItemAlert/ItemIcon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using ExileCore;
3 | using ExileCore.PoEMemory.MemoryObjects;
4 | using ExileCore.Shared;
5 | using ExileCore.Shared.Abstract;
6 | using ExileCore.Shared.Enums;
7 |
8 | namespace ItemAlert
9 | {
10 | internal class ItemIcon : BaseIcon
11 | {
12 | public ItemIcon(Entity entity, HudTexture hudTexture, Func func, GameController gameController, ItemAlertSettings settings) :
13 | base(entity, settings)
14 | {
15 | MainTexture = hudTexture;
16 | Show = () => func() && entity.IsValid;
17 | MainTexture.Size = settings.LootIcon;
18 | Priority = IconPriority.Medium;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/AdvancedTooltip/ItemLevelSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Interfaces;
2 | using ExileCore.Shared.Nodes;
3 | using SharpDX;
4 |
5 | namespace AdvancedTooltip
6 | {
7 | public class ItemLevelSettings : ISettings
8 | {
9 | public ItemLevelSettings()
10 | {
11 | Enable = new ToggleNode(true);
12 | TextSize = new RangeNode(16, 10, 50);
13 | TextColor = new ColorBGRA(255, 255, 0, 255);
14 | BackgroundColor = new ColorBGRA(0, 0, 0, 230);
15 | }
16 |
17 | public RangeNode TextSize { get; set; }
18 | public ColorNode TextColor { get; set; }
19 | public ColorNode BackgroundColor { get; set; }
20 | public ToggleNode Enable { get; set; }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/IconsBuilder/ShrineIcon.cs:
--------------------------------------------------------------------------------
1 | using ExileCore;
2 | using ExileCore.PoEMemory.Components;
3 | using ExileCore.PoEMemory.MemoryObjects;
4 | using ExileCore.Shared;
5 | using ExileCore.Shared.Abstract;
6 | using ExileCore.Shared.Enums;
7 | using ExileCore.Shared.Helpers;
8 |
9 | namespace IconsBuilder
10 | {
11 | public class ShrineIcon : BaseIcon
12 | {
13 | public ShrineIcon(Entity entity, GameController gameController, IconsBuilderSettings settings) : base(entity, settings)
14 | {
15 | MainTexture = new HudTexture("Icons.png");
16 | MainTexture.UV = SpriteHelper.GetUV(MapIconsIndex.Shrine);
17 | Text = entity.GetComponent()?.Name;
18 | MainTexture.Size = settings.SizeShrineIcon;
19 | Show = () => entity.IsValid && entity.GetComponent().IsAvailable;
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/MinimapIcons/MapIcon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using SharpDX;
3 |
4 | namespace MinimapIcons
5 | {
6 | public class MapIcon
7 | {
8 | public static Vector2 DeltaInWorldToMinimapDelta(Vector2 delta, double diag, float scale, float deltaZ = 0)
9 | {
10 | const float CAMERA_ANGLE = 38 * MathUtil.Pi / 180;
11 |
12 | // Values according to 40 degree rotation of cartesian coordiantes, still doesn't seem right but closer
13 | var cos = (float) (diag * Math.Cos(CAMERA_ANGLE) / scale);
14 | var sin = (float) (diag * Math.Sin(CAMERA_ANGLE) / scale); // possible to use cos so angle = nearly 45 degrees
15 |
16 | // 2D rotation formulas not correct, but it's what appears to work?
17 | return new Vector2((delta.X - delta.Y) * cos, deltaZ - (delta.X + delta.Y) * sin);
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/AdvancedTooltip/AdvancedTooltipSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Attributes;
2 | using ExileCore.Shared.Interfaces;
3 | using ExileCore.Shared.Nodes;
4 |
5 | namespace AdvancedTooltip
6 | {
7 | public class AdvancedTooltipSettings : ISettings
8 | {
9 | public AdvancedTooltipSettings()
10 | {
11 | Enable = new ToggleNode(false);
12 | ItemLevel = new ItemLevelSettings();
13 | ItemMods = new ItemModsSettings();
14 | WeaponDps = new WeaponDpsSettings();
15 | }
16 |
17 | [Menu("Item Level", 10)]
18 | public ItemLevelSettings ItemLevel { get; set; }
19 | [Menu("Item Mods", 20)]
20 | public ItemModsSettings ItemMods { get; set; }
21 | [Menu("Weapon Dps", 30)]
22 | public WeaponDpsSettings WeaponDps { get; set; }
23 | public ToggleNode Enable { get; set; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/IconsBuilder/PlayerIcon.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using ExileCore;
3 | using ExileCore.PoEMemory.Components;
4 | using ExileCore.PoEMemory.MemoryObjects;
5 | using ExileCore.Shared;
6 | using ExileCore.Shared.Abstract;
7 | using ExileCore.Shared.Enums;
8 | using ExileCore.Shared.Helpers;
9 | using SharpDX;
10 |
11 | namespace IconsBuilder
12 | {
13 | public class PlayerIcon : BaseIcon
14 | {
15 | public PlayerIcon(Entity entity, GameController gameController, IconsBuilderSettings settings, Dictionary modIcons) :
16 | base(entity, settings)
17 | {
18 | Show = () => entity.IsValid && !settings.HidePlayers;
19 | if (_HasIngameIcon) return;
20 | MainTexture = new HudTexture("Icons.png") {UV = SpriteHelper.GetUV(MapIconsIndex.OtherPlayer)};
21 | Text = entity.GetComponent().PlayerName;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Skill DPS/Core/Settings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Attributes;
2 | using ExileCore.Shared.Interfaces;
3 | using ExileCore.Shared.Nodes;
4 | using SharpDX;
5 |
6 | namespace Skill_DPS.Core
7 | {
8 | public class Settings : ISettings
9 | {
10 | [Menu("Font Size")]
11 | public RangeNode FontSize { get; set; } = new RangeNode(15, 1, 50);
12 |
13 | [Menu("Font Color")]
14 | public ColorNode FontColor { get; set; } = new Color(216, 216, 216, 255);
15 |
16 | [Menu("Background Color2")]
17 | public ColorNode BackgroundColor { get; set; } = new Color(0, 0, 0, 255);
18 |
19 | [Menu("Border Color")]
20 | public ColorNode BorderColor { get; set; } = new Color(146, 107, 43, 255);
21 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
22 | public RangeNode UpdateInterval { get; set; } = new RangeNode(1000,100,3000);
23 | }
24 | }
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/PassiveSkillTreeJson_Downloader.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using System.Net.Http;
3 | using System.Text.RegularExpressions;
4 | using System.Threading.Tasks;
5 |
6 | namespace PassiveSkillTreePlanter
7 | {
8 | //Many thanks to https://github.com/EmmittJ/PoESkillTree
9 |
10 | public class PassiveSkillTreeJson_Downloader
11 | {
12 | private const string TreeAddress = "https://www.pathofexile.com/passive-skill-tree/";
13 |
14 | public static async Task DownloadSkillTreeToFileAsync(string filePath)
15 | {
16 | var code = await new HttpClient().GetStringAsync(TreeAddress);
17 | var regex = new Regex("var passiveSkillTreeData.*");
18 | var skillTreeObj = regex.Match(code).Value.Replace("\\/", "/");
19 | skillTreeObj = skillTreeObj.Substring(27, skillTreeObj.Length - 27 - 1) + "";
20 | File.WriteAllText(filePath, skillTreeObj);
21 | return skillTreeObj;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/XPBar/XPBar.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPBar", "XPBar.csproj", "{C1B13FD4-C3A3-4C88-818F-497FE34C362F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C1B13FD4-C3A3-4C88-818F-497FE34C362F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C1B13FD4-C3A3-4C88-818F-497FE34C362F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C1B13FD4-C3A3-4C88-818F-497FE34C362F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C1B13FD4-C3A3-4C88-818F-497FE34C362F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/IconsBuilder/MissionMarkerIcon.cs:
--------------------------------------------------------------------------------
1 | using ExileCore;
2 | using ExileCore.PoEMemory.Components;
3 | using ExileCore.PoEMemory.MemoryObjects;
4 | using ExileCore.Shared;
5 | using ExileCore.Shared.Abstract;
6 | using ExileCore.Shared.Helpers;
7 | using SharpDX;
8 |
9 | namespace IconsBuilder
10 | {
11 | public class MissionMarkerIcon : BaseIcon
12 | {
13 | public MissionMarkerIcon(Entity entity, GameController gameController, IconsBuilderSettings settings) : base(entity, settings)
14 | {
15 | MainTexture = new HudTexture();
16 | MainTexture.FileName = "Icons.png";
17 | MainTexture.UV = SpriteHelper.GetUV(16, new Size2F(14, 14));
18 |
19 | Show = () =>
20 | {
21 | var switchState = entity.GetComponent() != null
22 | ? entity.GetComponent().Flag1
23 | : (byte?) null;
24 |
25 | var isTargetable = entity.IsTargetable;
26 | return switchState == 1 || isTargetable;
27 | };
28 |
29 | MainTexture.Size = settings.SizeMiscIcon;
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/AdvancedTooltip/ItemModsSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Interfaces;
2 | using ExileCore.Shared.Nodes;
3 | using SharpDX;
4 |
5 | namespace AdvancedTooltip
6 | {
7 | public class ItemModsSettings : ISettings
8 | {
9 | public ItemModsSettings()
10 | {
11 | Enable = new ToggleNode(true);
12 | ModTextSize = new RangeNode(13, 10, 50);
13 | BackgroundColor = new ColorBGRA(0, 0, 0, 220);
14 | PrefixColor = new ColorBGRA(136, 136, 255, 255);
15 | SuffixColor = new ColorBGRA(0, 206, 209, 255);
16 | T1Color = new ColorBGRA(255, 0, 255, 255);
17 | T2Color = new ColorBGRA(255, 255, 0, 255);
18 | T3Color = new ColorBGRA(0, 255, 0, 255);
19 | }
20 |
21 | public RangeNode ModTextSize { get; set; }
22 | public ColorNode BackgroundColor { get; set; }
23 | public ColorNode PrefixColor { get; set; }
24 | public ColorNode SuffixColor { get; set; }
25 | public ColorNode T1Color { get; set; }
26 | public ColorNode T2Color { get; set; }
27 | public ColorNode T3Color { get; set; }
28 | public ToggleNode Enable { get; set; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/IconsBuilder/NpcIcon.cs:
--------------------------------------------------------------------------------
1 | using ExileCore;
2 | using ExileCore.PoEMemory.Components;
3 | using ExileCore.PoEMemory.MemoryObjects;
4 | using ExileCore.Shared;
5 | using ExileCore.Shared.Abstract;
6 | using ExileCore.Shared.Enums;
7 | using ExileCore.Shared.Helpers;
8 |
9 | namespace IconsBuilder
10 | {
11 | public class NpcIcon : BaseIcon
12 | {
13 | public NpcIcon(Entity entity, GameController gameController, IconsBuilderSettings settings) : base(entity, settings)
14 | {
15 | if (!_HasIngameIcon) MainTexture = new HudTexture("Icons.png");
16 |
17 | MainTexture.Size = settings.SizeNpcIcon;
18 | var component = entity.GetComponent();
19 | Text = component?.Name.Split(',')[0];
20 | Show = () => entity.IsValid;
21 | if (_HasIngameIcon) return;
22 |
23 | if (entity.Path.StartsWith("Metadata/NPC/League/Cadiro"))
24 | MainTexture.UV = SpriteHelper.GetUV(MapIconsIndex.QuestObject);
25 | else if (entity.Path.StartsWith("Metadata/Monsters/LeagueBetrayal/MasterNinjaCop"))
26 | MainTexture.UV = SpriteHelper.GetUV(MapIconsIndex.BetrayalSymbolDjinn);
27 | else
28 | MainTexture.UV = SpriteHelper.GetUV(MapIconsIndex.NPC);
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/MinimapIcons/MapIconsSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Attributes;
2 | using ExileCore.Shared.Interfaces;
3 | using ExileCore.Shared.Nodes;
4 |
5 | namespace MinimapIcons
6 | {
7 | public class MapIconsSettings : ISettings
8 | {
9 | [Menu("Draw Monster")]
10 | public ToggleNode DrawMonsters { get; set; } = new ToggleNode(false);
11 | [Menu("Icons on minimap")]
12 | public ToggleNode IconsOnMinimap { get; set; } = new ToggleNode(true);
13 | [Menu("Icons on large map")]
14 | public ToggleNode IconsOnLargeMap { get; set; } = new ToggleNode(true);
15 | [Menu("Size secondory icon")]
16 | public RangeNode SecondaryIconSize { get; set; } = new RangeNode(10, 1, 25);
17 | [Menu("Hidden monster icon size")]
18 | public RangeNode HideSize { get; set; } = new RangeNode(1, 0, 1);
19 | [Menu("Z for text")]
20 | public RangeNode ZForText { get; set; } = new RangeNode(-10, -50, 50);
21 | public ToggleNode DrawOnlyOnLargeMap { get; set; } = new ToggleNode(true);
22 | public ToggleNode MultiThreading { get; set; } = new ToggleNode(false);
23 | public ToggleNode DrawNotValid { get; set; } = new ToggleNode(true);
24 | public ToggleNode Enable { get; set; } = new ToggleNode(false);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/MiscInformation/MiscInformationSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Interfaces;
2 | using ExileCore.Shared.Nodes;
3 | using SharpDX;
4 |
5 | namespace MiscInformation
6 | {
7 | public class MiscInformationSettings : ISettings
8 | {
9 | public MiscInformationSettings()
10 | {
11 | BackgroundColor = new ColorBGRA(0, 0, 0, 255);
12 | AreaTextColor = new ColorBGRA(140, 200, 255, 255);
13 | XphTextColor = new ColorBGRA(220, 190, 130, 255);
14 | XphGetLeft = new ColorBGRA(220, 190, 130, 255);
15 | TimeLeftColor = new ColorBGRA(220, 190, 130, 255);
16 | FpsTextColor = new ColorBGRA(220, 190, 130, 255);
17 | TimerTextColor = new ColorBGRA(220, 190, 130, 255);
18 | LatencyTextColor = new ColorBGRA(220, 190, 130, 255);
19 | }
20 |
21 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
22 | public ColorNode BackgroundColor { get; set; }
23 | public ColorNode AreaTextColor { get; set; }
24 | public ColorNode XphTextColor { get; set; }
25 | public ColorNode XphGetLeft { get; set; }
26 | public ColorNode TimeLeftColor { get; set; }
27 | public ColorNode FpsTextColor { get; set; }
28 | public ColorNode TimerTextColor { get; set; }
29 | public ColorNode LatencyTextColor { get; set; }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/DevTree/Helpers.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using SharpDX;
5 |
6 | namespace DevTree
7 | {
8 | public partial class DevPlugin
9 | {
10 | private static readonly HashSet PrimitiveTypes = new HashSet
11 | {
12 | typeof(Enum),
13 | typeof(string),
14 | typeof(decimal),
15 | typeof(DateTime),
16 | typeof(TimeSpan),
17 | typeof(Guid),
18 | typeof(Vector2),
19 | typeof(Vector3)
20 | };
21 |
22 | public static bool IsEnumerable(Type type)
23 | {
24 | return typeof(IEnumerable).IsAssignableFrom(type) || typeof(IEnumerable<>).IsAssignableFrom(type);
25 | }
26 |
27 | public static bool IsCollection(Type type)
28 | {
29 | return typeof(ICollection).IsAssignableFrom(type) || typeof(ICollection<>).IsAssignableFrom(type);
30 | }
31 |
32 | public static bool IsSimpleType(Type type)
33 | {
34 | return type.IsPrimitive || PrimitiveTypes.Contains(type) || Convert.GetTypeCode(type) != TypeCode.Object ||
35 | type.BaseType == typeof(Enum) || type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>) &&
36 | IsSimpleType(type.GetGenericArguments()[0]);
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/UrlDecoders/PathOfExileUrlDecoder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text.RegularExpressions;
4 |
5 | namespace PassiveSkillTreePlanter.UrlDecoders
6 | {
7 | public class PathOfExileUrlDecoder
8 | {
9 | //Many thanks to https://github.com/EmmittJ/PoESkillTree
10 | private static readonly Regex UrlRegex =
11 | new Regex(@"(http(|s):\/\/|)(\w*\.|)pathofexile\.com\/(fullscreen-|)passive-skill-tree\/(?[\w-=]+)");
12 |
13 | public static bool UrlMatch(string buildUrl)
14 | {
15 | return UrlRegex.IsMatch(buildUrl);
16 | }
17 |
18 | public static List Decode(string url)
19 | {
20 | var nodesId = new List();
21 |
22 | var textToDecode = url.Substring(url.IndexOf("tree/") + 5).Replace("-", "+").Replace("_", "/");
23 |
24 | var data = Convert.FromBase64String(textToDecode);
25 |
26 | var Version = (data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3];
27 | var Class = data[4];
28 | var aClass = data[5];
29 |
30 | for (var k = Version > 3 ? 7 : 6; k < data.Length; k += 2)
31 | {
32 | var nodeId = (ushort) ((data[k] << 8) | data[k + 1]);
33 | nodesId.Add(nodeId);
34 | }
35 |
36 | return nodesId;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/PickIt/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("PickIt")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("PickIt")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("286eb4c6-31a1-4b8e-bf5a-83f9591ae322")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Stashie/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("Stashie")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("Stashie")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("eed0427d-d8eb-4ebc-9f6f-4ae49a83963e")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/DPSMeter/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("DPSMeter")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("DPSMeter")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("daeab5b7-1485-4bf3-b09c-0b9f7a5cc89b")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/DevTree/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("DevTree")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("DevTree")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("EBC7708C-CDD2-4997-A482-D39F9986DDB5")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/EliteBar/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("EliteBar")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("EliteBar")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("d13cd5d2-f97f-43eb-962a-116e84b23017")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/ItemAlert/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("ItemAlert")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("ItemAlert")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("fd3e6670-b40e-458c-9c77-a60c7c0cda31")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/HealthBars/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("HealthBars")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("HealthBars")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("4dee86d7-5666-4b10-93c2-0cceef3799e5")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/AdvancedUberLabLayout/Settings.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms;
2 | using ExileCore.Shared.Attributes;
3 | using ExileCore.Shared.Interfaces;
4 | using ExileCore.Shared.Nodes;
5 |
6 | public class Settings : ISettings
7 | {
8 | public int CurrentImageDateDay = -1;
9 | public bool ShowImage = true;
10 |
11 | public Settings()
12 | {
13 | LabType = new ListNode {Value = "uber"};
14 | AutoLabDetection = new ToggleNode(true);
15 | X = new RangeNode(500, 0, 2000);
16 | Y = new RangeNode(0, 0, 2000);
17 |
18 | Transparency = new RangeNode(255, 0, 255);
19 | Size = new RangeNode(100, 10, 300);
20 |
21 | ToggleDraw = new HotkeyNode(Keys.Delete);
22 | Reload = new HotkeyNode(Keys.Insert);
23 | }
24 |
25 | [Menu("Lab Type")]
26 | public ListNode LabType { get; set; }
27 | [Menu("Auto Lab Detection")]
28 | public ToggleNode AutoLabDetection { get; set; }
29 | [Menu("Position X")]
30 | public RangeNode X { get; set; }
31 | [Menu("Position Y")]
32 | public RangeNode Y { get; set; }
33 | [Menu("Opacity")]
34 | public RangeNode Transparency { get; set; }
35 | [Menu("Size")]
36 | public RangeNode Size { get; set; }
37 | [Menu("Toggle Display")]
38 | public HotkeyNode ToggleDraw { get; set; }
39 | [Menu("Force Reload")]
40 | public HotkeyNode Reload { get; set; }
41 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
42 | }
43 |
--------------------------------------------------------------------------------
/KillCounter/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("KillCounter")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("KillCounter")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("b80f3d7e-eb08-44a6-9fc0-0e704820b920")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/MinimapIcons/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("MinBaseIcons")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("MinBaseIcons")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("1ae459c5-308a-4a4e-95e3-4a87c57d2087")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/IconsBuilder/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("IconsBuilder")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("IconsBuilder")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("0D4BAE14-C9FF-47E1-8B60-D8A859512B20")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/MapsExchange/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("MapsExchange")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("MapsExchange")]
12 | [assembly: AssemblyCopyright("Copyright © 2016")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("48d21d6f-16aa-42dd-bd99-66f006c9b73b")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/PreloadAlert/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("PreloadAlert")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("PreloadAlert")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("8B098CA6-52E6-4D70-9F00-6802AA2E464F")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/AdvancedTooltip/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("AdvancedTooltip")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("AdvancedTooltip")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("e15ff26b-5d91-4492-a8bd-c9f5b60d8845")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/MiscInformation/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("MiscInformation")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("MiscInformation")]
12 | [assembly: AssemblyCopyright("Copyright © 2019")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("fe6bc0c3-db0e-4808-b99f-9c5d39ae1842")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/DPSMeter/DpsMeterSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Attributes;
2 | using ExileCore.Shared.Interfaces;
3 | using ExileCore.Shared.Nodes;
4 | using SharpDX;
5 |
6 | namespace DPSMeter
7 | {
8 | public class DPSMeterSettings : ISettings
9 | {
10 | public DPSMeterSettings()
11 | {
12 | ShowInTown = new ToggleNode(false);
13 | DpsFontColor = new ColorBGRA(220, 190, 130, 255);
14 | PeakFontColor = new ColorBGRA(220, 190, 130, 255);
15 | BackgroundColor = new ColorBGRA(0, 0, 0, 255);
16 | ClearNode = new ButtonNode();
17 | }
18 |
19 | public ToggleNode Enable { get; set; } = new ToggleNode(false);
20 | public ToggleNode ShowInTown { get; set; }
21 |
22 | // public RangeNode TextSize { get; set; } = new RangeNode(16, 10, 20);
23 | public ColorNode DpsFontColor { get; set; }
24 | public ColorNode PeakFontColor { get; set; }
25 | public ColorNode BackgroundColor { get; set; }
26 | public ButtonNode ClearNode { get; set; }
27 | [Menu("Show AOE")]
28 | public ToggleNode ShowAOE { get; set; } = new ToggleNode(true);
29 | public ToggleNode ShowCurrentHitDamage { get; set; } = new ToggleNode(true);
30 | public ToggleNode HasCullingStrike { get; set; } = new ToggleNode(false);
31 | public RangeNode UpdateTime { get; set; } = new RangeNode(100, 50, 2000);
32 | public ToggleNode MultiThreading { get; set; } = new ToggleNode(false);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/XPBar/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("XPBar")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("XPBar")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("c1b13fd4-c3a3-4c88-818f-497fe34c362f")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/AdvancedUberLabLayout/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("AdvancedUberLabLayout")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("AdvancedUberLabLayout")]
12 | [assembly: AssemblyCopyright("Copyright © 2017")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("3c72be7e-bc50-4fd1-abb1-70eec9a88620")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/PassiveSkillTreePlanter_Settings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Attributes;
2 | using ExileCore.Shared.Interfaces;
3 | using ExileCore.Shared.Nodes;
4 | using SharpDX;
5 | using ImGuiVector2 = System.Numerics.Vector2;
6 |
7 | namespace PassiveSkillTreePlanter
8 | {
9 | public class PassiveSkillTreePlanterSettings : ISettings
10 | {
11 | public PassiveSkillTreePlanterSettings()
12 | {
13 | PickedBorderColor = new ColorNode(Color.Gray);
14 | UnpickedBorderColor = new ColorNode(Color.Green);
15 | WrongPickedBorderColor = new ColorNode(Color.Red);
16 | LineWidth = new RangeNode(3, 0, 5);
17 | LineColor = new ColorNode(new Color(0, 255, 0, 50));
18 | SelectedURLFile = string.Empty;
19 | }
20 |
21 | public RangeNode PickedBorderWidth { get; set; } = new RangeNode(1, 1, 5);
22 | public RangeNode UnpickedBorderWidth { get; set; } = new RangeNode(3, 1, 5);
23 | public RangeNode WrongPickedBorderWidth { get; set; } = new RangeNode(3, 1, 5);
24 | public ColorNode PickedBorderColor { get; set; }
25 | public ColorNode UnpickedBorderColor { get; set; }
26 | public ColorNode WrongPickedBorderColor { get; set; }
27 | public RangeNode LineWidth { get; set; }
28 | public ColorNode LineColor { get; set; }
29 | public string SelectedURLFile { get; set; }
30 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("PassiveSkillTreePlanter")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("PassiveSkillTreePlanter")]
12 | [assembly: AssemblyCopyright("Copyright © 2017")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("caa01498-5c8a-429f-8bb8-57e29dd05e6e")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Skill DPS/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Test_Environment")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Test_Environment")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("1df43765-ff6e-478d-8d85-55c07ae137de")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/AdvancedTooltip/WeaponDpsSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Interfaces;
2 | using ExileCore.Shared.Nodes;
3 | using SharpDX;
4 |
5 | namespace AdvancedTooltip
6 | {
7 | public class WeaponDpsSettings : ISettings
8 | {
9 | public WeaponDpsSettings()
10 | {
11 | Enable = new ToggleNode(true);
12 | TextColor = new ColorBGRA(254, 192, 118, 255);
13 | DpsTextSize = new RangeNode(16, 10, 50);
14 | DpsNameTextSize = new RangeNode(13, 10, 50);
15 | BackgroundColor = new ColorBGRA(255, 255, 0, 255);
16 | DmgColdColor = new ColorBGRA(54, 100, 146, 255);
17 | DmgFireColor = new ColorBGRA(150, 0, 0, 255);
18 | DmgLightningColor = new ColorBGRA(255, 215, 0, 255);
19 | DmgChaosColor = new ColorBGRA(208, 31, 144, 255);
20 | pDamageColor = new ColorBGRA(255, 255, 255, 255);
21 | eDamageColor = new ColorBGRA(0, 255, 255, 255);
22 | }
23 |
24 | public ColorNode TextColor { get; set; }
25 | public RangeNode DpsTextSize { get; set; }
26 | public RangeNode DpsNameTextSize { get; set; }
27 | public ColorNode BackgroundColor { get; set; }
28 | public ColorNode DmgFireColor { get; set; }
29 | public ColorNode DmgColdColor { get; set; }
30 | public ColorNode DmgLightningColor { get; set; }
31 | public ColorNode DmgChaosColor { get; set; }
32 | public ColorNode pDamageColor { get; set; }
33 | public ColorNode eDamageColor { get; set; }
34 | public ToggleNode Enable { get; set; }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/DevTree/DevTreeSettings.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms;
2 | using ExileCore.Shared.Attributes;
3 | using ExileCore.Shared.Interfaces;
4 | using ExileCore.Shared.Nodes;
5 |
6 | namespace DevTree
7 | {
8 | public class DevSetting : ISettings
9 | {
10 | public bool Opened = false;
11 |
12 | public DevSetting()
13 | {
14 | DebugNearestEnts = Keys.NumPad6;
15 | DebugHoverItem = Keys.NumPad5;
16 | NearestEntsRange = new RangeNode(300, 1, 2000);
17 | LimitEntriesDrawn = new ToggleNode(true);
18 | EntriesDrawLimit = new RangeNode(500, 1, 5000);
19 | Enable = new ToggleNode(true);
20 | LimitForCollection = new RangeNode(500, 2, 5000);
21 | }
22 |
23 | [Menu("Toggle window", 0)]
24 | public ToggleNode ToggleWindow { get; set; } = new ToggleNode(false);
25 | [Menu("Toggle window key")]
26 | public HotkeyNode ToggleWindowKey { get; set; } = new HotkeyNode(Keys.NumPad9);
27 |
28 | [Menu("Debug Nearest Ents")]
29 | public HotkeyNode DebugNearestEnts { get; set; }
30 | [Menu("Debug Hover Item")]
31 | public HotkeyNode DebugHoverItem { get; set; }
32 | [Menu("Nearest Ents Range")]
33 | public RangeNode NearestEntsRange { get; set; }
34 | [Menu("Limit for collections")]
35 | public RangeNode LimitForCollection { get; set; }
36 | [Menu("Limit Entries Drawn", 0)]
37 | public ToggleNode LimitEntriesDrawn { get; set; }
38 | [Menu("Entries Draw Limit", 1, 0)]
39 | public RangeNode EntriesDrawLimit { get; set; }
40 | public ToggleNode Enable { get; set; }
41 |
42 | public bool ToggleWindowState;//Just save the state
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/ItemAlert/ItemAlertSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Interfaces;
2 | using ExileCore.Shared.Nodes;
3 |
4 | namespace ItemAlert
5 | {
6 | public class ItemAlertSettings : ISettings
7 | {
8 | public RangeNode DimOtherByPercent = new RangeNode(100, 1, 100);
9 | public ToggleNode Alternative { get; set; } = new ToggleNode(true);
10 | public ToggleNode ShowItemOnMap { get; set; } = new ToggleNode(true);
11 | public FileNode FilePath { get; set; } = "config/my.filter";
12 | public ToggleNode WithBorder { get; set; } = new ToggleNode(true);
13 | public ToggleNode WithSound { get; set; } = new ToggleNode(true);
14 | public RangeNode LootIcon { get; set; } = new RangeNode(7, 1, 50);
15 | public ToggleNode LootIconBorderColor { get; set; } = new ToggleNode(false);
16 | public RangeNode ItemAlertUpdateTime { get; set; } = new RangeNode(50, 10, 1000);
17 | public RangeNode ItemAlertLimitWork { get; set; } = new RangeNode(250, 10, 1000);
18 | public ToggleNode ShowText { get; set; } = new ToggleNode(true);
19 | public ToggleNode HideOthers { get; set; } = new ToggleNode(true);
20 | public RangeNode TextSize { get; set; } = new RangeNode(16, 10, 50);
21 | public ToggleNode DimOtherByPercentToggle { get; set; } = new ToggleNode(true);
22 | public ToggleNode BorderSettings { get; set; } = new ToggleNode(true);
23 | public ToggleNode UseDiamond { get; set; } = new ToggleNode(true);
24 | public ToggleNode MultiThreading { get; set; } = new ToggleNode(false);
25 | public RangeNode MultiThreadingWhenItemMoreThan { get; set; } = new RangeNode(30, 5, 500);
26 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/ItemAlert/AlertDrawStyle.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Diagnostics;
3 | using ExileCore.Shared.Enums;
4 | using ExileCore.Shared.Static;
5 | using SharpDX;
6 |
7 | namespace ItemAlert
8 | {
9 | [DebuggerDisplay("{Text}")]
10 | public sealed class AlertDrawStyle
11 | {
12 | public static readonly Color DefaultBackgroundColor = new ColorBGRA(0, 0, 0, 180);
13 |
14 | private static readonly Dictionary colors = new Dictionary
15 | {
16 | {ItemRarity.Normal, Color.White},
17 | {ItemRarity.Magic, HudSkin.MagicColor},
18 | {ItemRarity.Rare, HudSkin.RareColor},
19 | {ItemRarity.Unique, HudSkin.UniqueColor}
20 | };
21 |
22 | public AlertDrawStyle(object colorRef, int borderWidth, string text, int iconIndex)
23 | {
24 | BorderWidth = borderWidth;
25 | Text = text;
26 | IconIndex = iconIndex;
27 |
28 | if (colorRef is Color)
29 | TextColor = (Color) colorRef;
30 | else
31 | TextColor = GetTextColorByRarity((ItemRarity) colorRef);
32 |
33 | BorderColor = TextColor;
34 | BackgroundColor = DefaultBackgroundColor;
35 | }
36 |
37 | public AlertDrawStyle(string text, Color textColor, int borderWidth, Color borderColor, Color backgroundColor, int iconIndex)
38 | {
39 | TextColor = textColor;
40 | BorderWidth = borderWidth;
41 | BorderColor = borderColor;
42 | Text = text;
43 | IconIndex = iconIndex;
44 | BackgroundColor = backgroundColor;
45 | }
46 |
47 | public Color TextColor { get; }
48 | public int BorderWidth { get; }
49 | public Color BorderColor { get; }
50 | public Color BackgroundColor { get; }
51 | public string Text { get; }
52 | public int IconIndex { get; }
53 |
54 | public static Color GetTextColorByRarity(ItemRarity itemRarity)
55 | {
56 | Color tempColor;
57 | return colors.TryGetValue(itemRarity, out tempColor) ? tempColor : Color.White;
58 | }
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/SkillNode.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using SharpDX;
4 |
5 | namespace PassiveSkillTreePlanter
6 | {
7 | public class SkillNode
8 | {
9 | public static float[] OrbitRadii = {0, 81.5f, 163, 326, 489};
10 | public static float[] SkillsPerOrbit = {1, 6, 12, 12, 40};
11 | public bool bJevel;
12 | public bool bKeyStone;
13 | public bool bMastery;
14 | public bool bMult;
15 | public bool bNotable;
16 | public List DrawNodeLinks = new List();
17 | public Vector2 DrawPosition;
18 |
19 | //Cached for drawing
20 | public float DrawSize = 100;
21 | public ushort Id; // "id": -28194677,
22 | public List linkedNodes = new List();
23 | public string Name; //"dn": "Block Recovery",
24 | public int Orbit; // "o": 1,
25 | public int OrbitIndex; // "oidx": 3,
26 | public SkillNodeGroup SkillNodeGroup;
27 |
28 | public Vector2 Position
29 | {
30 | get
31 | {
32 | if (SkillNodeGroup == null) return new Vector2();
33 | double d = OrbitRadii[Orbit];
34 | return SkillNodeGroup.Position - new Vector2((float) (d * Math.Sin(-Arc)), (float) (d * Math.Cos(-Arc)));
35 | }
36 | }
37 |
38 | public double Arc => GetOrbitAngle(OrbitIndex, (int) SkillsPerOrbit[Orbit]);
39 |
40 | public void Init()
41 | {
42 | DrawPosition = Position;
43 |
44 | if (bJevel)
45 | DrawSize = 160;
46 |
47 | if (bNotable)
48 | DrawSize = 170;
49 |
50 | if (bKeyStone)
51 | DrawSize = 250;
52 | }
53 |
54 | private static double GetOrbitAngle(int orbitIndex, int maxNodePositions)
55 | {
56 | return 2 * Math.PI * orbitIndex / maxNodePositions;
57 | }
58 | }
59 |
60 | public class SkillNodeGroup
61 | {
62 | public List Nodes = new List();
63 | public Dictionary OcpOrb = new Dictionary();
64 | public Vector2 Position;
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/MapsExchange/Mouse.cs:
--------------------------------------------------------------------------------
1 | using System.Runtime.InteropServices;
2 | using System.Threading;
3 | using SharpDX;
4 |
5 | namespace MapsExchange
6 | {
7 | internal class Mouse
8 | {
9 | public enum MouseEvents
10 | {
11 | LeftDown = 0x00000002,
12 | LeftUp = 0x00000004,
13 | MiddleDown = 0x00000020,
14 | MiddleUp = 0x00000040,
15 | Move = 0x00000001,
16 | Absolute = 0x00008000,
17 | RightDown = 0x00000008,
18 | RightUp = 0x00000010
19 | }
20 |
21 | public const int DELAY_MOVE = 20;
22 | public const int DELAY_CLICK = 5;
23 |
24 | [DllImport("user32.dll")]
25 | public static extern bool SetCursorPos(int x, int y);
26 |
27 | [DllImport("user32.dll")]
28 | public static extern bool GetCursorPos(out Point lpPoint);
29 |
30 | public static Point GetCursorPosition()
31 | {
32 | Point lpPoint;
33 | GetCursorPos(out lpPoint);
34 |
35 | return lpPoint;
36 | }
37 |
38 | [DllImport("user32.dll")]
39 | private static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo);
40 |
41 | public static void moveMouse(Vector2 pos)
42 | {
43 | SetCursorPos((int) pos.X, (int) pos.Y);
44 | Thread.Sleep(DELAY_MOVE);
45 | }
46 |
47 | public static void LeftDown(int delay)
48 | {
49 | mouse_event((int) MouseEvents.LeftDown, 0, 0, 0, 0);
50 | Thread.Sleep(DELAY_CLICK + delay);
51 | }
52 |
53 | public static void LeftUp(int delay)
54 | {
55 | mouse_event((int) MouseEvents.LeftUp, 0, 0, 0, 0);
56 | Thread.Sleep(DELAY_CLICK + delay);
57 | }
58 |
59 | public static void RightDown(int delay)
60 | {
61 | mouse_event((int) MouseEvents.RightDown, 0, 0, 0, 0);
62 | Thread.Sleep(DELAY_CLICK + delay);
63 | }
64 |
65 | public static void RightUp(int delay)
66 | {
67 | mouse_event((int) MouseEvents.RightUp, 0, 0, 0, 0);
68 | Thread.Sleep(DELAY_CLICK + delay);
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/UrlDecoders/PoePlannerUrlDecoder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text.RegularExpressions;
5 | using ExileCore;
6 |
7 | namespace PassiveSkillTreePlanter.UrlDecoders
8 | {
9 | public class PoePlannerUrlDecoder
10 | {
11 | //Many thanks to https://github.com/EmmittJ/PoESkillTree
12 | private static readonly Regex UrlRegex = new Regex(@"(http(|s):\/\/|)(\w*\.|)poeplanner\.com\/(?[\w-=]+)");
13 |
14 | public static bool UrlMatch(string buildUrl)
15 | {
16 | return UrlRegex.IsMatch(buildUrl);
17 | }
18 |
19 | public static List Decode(string url)
20 | {
21 | var nodesId = new List();
22 |
23 | var buildSegment = url.Split('/').LastOrDefault();
24 |
25 | if (buildSegment == null)
26 | {
27 | Logger.Log.Error("Can't decode PoePlanner Url", 5);
28 | return new List();
29 | }
30 |
31 | buildSegment = buildSegment
32 | .Replace("-", "+")
33 | .Replace("_", "/");
34 |
35 | var rawBytes = Convert.FromBase64String(buildSegment);
36 |
37 | var skillsBuffSize = (rawBytes[3] << 8) | rawBytes[4];
38 |
39 | //var aurasBuffSize = rawBytes[5 + skillsBuffSize] << 8 | rawBytes[6 + skillsBuffSize];
40 | //var equipBuffSize = rawBytes[7 + skillsBuffSize + aurasBuffSize] << 8 | rawBytes[8 + skillsBuffSize + aurasBuffSize];
41 |
42 | var NodesData = new byte[skillsBuffSize];
43 | Array.Copy(rawBytes, 5, NodesData, 0, skillsBuffSize);
44 |
45 | //var skilledNodesCount = NodesData[2] << 8 | NodesData[3];
46 |
47 | //int i = 4;
48 | try
49 | {
50 | for (var i = 4; i < skillsBuffSize - 1; i += 2)
51 | {
52 | nodesId.Add((ushort) ((NodesData[i] << 8) | NodesData[i + 1]));
53 | }
54 |
55 | /*
56 | while (i < skillsBuffSize + 3)
57 | {
58 | nodesId.Add((ushort)(NodesData[i++] << 8 | NodesData[i++]));
59 | }
60 | */
61 | }
62 | catch
63 | {
64 | Logger.Log.Error("Error while parsing some PoePlanner nodes from Url.", 5);
65 | }
66 |
67 | return nodesId;
68 | }
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/IconsBuilder/IconsBuilderSettings.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.Shared.Attributes;
2 | using ExileCore.Shared.Interfaces;
3 | using ExileCore.Shared.Nodes;
4 |
5 | namespace IconsBuilder
6 | {
7 | public class IconsBuilderSettings : ISettings
8 | {
9 | [Menu("Default size")]
10 | public float SizeDefaultIcon { get; set; } = new RangeNode(16, 1, 50);
11 | [Menu("Size NPC icon")]
12 | public RangeNode SizeNpcIcon { get; set; } = new RangeNode(10, 1, 50);
13 | [Menu("Size monster icon")]
14 | public RangeNode SizeEntityWhiteIcon { get; set; } = new RangeNode(10, 1, 50);
15 | [Menu("Size magic monster icon")]
16 | public RangeNode SizeEntityMagicIcon { get; set; } = new RangeNode(10, 1, 50);
17 | [Menu("Size rare monster icon")]
18 | public RangeNode SizeEntityRareIcon { get; set; } = new RangeNode(10, 1, 50);
19 | [Menu("Size unique monster icon")]
20 | public RangeNode SizeEntityUniqueIcon { get; set; } = new RangeNode(10, 1, 50);
21 | [Menu("Size breach chest icon")]
22 | public RangeNode SizeBreachChestIcon { get; set; } = new RangeNode(10, 1, 50);
23 | [Menu("Size chests icon")]
24 | public RangeNode SizeChestIcon { get; set; } = new RangeNode(10, 1, 50);
25 | [Menu("Show small chests")]
26 | public ToggleNode ShowSmallChest { get; set; } = new ToggleNode(false);
27 | [Menu("Size small chests icon")]
28 | public RangeNode SizeSmallChestIcon { get; set; } = new RangeNode(10, 1, 50);
29 | [Menu("Size misc icon")]
30 | public RangeNode SizeMiscIcon { get; set; } = new RangeNode(10, 1, 50);
31 | [Menu("Size shrine icon")]
32 | public RangeNode SizeShrineIcon { get; set; } = new RangeNode(10, 1, 50);
33 | [Menu("Size secondory icon")]
34 | public RangeNode SecondaryIconSize { get; set; } = new RangeNode(10, 1, 50);
35 | [Menu("Hidden monster icon size")]
36 | public RangeNode HideSize { get; set; } = new RangeNode(1, 0, 1);
37 | [Menu("Debug information about entities")]
38 | public ToggleNode LogDebugInformation { get; set; } = new ToggleNode(true);
39 | [Menu("Reparse entities")]
40 | public ButtonNode Reparse { get; set; } = new ButtonNode();
41 | public ToggleNode MultiThreading { get; set; } = new ToggleNode(false);
42 | public RangeNode MultiThreadingWhenEntityMoreThan { get; set; } = new RangeNode(10, 1, 200);
43 | public ToggleNode HidePlayers { get; set; } = new ToggleNode(false);
44 | public ToggleNode HideMinions { get; set; } = new ToggleNode(false);
45 | public ToggleNode Enable { get; set; } = new ToggleNode(true);
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/Stashie/StashieSettings.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Windows.Forms;
3 | using ExileCore.Shared.Attributes;
4 | using ExileCore.Shared.Interfaces;
5 | using ExileCore.Shared.Nodes;
6 |
7 | namespace Stashie
8 | {
9 | public class StashieSettings : ISettings
10 | {
11 | public List AllStashNames = new List();
12 | public Dictionary CustomFilterOptions;
13 | public Dictionary> CustomRefillOptions;
14 |
15 | public StashieSettings()
16 | {
17 | Enable = new ToggleNode(false);
18 | RequireHotkey = new ToggleNode(true);
19 | DropHotkey = Keys.F3;
20 | ExtraDelay = new RangeNode(0, 0, 2000);
21 | MouseSpeed = new RangeNode(10, 0, 50);
22 | BlockInput = new ToggleNode(false);
23 | UseArrow = new ToggleNode(true);
24 | RefillCurrency = new ToggleNode(false);
25 | CurrencyStashTab = new ListIndexNode();
26 | AllowHaveMore = new ToggleNode(false);
27 | CustomFilterOptions = new Dictionary();
28 | CustomRefillOptions = new Dictionary>();
29 | VisitTabWhenDone = new ToggleNode(false);
30 | TabToVisitWhenDone = new RangeNode(0, 0, 40);
31 | }
32 |
33 | [Menu("Settings", 500)]
34 | public EmptyNode Settings { get; set; }
35 | [Menu("Require Hotkey", "If you just want Stashie to drop items to stash, as soon as you open it.", 1000, 500)]
36 | public ToggleNode RequireHotkey { get; set; }
37 | [Menu("Hotkey", 1001, 1000)]
38 | public HotkeyNode DropHotkey { get; set; }
39 | [Menu("Extra Delay", "Is it going too fast? Then add a delay (in ms).", 2000, 500)]
40 | public RangeNode ExtraDelay { get; set; }
41 | [Menu("Block Input", "Block user input (except: Ctrl+Alt+Delete) when dropping items to stash.", 3000, 500)]
42 | public ToggleNode BlockInput { get; set; }
43 | [Menu("When done, go to tab.", "After Stashie has dropped all items to their respective tabs, then go to the following tab.", 4000,
44 | 500)]
45 | public ToggleNode VisitTabWhenDone { get; set; }
46 | [Menu("tab (index)", 4001, 4000)]
47 | public RangeNode TabToVisitWhenDone { get; set; }
48 | public ToggleNode RefillCurrency { get; set; }
49 | public ListIndexNode CurrencyStashTab { get; set; }
50 | public ToggleNode AllowHaveMore { get; set; }
51 | [Menu("Use keyboard arrow", "For switch", 5000, 500)]
52 | public ToggleNode UseArrow { get; set; }
53 | [Menu("Mouse Steps", "", 5001, 500)]
54 | public RangeNode MouseSpeed { get; set; }
55 | public ToggleNode Enable { get; set; }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/PassiveSkillTreePlanter/SkillTreeJson/PoESkillTreeJsonDecoder.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using ExileCore;
3 | using Newtonsoft.Json;
4 | using SharpDX;
5 |
6 | namespace PassiveSkillTreePlanter.SkillTreeJson
7 | {
8 | //Many thanks to https://github.com/EmmittJ/PoESkillTree
9 |
10 | public class PoESkillTreeJsonDecoder
11 | {
12 | public List NodeGroups;
13 | public List Nodes;
14 | public Dictionary Skillnodes;
15 | public PoESkillTree SkillTree;
16 |
17 | public void Decode(string jsonTree)
18 | {
19 | Nodes = new List();
20 |
21 | var jss = new JsonSerializerSettings
22 | {
23 | Error = (sender, args) =>
24 | {
25 | // This one is known: "509":{"x":_,"y":_,"oo":[],"n":[]}} has an Array in "oo".
26 | // if (args.ErrorContext.Path != "groups.509.oo")
27 | // PoeHUD.Plugins.BasePlugin.LogError("Exception while deserializing Json tree" + args.ErrorContext.Error, 5);
28 | if (args.ErrorContext.Path == null || !args.ErrorContext.Path.EndsWith(".oo"))
29 | Logger.Log.Error("Exception while deserializing Json tree" + args.ErrorContext.Error);
30 |
31 | args.ErrorContext.Handled = true;
32 | }
33 | };
34 |
35 | SkillTree = JsonConvert.DeserializeObject(jsonTree, jss);
36 | Skillnodes = new Dictionary();
37 | NodeGroups = new List();
38 |
39 | foreach (var nd in SkillTree.nodes)
40 | {
41 | var skillNode = new SkillNode
42 | {
43 | Id = nd.Value.id, Name = nd.Value.dn, Orbit = nd.Value.o, OrbitIndex = nd.Value.oidx, bJevel = nd.Value.isJewelSocket,
44 | bKeyStone = nd.Value.ks, bMastery = nd.Value.m, bMult = nd.Value.isMultipleChoice, bNotable = nd.Value.not,
45 | linkedNodes = nd.Value._out
46 | };
47 |
48 | Nodes.Add(skillNode);
49 | Skillnodes.Add(nd.Value.id, skillNode);
50 | }
51 |
52 | NodeGroups = new List();
53 |
54 | foreach (var gp in SkillTree.groups)
55 | {
56 | var ng = new SkillNodeGroup();
57 | ng.OcpOrb = gp.Value.oo;
58 | ng.Position = new Vector2((float) gp.Value.x, (float) gp.Value.y);
59 |
60 | foreach (var node in gp.Value.n)
61 | {
62 | var nodeToAdd = Skillnodes[node];
63 | ng.Nodes.Add(nodeToAdd);
64 | nodeToAdd.SkillNodeGroup = ng;
65 | }
66 |
67 | NodeGroups.Add(ng);
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Stashie/ItemData.cs:
--------------------------------------------------------------------------------
1 | using ExileCore.PoEMemory.Components;
2 | using ExileCore.PoEMemory.Elements.InventoryElements;
3 | using ExileCore.PoEMemory.Models;
4 | using ExileCore.Shared.Enums;
5 | using ExileCore.Shared.Helpers;
6 | using SharpDX;
7 |
8 | namespace Stashie
9 | {
10 | public class ItemData
11 | {
12 | public ItemData(NormalInventoryItem inventoryItem, BaseItemType baseItemType)
13 | {
14 | InventoryItem = inventoryItem;
15 | var item = inventoryItem.Item;
16 | Path = item.Path;
17 | var baseComponent = item.GetComponent();
18 | isElder = baseComponent.isElder;
19 | isShaper = baseComponent.isShaper;
20 | var mods = item.GetComponent();
21 | Rarity = mods?.ItemRarity ?? ItemRarity.Normal;
22 | BIdentified = mods?.Identified ?? true;
23 | ItemLevel = mods?.ItemLevel ?? 0;
24 | isFractured = mods?.HaveFractured ?? false;
25 |
26 | var quality = item.GetComponent();
27 | ItemQuality = quality?.ItemQuality ?? 0;
28 | ClassName = baseItemType.ClassName;
29 | BaseName = baseItemType.BaseName;
30 | MapTier = item.HasComponent