From 5c3cd27cd6f455427f28dbc0cb4a4bbe41b09782 Mon Sep 17 00:00:00 2001 From: "Shane A. Jeffery" <69131241+shaneajeffery@users.noreply.github.com> Date: Tue, 9 Apr 2024 10:38:16 -0700 Subject: [PATCH] Adding Item Sets to Character Equipment Struct (#69) --- wowp/characterEquipment.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/wowp/characterEquipment.go b/wowp/characterEquipment.go index 7a044c1..09defdd 100644 --- a/wowp/characterEquipment.go +++ b/wowp/characterEquipment.go @@ -280,6 +280,31 @@ type CharacterEquipmentSummary struct { DisplayString string `json:"display_string"` } `json:"skill"` } `json:"requirements,omitempty"` + Set struct { + ItemSet struct { + Key struct { + Href string `json:"href"` + } `json:"key"` + Name string `json:"name"` + ID int `json:"id"` + } `json:"item_set"` + Items []struct { + Item struct { + Key struct { + Href string `json:"href"` + } `json:"key"` + Name string `json:"name"` + ID int `json:"id"` + } `json:"item"` + IsEquipped bool `json:"is_equipped"` + } `json:"items"` + Effects []struct { + DisplayString string `json:"display_string"` + RequiredCount int `json:"required_count"` + IsActive bool `json:"is_active"` + } `json:"effects"` + DisplayString string `json:"display_string"` + } Weapon struct { Damage struct { MinValue int `json:"min_value"`