mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
feat: panel
This commit is contained in:
parent
35c8c95b80
commit
27171c5727
77 changed files with 2126 additions and 312 deletions
|
|
@ -3,13 +3,21 @@
|
|||
*/
|
||||
export class Property {
|
||||
/**
|
||||
* @param {{
|
||||
* property_name: string,
|
||||
* property_id: number,
|
||||
* base: string,
|
||||
* add: string,
|
||||
* final: string
|
||||
* }} data
|
||||
* @param {string} property_name
|
||||
* @param {number} property_id
|
||||
* @param {string} base
|
||||
* @param {string} add
|
||||
* @param {string} final
|
||||
*/
|
||||
constructor(property_name, property_id, base, add, final) {
|
||||
constructor(data) {
|
||||
const { property_name, property_id, base, add, final } = data;
|
||||
this.property_name = property_name;
|
||||
this.property_id = property_id;
|
||||
this.base = base;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue