forked from kvcrek/WaystoneHighlight
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWaystoneItem.cs
More file actions
36 lines (34 loc) · 1.03 KB
/
Copy pathWaystoneItem.cs
File metadata and controls
36 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExileCore2.PoEMemory.Components;
using ExileCore2.Shared;
using ItemFilterLibrary; // 添加引用
namespace WaystoneHighlight
{
internal enum ItemLocation
{
Inventory = 0,
Stash = 1
}
internal struct WaystoneItem
{
public Base baseComponent;
public Map map;
public Mods mods;
public RectangleF rect;
public ItemLocation location;
public ItemData.ModsData modsData; // 添加 ModsData 属性
public WaystoneItem(Base baseComponent, Map mapComponent, Mods modsComponent, RectangleF rectangleF, ItemLocation location, ItemData.ModsData modsData)
{
this.baseComponent = baseComponent;
this.map = mapComponent;
this.mods = modsComponent;
this.rect = rectangleF;
this.location = location;
this.modsData = modsData; // 初始化 ModsData 属性
}
}
}