代码整理,ai相关配置转luban,聊天气泡缓存
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
export interface Dialog {
|
||||
isPlayer: boolean;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export class DemoData {
|
||||
public Dialogs: Dialog[] = [];
|
||||
|
||||
public cleanDialog() {
|
||||
this.Dialogs = [];
|
||||
}
|
||||
|
||||
public pushDialog(isPlayer: boolean, str: string) {
|
||||
if (!this.Dialogs) this.Dialogs = [];
|
||||
this.Dialogs.push({ isPlayer: isPlayer, content: str });
|
||||
}
|
||||
|
||||
public GetDialogs() {
|
||||
return this.Dialogs;
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "a39433f4-7091-484b-83f9-54477ad87ee2",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user