ScorePanel🔗

Hérite: Panel

This defines a score panel to hold ScorePanelEntry instances.

Propriétés🔗

PackedScene

_SCORE_PANEL_ENTRY

Label

title

VBoxContainer

entries

int

_iter_cursor

0

Méthodes🔗

bool

_iter_init(_arg: Variant)

bool

_iter_next(_arg: Variant)

ScorePanelEntry

_iter_get(_arg: Variant)

String

_to_string()

ScorePanelEntry

add_entry(peer_id: int, username: String, score: Vector3i = Vector3i(0, 0, 0))

void

remove_entry(entry: ScorePanelEntry)

ScorePanelEntry

get_entry(index: int)

bool

remove_entry_by_name(entry_name: String)

bool

remove_entry_by_peer_id(peer_id: int)

int

size()


Descriptions de propriété🔗

PackedScene _SCORE_PANEL_ENTRY 🔗

There is currently no description for this property. Please help us by contributing one!


Label title 🔗

This is the panel title.


VBoxContainer entries 🔗

This is the container for ScorePanelEntry child nodes.


int _iter_cursor = 0 🔗

There is currently no description for this property. Please help us by contributing one!


Descriptions de méthode🔗

bool _iter_init(_arg: Variant) 🔗

There is currently no description for this method. Please help us by contributing one!


bool _iter_next(_arg: Variant) 🔗

There is currently no description for this method. Please help us by contributing one!


ScorePanelEntry _iter_get(_arg: Variant) 🔗

There is currently no description for this method. Please help us by contributing one!


String _to_string() 🔗

There is currently no description for this method. Please help us by contributing one!


ScorePanelEntry add_entry(peer_id: int, username: String, score: Vector3i = Vector3i(0, 0, 0)) 🔗

This method adds an entry to the panel.


void remove_entry(entry: ScorePanelEntry) 🔗

This method removes a ScorePanelEntry from the ScorePanel.


ScorePanelEntry get_entry(index: int) 🔗

This method returns a ScorePanelEntry from the ScorePanel.


bool remove_entry_by_name(entry_name: String) 🔗

This method removes a ScorePanelEntry from the ScorePanel by name and returns a boolean to indicate removal state.


bool remove_entry_by_peer_id(peer_id: int) 🔗

There is currently no description for this method. Please help us by contributing one!


int size() 🔗

There is currently no description for this method. Please help us by contributing one!