This commit is contained in:
linyuchen committed 2024-04-15 00:09:08 +08:00
1 parent 0ef3e38d70
commit 356aba762c
218 files changed
+8465 -5

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '../../../common/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
class GetFriendList extends BaseAction<null, OB11User[]> {
actionName = ActionName.GetFriendList;
protected async _handle(payload: null) {
return OB11Constructor.friends(Array.from(friends.values()));
}
}
export default GetFriendList;