UNPKG

koishi-plugin-beatsaber-bot

Version:

一个 用于 BeatSaber 的 koishi Bot 插件

69 lines (68 loc) 1.56 kB
export function checkBSORFile(file: any, completion: any): void; export function decode(arrayBuffer: any, completion: any): void; export function DecodeInfo(dataView: any): { version: string; gameVersion: string; timestamp: string; playerID: string; playerName: string; platform: string; trackingSystem: string; hmd: string; controller: string; hash: string; songName: string; mapper: string; difficulty: string; score: any; mode: string; environment: string; modifiers: string; jumpDistance: any; leftHanded: boolean; height: any; startTime: any; failTime: any; speed: any; }; export function DecodeNotes(dataView: any): { noteID: any; eventTime: any; spawnTime: any; eventType: any; noteCutInfo: { speedOK: boolean; directionOK: boolean; saberTypeOK: boolean; wasCutTooSoon: boolean; saberSpeed: any; saberDir: { x: any; y: any; z: any; }; saberType: any; timeDeviation: any; cutDirDeviation: any; cutPoint: { x: any; y: any; z: any; }; cutNormal: { x: any; y: any; z: any; }; cutDistanceToCenter: any; cutAngle: any; beforeCutRating: any; afterCutRating: any; }; }[]; export namespace NoteEventType { let good: number; let bad: number; let miss: number; let bomb: number; }