CurrentUI ​
Inherits: Control
Inherited by: CharacterCreationUI, InGameUI, MainMenu
Parent class for current UIs Holds logifc for all possible singals to be connected to the UIManager
Variables ​
GameHost.SystemHub | system_hub |
Methods ​
void | initialize_ui( p_system_hub: GameHost.SystemHub ) |
void | connect_signals_to_ui_manager() |
Signals ​
new_game_requested( custom_character_def: CustomCharacterDefinition ) ​
Emitted when requesting to start a new game
character_creation_requested() ​
Emitted when requesting to transition to character creation
load_game_requested( save_file_name: String ) ​
Emitted when requesting to load a saved game
return_to_main_menu_requested() ​
Emitted when requesting to return to main menu
show_ability_tooltip( ability: Variant ) ​
Emitted on tooltip requests
show_skill_node_tooltip( node: SkillNode ) ​
Emitted to show the tooltip of a skill node.
show_item_tooltip( item: ItemInstance, definition: ItemDefinition, context: String, additional_data: Dictionary ) ​
Emitted to show the tooltip of an item: the item, its definition, where it is and extra data.
show_effect_tooltip( effect: EffectInstance ) ​
Emitted to show the tooltip of an effect.
show_description_tooltip( object_name: String, description: String ) ​
Emitted to show a tooltip with a name and a text.
show_entity_tooltip( target: Variant ) ​
Emitted to show the tooltip of an entity or an object.
hide_tooltip( force_hide: bool ) ​
Asks the interface to hide the tooltip (force hides it at once).
message_request( message: String ) ​
Emitted on message requests
warning_message_request( message: String ) ​
Emitted to show a warning.
ui_sfx_request( sound: AudioManager.UISound, volume_modifier: float ) ​
Emitted on audio requests
Variable descriptions ​
GameHost.SystemHub system_hub ​
SystemRefs
Method descriptions ​
void initialize_ui( p_system_hub: GameHost.SystemHub ) ​
Sets the part up with the hub of the game systems: connects the signals it listens to and fills it.
void connect_signals_to_ui_manager() ​
Connects the tooltip and message signals of the interface to the UI manager.