mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix
This commit is contained in:
parent
5d109ef51c
commit
4828a31163
11 changed files with 100 additions and 126 deletions
|
|
@ -1,3 +1,23 @@
|
|||
/**
|
||||
* @class
|
||||
*/
|
||||
export class Item {
|
||||
/**
|
||||
* @param {number} id
|
||||
* @param {string} name
|
||||
* @param {string} rarity
|
||||
* @param {number} level
|
||||
* @param {number} star
|
||||
*/
|
||||
constructor(id, name, rarity, level, star) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.rarity = rarity;
|
||||
this.level = level;
|
||||
this.star = star;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @class
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue