mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-11-05 03:37:50 +08:00
finish basic autocraft for create store
This commit is contained in:
8
types/cc/image/nft.d.ts
vendored
Normal file
8
types/cc/image/nft.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @noSelfInFile **/
|
||||
/** @noResolution **/
|
||||
declare module "cc.image.nft" {
|
||||
type Image = {text: string, foreground: string, background: string}[];
|
||||
export function parse(image: string): Image;
|
||||
export function load(path: string): Image;
|
||||
export function draw(image: Image, xPos: number, yPos: number, target?: ITerminal): void;
|
||||
}
|
||||
Reference in New Issue
Block a user