File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { ModEntry , ModEntryLocal } from '../types' ;
1+ import { ModEntry , ModEntryLocal , ModImageConfig } from '../types' ;
22import './list-entry-highlight' ;
33declare global {
44 namespace modmanager . gui {
@@ -26,6 +26,7 @@ declare global {
2626 ninepatch : ig . NinePatch ;
2727 } ;
2828 iconGui : ig . ImageGui ;
29+ updateIcon ( this : this, config : ModImageConfig ) : void ;
2930 tryDisableMod ( this : this, mod : ModEntryLocal ) : string | undefined ;
3031 tryEnableMod ( this : this, mod : ModEntryLocal ) : string | undefined ;
3132 toggleSelection ( this : this, force ?: boolean ) : string | undefined ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export declare class ModInstaller {
2424 static byNameRecord : Record < string , ModEntryServer > ;
2525 static virtualMods : Record < string , ModEntryLocalVirtual > ;
2626 static modsDir : string ;
27+ private static rimraf ;
2728 static init ( ) : void ;
2829 private static getModByDepName ;
2930 private static setOrAddNewer ;
Original file line number Diff line number Diff line change 11import { Mod1 } from './types' ;
22import './mod-options' ;
3+ export declare function isFullMode ( ) : boolean ;
4+ export declare function openLink ( url : string ) : void ;
35export default class ModManager {
46 static dir : string ;
57 static mod : Mod1 ;
You can’t perform that action at this time.
0 commit comments