2023-12-15 22:44:25 +01:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://dhss3lpo1mhke"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://addons/no_twitch/twitch_connection.gd" id="1_13a4v"]
|
|
|
|
[ext_resource type="Script" path="res://addons/no_twitch/demo/demo_scene.gd" id="1_ebv0f"]
|
|
|
|
[ext_resource type="Script" path="res://addons/no_twitch/demo/test_button.gd" id="1_hhhwv"]
|
|
|
|
[ext_resource type="Script" path="res://addons/no_twitch/demo/Chat_Join.gd" id="2_b8f4l"]
|
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_ebv0f")
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -206.0
|
|
|
|
offset_top = -68.0
|
|
|
|
offset_right = 211.0
|
|
|
|
offset_bottom = 68.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="Authenticate" type="Button" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Authenticate"
|
|
|
|
script = ExtResource("1_hhhwv")
|
|
|
|
|
|
|
|
[node name="Start_Chat_Connection" type="Button" parent="VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Start Connection"
|
|
|
|
|
|
|
|
[node name="Chat_Join" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
script = ExtResource("2_b8f4l")
|
|
|
|
|
|
|
|
[node name="Channel_Input" type="LineEdit" parent="VBoxContainer/Chat_Join"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
placeholder_text = "Channel"
|
|
|
|
|
|
|
|
[node name="Join_Chat" type="Button" parent="VBoxContainer/Chat_Join"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Join"
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Channel" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_stretch_ratio = 0.45
|
|
|
|
placeholder_text = "Channel"
|
|
|
|
|
|
|
|
[node name="Chat_Msg" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
placeholder_text = "Chat Message"
|
|
|
|
|
|
|
|
[node name="Send_Button" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Send"
|
|
|
|
|
2024-01-20 00:54:57 +01:00
|
|
|
[node name="Get_User" type="Button" parent="VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Get User Info"
|
|
|
|
|
|
|
|
[node name="Get_Channel" type="Button" parent="VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Get Channel Info"
|
|
|
|
|
|
|
|
[node name="Connect_Channel_Points" type="Button" parent="VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Connect Channel Points"
|
|
|
|
|
2023-12-15 22:44:25 +01:00
|
|
|
[node name="Twitch_Connection" type="Node" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
script = ExtResource("1_13a4v")
|