mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 16:00:27 +00:00
chore: 核心缓存位置设计完成
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user