Highlights
In this iteration, I made it easier to work with combat equipment through
new interfaces for items with item stats, upgrade slots, infusion slots and buffs.
GameLink
was improved for situations where the link is accessed by multiple
concurrent subscribers. It is now also possible to asynchronously dispose
GameLink
objects with await using
to prevent blocking the current thread.
The synchronous GameLink.Dispose()
method can still block the current thread,
because it waits until all callbacks have finished.
New features
Items:
- Added interface
ICombatEquipment
- Added interface
IUpgradable
- Added interface
IInfusable
- Added interface
IIinfused
- Added a more efficient
EqualityComparer
forAttributes
properties
(which is used inEquals
methods, you don't have to do anything) - Added property
TwoHanded
toWeapon
- Added collection property
UpgradeSlots
to upgradable items - Added property
UpgradeSlotCount
to upgradable items - Added property
InfusionSlotCount
to upgradable items - Added static class
RarityColor
GameLink:
- Now implements
IAsyncDisposable
Bugfixes
Items:
- Fix the color code for flavor text
GameLink:
- Fix unsafe collection access from multiple threads
Full Changelog: v2.0.0...v2.1.0
Previous release notes: https://github.com/sliekens/gw2sdk/releases/tag/v2.0.0