gg.easy.airship 0.1.2187 → 0.1.2188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,14 +19,17 @@ namespace Code.Accessories.Clothing {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
[Serializable]
|
|
22
23
|
public class GearFetchResponse {
|
|
23
24
|
public GearDto gear;
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
[Serializable]
|
|
26
28
|
public class GearDto {
|
|
27
29
|
public GearListingDto gear;
|
|
28
30
|
}
|
|
29
31
|
|
|
32
|
+
[Serializable]
|
|
30
33
|
public class GearListingDto {
|
|
31
34
|
public string category;
|
|
32
35
|
public string subcategory;
|
|
@@ -79,6 +82,7 @@ namespace Code.Accessories.Clothing {
|
|
|
79
82
|
|
|
80
83
|
var gearRes = JsonUtility.FromJson<GearFetchResponse>(req.downloadHandler.text);
|
|
81
84
|
airId = gearRes.gear.gear.airAssets[0];
|
|
85
|
+
classIdToAirIdCache[classId] = airId;
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
return await DownloadYielding(classId, airId);
|