PartyFrame ​
Inherits: MarginContainer
PartyFrame Class Modern party member frame using PoolBarUI system Displays health, resource, and status effects with settings integration
Description ​
Key features:
- Uses PoolBarUI for health and resource bars
- Modulate-based coloring system
- Settings integration for customization
- Border-based highlighting (like nameplates)
Properties ​
PackedScene | pool_bar_scene |
Variables ​
int | player_slot | |
Player | frames_player | |
Array[Aura] | active_auras | |
Array[Aura] | debuff_slots | |
PoolBarUI | health_pool_bar | |
PoolBarUI | resource_pool_bar | |
PartyManager | party_manager |
Methods ​
void | initialize_ui( system_hub: GameHost.SystemHub ) |
void | setup_frames( player: Entity ) |
void | set_border_state( is_current: bool, is_selected: bool ) |
Signals ​
effect_tooltip_requested( effect: EffectInstance ) ​
Asks the interface to show the tooltip of an effect.
hide_tooltip( force_hide: bool ) ​
Asks the interface to hide the tooltip (force hides it at once).
Property descriptions ​
PackedScene pool_bar_scene ​
Export variable to set the player slot in the Inspector
Variable descriptions ​
int player_slot ​
The player that this frame represents
Player frames_player ​
The party member the frame shows.
Array[Aura] active_auras ​
Arrays to store active auras and debuffs
Array[Aura] debuff_slots ​
The icons of the effects shown on the frame.
PoolBarUI health_pool_bar ​
Pool bar references
PoolBarUI resource_pool_bar ​
The bar of the resource pool of the member.
PartyManager party_manager ​
Party Manager Ref
Method descriptions ​
void initialize_ui( system_hub: GameHost.SystemHub ) ​
No description yet.
void setup_frames( player: Entity ) ​
Set up the frame for a specific player
void set_border_state( is_current: bool, is_selected: bool ) ​
Set party frame border highlighting