Commit a8b98e6
authored
Refactor drag and drop (AscensionGameDev#2667)
* deactivating old drag and drop and starting to using native
wg
* added drag and drop logic on slot items
* dont interact when is dragging
* expose icon image
* dont let player do some actions when is dragging
* hide details when dragging slot items
* trying to block user input on root
* IconImage => Icon
* _descWindow => _descriptionWindow
* cleanup drag and drop handle drop
* Globals.ContentManager? => GameContentManager.Current
* add buy item when dragging from shop to inventory
* refactor the core of system with correct data/type
* more cleaning and refactor
* small tweaks
* fix guild bank not swapping for guildless user1 parent 0c9bf2c commit a8b98e6
File tree
17 files changed
+597
-1388
lines changed- Intersect.Client.Core
- Core
- Interface/Game
- Bag
- Bank
- Hotbar
- Inventory
- Shop
- Spells
- Intersect.Client.Framework
- Gwen
- Control
- DragDrop
- Input
17 files changed
+597
-1388
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
141 | 147 | | |
142 | 148 | | |
143 | 149 | | |
| |||
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
199 | | - | |
| 205 | + | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
| |||
249 | 255 | | |
250 | 256 | | |
251 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
252 | 263 | | |
253 | 264 | | |
254 | 265 | | |
| |||
0 commit comments