UNPKG

koishi-plugin-pcr-arena

Version:
31 lines (30 loc) 940 B
import { Image } from '@koishijs/canvas'; import { Context, Service } from 'koishi'; import { Config } from './config'; import { PcrdfansResponse } from './types'; export declare class Arena extends Service { private alias; private alias_bcr; private alias_tw; private alias_jp; private aliases; EQUIPMENT: Image; STAR: Image; STAR_PINK: Image; STAR_DISABLE: Image; THUMB_DOWN: Image; THUMB_UP: Image; NUMBER_YELLOW: Image[]; NUMBER_BLUE: Image[]; config: Config; private client; private API; private PATH; constructor(ctx: Context, config: Config); protected start(): Promise<void>; normalize(...file: string[]): string; request(defenders: number[], region?: number): Promise<PcrdfansResponse>; prefix(msg: string): string | null; region(msg: string): number; roundRect(ctx: any, x: any, y: any, width: any, height: any, radius: any): void; }