chore: 核心缓存位置设计完成

This commit is contained in:
手瓜一十雪
2024-08-10 18:06:40 +08:00
parent bfea373c35
commit ba2235e2f6
2 changed files with 3 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import { NapCatOneBot11Adapter } from "../main";
export class OneBotFriendApi {
obContext: NapCatOneBot11Adapter;
coreContext: NapCatCore;
friendList: Map<string, any> = new Map();//此处作为缓存 uin->info
constructor(obContext: NapCatOneBot11Adapter, coreContext: NapCatCore) {
this.obContext = obContext;
this.coreContext = coreContext;