Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

HBEnkaAPI // + JSON Models for EnkaDB and EnkaQuery. #164

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion Packages/HBEnkaAPI/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,30 @@ let package = Package(
dependencies: [
.product(name: "Defaults", package: "Defaults"),
.product(name: "DefaultsKeys", package: "DefaultsKeys"),
],
resources: [
.process("EnkaAssets/hsr_jsons/honker_avatars.json"),
.process("EnkaAssets/hsr_jsons/honker_characters.json"),
.process("EnkaAssets/hsr_jsons/honker_meta.json"),
.process("EnkaAssets/hsr_jsons/honker_ranks.json"),
.process("EnkaAssets/hsr_jsons/honker_relics.json"),
.process("EnkaAssets/hsr_jsons/honker_skills.json"),
.process("EnkaAssets/hsr_jsons/honker_skilltree.json"),
.process("EnkaAssets/hsr_jsons/honker_weps.json"),
.process("EnkaAssets/hsr_jsons/hsr.json"),
]
),
.target(
name: "EnkaSwiftUIViews",
dependencies: [
"HBEnkaAPI",
.product(name: "Defaults", package: "Defaults"),
.product(name: "DefaultsKeys", package: "DefaultsKeys"),
]
),
.testTarget(
name: "HBEnkaAPITests",
dependencies: ["HBEnkaAPI"]
dependencies: ["HBEnkaAPI", "EnkaSwiftUIViews"]
),
]
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// (c) 2023 and onwards Pizza Studio (GPL v3.0 License).
// ====================
// This code is released under the GPL v3.0 License (SPDX-License-Identifier: GPL-3.0)

