iFactory.Godot/Artists/Scenes/InitialLicense.tscn

59 lines
2.3 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://c44tc60r5df3j"]
[ext_resource type="Script" path="res://BITKit/Scripts/Components/OpenUrl.cs" id="1_pw177"]
[ext_resource type="Script" path="res://BITKit/Scripts/ECS/Core/Entity.cs" id="2_j02yv"]
[ext_resource type="Script" path="res://BITKit/Scripts/Net/HttpListener_GodotBased.cs" id="3_kek8q"]
[ext_resource type="Script" path="res://Artists/Scripts/License/LicenseService.cs" id="4_lycvf"]
[ext_resource type="Script" path="res://Mods/工业数据采集与分析应用分享/Scripts/IDIS_License.cs" id="5_ic0bm"]
[ext_resource type="PackedScene" uid="uid://bu5w3n4me3xj2" path="res://Mods/教育平台/教育平台主菜单.tscn" id="6_6ccua"]
[node name="InitialLicense" type="Node"]
[node name="ColorRect" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.0117647, 0.0117647, 0.0117647, 1)
[node name="CenterContainer" type="CenterContainer" parent="ColorRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect/CenterContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="ColorRect/CenterContainer/VBoxContainer"]
layout_mode = 2
text = "等待激活许可证中"
[node name="Button" type="Button" parent="ColorRect/CenterContainer/VBoxContainer"]
layout_mode = 2
text = "点击开始加载许可证"
script = ExtResource("1_pw177")
url = "https://oauth.bitfall.icu/oauth/5348"
[node name="授权服务" type="Node" parent="."]
script = ExtResource("2_j02yv")
[node name="HttpListener" type="Node" parent="授权服务"]
script = ExtResource("3_kek8q")
autoStart = true
port = 5348
[node name="License" type="Node" parent="授权服务"]
script = ExtResource("4_lycvf")
_requestAuthorizeUrl = "http://server.bitfall.icu:5252/api/authorize"
[node name="IDIS License" type="Node" parent="授权服务" node_paths=PackedStringArray("licenseNode")]
script = ExtResource("5_ic0bm")
initialScene = ExtResource("6_6ccua")
licenseNode = NodePath("../../ColorRect")
[connection signal="pressed" from="ColorRect/CenterContainer/VBoxContainer/Button" to="ColorRect/CenterContainer/VBoxContainer/Button" method="Execute"]