SocketPanelUI ​
Socket Panel UI for managing sockets on equipment items Opens when shift+right-clicking equipment with sockets Refactored to remove ui_manager references
Properties ​
PackedScene | socket_slot_ui_scene |
Variables ​
ItemInstance | current_equipment | null |
Array[SocketSlotUI] | socket_slot_uis | [] |
Methods ​
void | initialize_ui( p_system_hub: GameHost.SystemHub ) |
void | open_for_equipment( equipment_item: ItemInstance ) |
void | close_panel() |
String | strip_bbcode( text: String ) |
ItemInstance | get_current_equipment() |
bool | is_panel_open() |
bool | is_showing_equipment( equipment_item: ItemInstance ) |
Property descriptions ​
PackedScene socket_slot_ui_scene ​
Custom Scenes
Variable descriptions ​
ItemInstance current_equipment = null ​
========== PROPERTIES ==========
Array[SocketSlotUI] socket_slot_uis = [] ​
The slots of the sockets shown.
Method descriptions ​
void initialize_ui( p_system_hub: GameHost.SystemHub ) ​
========== INITIALIZATION ==========
void open_for_equipment( equipment_item: ItemInstance ) ​
Open the socket panel for a specific equipment item
void close_panel() ​
Close the socket panel - overrides PanelUI's close_panel
String strip_bbcode( text: String ) ​
The text without its BBCode tags.
ItemInstance get_current_equipment() ​
========== PUBLIC GETTERS ==========
bool is_panel_open() ​
Is the panel open on an item?
bool is_showing_equipment( equipment_item: ItemInstance ) ​
Check if the panel is currently showing a specific equipment item