import Foundation
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
{
"200001": {
"Icon": "SpriteOutput/AvatarRoundIcon/UI_Message_Contacts_Anonymous.png"
},
"200101": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200101.png"
},
"200102": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200102.png"
},
"200103": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200103.png"
},
"200104": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200104.png"
},
"200105": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200105.png"
},
"200106": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200106.png"
},
"200107": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200107.png"
},
"200108": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200108.png"
},
"200109": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200109.png"
},
"200110": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200110.png"
},
"200111": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200111.png"
},
"200112": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200112.png"
},
"200113": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200113.png"
},
"200114": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200114.png"
},
"200115": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200115.png"
},
"200116": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200116.png"
},
"200117": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200117.png"
},
"200118": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200118.png"
},
"200119": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200119.png"
},
"200120": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/200120.png"
},
"201001": {
"Icon": "SpriteOutput/AvatarRoundIcon/1001.png"
},
"201002": {
"Icon": "SpriteOutput/AvatarRoundIcon/1002.png"
},
"201003": {
"Icon": "SpriteOutput/AvatarRoundIcon/1003.png"
},
"201004": {
"Icon": "SpriteOutput/AvatarRoundIcon/1004.png"
},
"201005": {
"Icon": "SpriteOutput/AvatarRoundIcon/1005.png"
},
"201006": {
"Icon": "SpriteOutput/AvatarRoundIcon/1006.png"
},
"201008": {
"Icon": "SpriteOutput/AvatarRoundIcon/1008.png"
},
"201009": {
"Icon": "SpriteOutput/AvatarRoundIcon/1009.png"
},
"201013": {
"Icon": "SpriteOutput/AvatarRoundIcon/1013.png"
},
"201101": {
"Icon": "SpriteOutput/AvatarRoundIcon/1101.png"
},
"201102": {
"Icon": "SpriteOutput/AvatarRoundIcon/1102.png"
},
"201103": {
"Icon": "SpriteOutput/AvatarRoundIcon/1103.png"
},
"201104": {
"Icon": "SpriteOutput/AvatarRoundIcon/1104.png"
},
"201105": {
"Icon": "SpriteOutput/AvatarRoundIcon/1105.png"
},
"201106": {
"Icon": "SpriteOutput/AvatarRoundIcon/1106.png"
},
"201107": {
"Icon": "SpriteOutput/AvatarRoundIcon/1107.png"
},
"201108": {
"Icon": "SpriteOutput/AvatarRoundIcon/1108.png"
},
"201109": {
"Icon": "SpriteOutput/AvatarRoundIcon/1109.png"
},
"201110": {
"Icon": "SpriteOutput/AvatarRoundIcon/1110.png"
},
"201111": {
"Icon": "SpriteOutput/AvatarRoundIcon/1111.png"
},
"201112": {
"Icon": "SpriteOutput/AvatarRoundIcon/1112.png"
},
"201201": {
"Icon": "SpriteOutput/AvatarRoundIcon/1201.png"
},
"201202": {
"Icon": "SpriteOutput/AvatarRoundIcon/1202.png"
},
"201203": {
"Icon": "SpriteOutput/AvatarRoundIcon/1203.png"
},
"201204": {
"Icon": "SpriteOutput/AvatarRoundIcon/1204.png"
},
"201205": {
"Icon": "SpriteOutput/AvatarRoundIcon/1205.png"
},
"201206": {
"Icon": "SpriteOutput/AvatarRoundIcon/1206.png"
},
"201207": {
"Icon": "SpriteOutput/AvatarRoundIcon/1207.png"
},
"201208": {
"Icon": "SpriteOutput/AvatarRoundIcon/1208.png"
},
"201209": {
"Icon": "SpriteOutput/AvatarRoundIcon/1209.png"
},
"201210": {
"Icon": "SpriteOutput/AvatarRoundIcon/1210.png"
},
"201211": {
"Icon": "SpriteOutput/AvatarRoundIcon/1211.png"
},
"201212": {
"Icon": "SpriteOutput/AvatarRoundIcon/1212.png"
},
"201213": {
"Icon": "SpriteOutput/AvatarRoundIcon/1213.png"
},
"201214": {
"Icon": "SpriteOutput/AvatarRoundIcon/1214.png"
},
"201215": {
"Icon": "SpriteOutput/AvatarRoundIcon/1215.png"
},
"201217": {
"Icon": "SpriteOutput/AvatarRoundIcon/1217.png"
},
"201301": {
"Icon": "SpriteOutput/AvatarRoundIcon/1301.png"
},
"201302": {
"Icon": "SpriteOutput/AvatarRoundIcon/1302.png"
},
"201303": {
"Icon": "SpriteOutput/AvatarRoundIcon/1303.png"
},
"201304": {
"Icon": "SpriteOutput/AvatarRoundIcon/1304.png"
},
"201305": {
"Icon": "SpriteOutput/AvatarRoundIcon/1305.png"
},
"201306": {
"Icon": "SpriteOutput/AvatarRoundIcon/1306.png"
},
"201307": {
"Icon": "SpriteOutput/AvatarRoundIcon/1307.png"
},
"201308": {
"Icon": "SpriteOutput/AvatarRoundIcon/1308.png"
},
"201312": {
"Icon": "SpriteOutput/AvatarRoundIcon/1312.png"
},
"202001": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202001.png"
},
"202002": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202002.png"
},
"202003": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202003.png"
},
"202004": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202004.png"
},
"202005": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202005.png"
},
"202006": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202006.png"
},
"202007": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202007.png"
},
"202008": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202008.png"
},
"202009": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202009.png"
},
"202010": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202010.png"
},
"202011": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202011.png"
},
"202012": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202012.png"
},
"202013": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202013.png"
},
"202014": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202014.png"
},
"202015": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202015.png"
},
"202016": {
"Icon": "SpriteOutput/AvatarRoundIcon/Series/202016.png"
},
"208001": {
"Icon": "SpriteOutput/AvatarRoundIcon/8001.png"
},
"208002": {
"Icon": "SpriteOutput/AvatarRoundIcon/8002.png"
},
"208003": {
"Icon": "SpriteOutput/AvatarRoundIcon/8003.png"
},
"208004": {
"Icon": "SpriteOutput/AvatarRoundIcon/8004.png"
}
}
Loading
Loading