From b2a3ae7d095d42bfb6fba6eb88dd669f7487d1f4 Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Sun, 7 Apr 2024 14:57:06 +0800 Subject: [PATCH] add stat for general scription model --- src/models/GeneralScription.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/GeneralScription.ts b/src/models/GeneralScription.ts index 5a93605..ebf0e6c 100644 --- a/src/models/GeneralScription.ts +++ b/src/models/GeneralScription.ts @@ -34,6 +34,8 @@ export class GeneralScriptionClass extends BaseModule { public value: string @prop() public input: string + @prop({ default: 0 }) + public stat: number public static async saveEvent(event: any) { const dataStr = hexToUtf8(event.input)