This commit is contained in:
2021-06-27 22:42:09 -05:00
parent f883e54a0b
commit 1525866342

4
Menu.d.ts vendored
View File

@@ -9,11 +9,11 @@ declare namespace menu {
type featureTypes = "parent"|"toggle"|"action"|"value_i"|"action_value_i"|"autoaction_value_i";
function add_feature(name: string, type: featureTypes, parent: Feature, script_handler: (feat: Feat) => void|never): Feat;
function add_feature(name: string, type: featureTypes, parent: Feature, script_handler?: (feat: Feat) => void|never): Feat;
function delete_feature(id: int): boolean;
function set_menu_can_navigate(): void;
function get_version(): void;
function add_player_feature(name: string, type: string, parent: integer, script_handler: (feat: Feat) => void|never): PlayerFeat
function add_player_feature(name: string, type: string, parent: integer, script_handler?: (feat: Feat) => void|never): PlayerFeat
function get_player_feature(i: uint32_t): PlayerFeat
function is_threading_mode(mode: int): boolean
/**