-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from WxWatch/feature/runes-reforged
Add Runes Reforged data
- Loading branch information
Showing
4 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// Perks.swift | ||
// dragon-service | ||
// | ||
// Created by James Glenn on 10/4/18. | ||
// Copyright © 2018 James Glenn. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public typealias Perks = [Perk] | ||
|
||
public struct Perk: Codable { | ||
public let id: Int | ||
public let key, icon, name: String | ||
public let slots: [Slot] | ||
} | ||
|
||
public struct Slot: Codable { | ||
public let runes: [PerkRune] | ||
} | ||
|
||
public struct PerkRune: Codable { | ||
public let id: Int | ||
public let key, icon, name, shortDesc: String | ||
public let longDesc: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters