feat: update 2.1.9
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
extends HBoxContainer
|
||||
|
||||
@onready var _name_label: Label = %NameLabel
|
||||
@onready var _invite_btn: Button = %InviteBtn
|
||||
|
||||
func setup(username: String, user_id: String, match_id: String) -> void:
|
||||
_name_label.text = username
|
||||
_invite_btn.pressed.connect(func():
|
||||
FriendManager.send_lobby_invite(user_id, match_id)
|
||||
_invite_btn.text = "Sent!"
|
||||
_invite_btn.disabled = true
|
||||
)
|
||||
Reference in New Issue
Block a user