mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
feat: panel
This commit is contained in:
parent
35c8c95b80
commit
27171c5727
77 changed files with 2126 additions and 312 deletions
|
|
@ -17,11 +17,14 @@ export class SkillItem {
|
|||
*/
|
||||
export class Skill {
|
||||
/**
|
||||
* @param {number} level
|
||||
* @param {number} skill_type
|
||||
* @param {SkillItem[]} items
|
||||
* @param {{
|
||||
* level: number,
|
||||
* skill_type: number,
|
||||
* items: SkillItem[]
|
||||
* }} data
|
||||
*/
|
||||
constructor(level, skill_type, items) {
|
||||
constructor(data) {
|
||||
const { level, skill_type, items } = data;
|
||||
this.level = level;
|
||||
this.skill_type = skill_type;
|
||||
this.items = items;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue