File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ export declare class ModInstallDialogs {
55 static showAutoUpdateDialog ( ) : void ;
66 static showModUninstallDialog ( localMod : ModEntryLocal ) : boolean ;
77 static checkCanDisableMod ( mod : ModEntryLocal ) : boolean ;
8- static checkCanEnableMod ( mod : ModEntryLocal ) : Promise < ModEntryLocal [ ] | undefined > ;
8+ static checkCanEnableMod ( mod : ModEntryLocal , callback : ( deps : ModEntryLocal [ ] | undefined ) => void ) : void ;
99}
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ declare global {
2626 ninepatch : ig . NinePatch ;
2727 } ;
2828 iconGui : ig . ImageGui ;
29+ addObservers ( this : this) : void ;
30+ removeObservers ( this : this) : void ;
2931 updateIcon ( this : this, config : ModImageConfig ) : void ;
3032 tryDisableMod ( this : this, mod : ModEntryLocal ) : string | undefined ;
3133 tryEnableMod ( this : this, mod : ModEntryLocal ) : string | undefined ;
Original file line number Diff line number Diff line change @@ -43,4 +43,3 @@ declare global {
4343 } ;
4444 }
4545}
46- export declare const modMenuListWidth = 552 ;
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ declare global {
4848 setBlackBarVisibility ( this : this, visible : boolean ) : void ;
4949 setAllVisibility ( this : this, visible : boolean ) : void ;
5050 updateInstallButtonText ( this : this) : void ;
51- onBackButtonPress ( this : this) : void ;
5251 setTabEvent ( this : this) : void ;
5352 showModInstallDialog ( this : this) : void ;
5453 getCurrentlyFocusedModEntry ( this : this) : modmanager . gui . ListEntry | undefined ;
Original file line number Diff line number Diff line change 11import { ModEntry } from '../../types' ;
22import { ModOptionsSettings } from '../../mod-options' ;
33declare global {
4+ namespace modmanager {
5+ function openModOptionsMenu ( modId : string ) : void ;
6+ }
47 namespace modmanager . gui {
58 interface OptionsMenu extends sc . BaseMenu , sc . Model . Observer {
69 mod : ModEntry ;
You can’t perform that action at this time.
0 commit comments