This commit is contained in:
CortexCore 2023-10-19 14:33:06 +08:00
parent c43370307c
commit 3beceb1645
23 changed files with 283 additions and 62 deletions

View File

@ -48,7 +48,7 @@ port = 5348
[node name="License" type="Node" parent="授权服务"]
script = ExtResource("4_lycvf")
_requestAuthorizeUrl = "http://server.bitfall.icu:5252/api/authorize"
_requestAuthorizeUrl = "https://oauth.bitfall.icu/api/auth/isAuthorized"
[node name="IDIS License" type="Node" parent="授权服务" node_paths=PackedStringArray("licenseNode")]
script = ExtResource("5_ic0bm")

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,6 @@ using System.Data;
using System.Net.Http;
using Cysharp.Threading.Tasks;
using Godot;
using IDIS;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;

View File

@ -40,6 +40,12 @@ public partial class Entity : Node,IEntity
/// 服务提供者
/// </summary>
public IServiceProvider ServiceProvider { get; private set; }
public void Inject(object obj)
{
throw new NotImplementedException();
}
private IServiceCollection _serviceCollection;

View File

@ -1,36 +0,0 @@
using Godot;
using System;
using Godot.Collections;
namespace BITKit;
public partial class GraphFlowService : Node
{
[Export] private Godot.Collections.Dictionary<int,NodePath> nodes;
[Export] private int currentIndex = -1;
public override void _Ready()
{
if (currentIndex is not -1 && currentIndex < nodes.Count)
Entry(GetGraphNode(nodes[currentIndex]));
}
private void EntryNext()
{
if ((currentIndex + 1) >= nodes.Count) return;
currentIndex++;
Entry(GetGraphNode(nodes[currentIndex]));
}
private void Entry(GraphNode node)
{
foreach (var _node in nodes)
{
GetGraphNode(_node.Value).Overlay = GraphNode.OverlayEnum.Disabled;
}
node.Overlay = GraphNode.OverlayEnum.Position;
}
GraphNode GetGraphNode(string nodePath)
{
return GetNode<GraphNode>(nodePath);
}
}

View File

@ -1,18 +0,0 @@
using Godot;
using System;
namespace BITKit;
public partial class GraphNodeConnector : GraphEdit
{
// public override bool _IsNodeHoverValid(StringName fromNode, int fromPort, StringName toNode, int toPort)
// {
// //return base._IsNodeHoverValid(fromNode, fromPort, toNode, toPort);
// ConnectNode(fromNode, fromPort, toNode, toPort);
// return true;
// }
private void RequestConnection(StringName fromNode, int fromPort, StringName toNode, int toPort)
{
ConnectNode(fromNode, fromPort, toNode, toPort);
}
}

BIN
Mods/芜湖/Models/AGV.glb Normal file

Binary file not shown.

View File

@ -0,0 +1,32 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b0o6snyqo8t4l"
path="res://.godot/imported/AGV.glb-88a2673e8d6ffa08bf86cdb96255b635.scn"
[deps]
source_file="res://Mods/芜湖/Models/AGV.glb"
dest_files=["res://.godot/imported/AGV.glb-88a2673e8d6ffa08bf86cdb96255b635.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={}
gltf/embedded_image_handling=1

Binary file not shown.

View File

@ -0,0 +1,32 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b3iocnbkr4se7"
path="res://.godot/imported/Aubo_AGV.glb-e8eb5522f8090a4dc0d02c7f1cb75c0e.scn"
[deps]
source_file="res://Mods/芜湖/Models/Aubo_AGV.glb"
dest_files=["res://.godot/imported/Aubo_AGV.glb-e8eb5522f8090a4dc0d02c7f1cb75c0e.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={}
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://e5uyeotgyi7j"
path.s3tc="res://.godot/imported/Aubo_AGV_GridBox_NewTex_Albedo.png-b83d6d5716b0cad9568dd88577bf238d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={}
[deps]
source_file="res://Mods/芜湖/Models/Aubo_AGV_GridBox_NewTex_Albedo.png"
dest_files=["res://.godot/imported/Aubo_AGV_GridBox_NewTex_Albedo.png-b83d6d5716b0cad9568dd88577bf238d.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

View File

@ -0,0 +1,32 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://5marxhn161vj"
path="res://.godot/imported/Intelli-AGV.glb-1f2cbebd32c11dc0ce1eff0c6112d983.scn"
[deps]
source_file="res://Mods/芜湖/Models/Intelli-AGV.glb"
dest_files=["res://.godot/imported/Intelli-AGV.glb-1f2cbebd32c11dc0ce1eff0c6112d983.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={}
gltf/embedded_image_handling=1

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,32 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://y02lhghb3uen"
path="res://.godot/imported/芜湖_Preview.glb-bf58684f375fdd0a8f7035d672772d17.scn"
[deps]
source_file="res://Mods/芜湖/Models/芜湖_Preview.glb"
dest_files=["res://.godot/imported/芜湖_Preview.glb-bf58684f375fdd0a8f7035d672772d17.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={}
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cepmqgxvu1cgm"
path.s3tc="res://.godot/imported/芜湖_Preview_标志与中英文左右组合正常反白稿-蓝色背景.png-ca78de1ff8d39c2c5d324c1f05fde51e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={}
[deps]
source_file="res://Mods/芜湖/Models/芜湖_Preview_标志与中英文左右组合正常反白稿-蓝色背景.png"
dest_files=["res://.godot/imported/芜湖_Preview_标志与中英文左右组合正常反白稿-蓝色背景.png-ca78de1ff8d39c2c5d324c1f05fde51e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bww0feu62n3nu"
path.s3tc="res://.godot/imported/芜湖_Preview_标志与中英文左右组合正常反白稿-蓝色背景).png-c10eb1cc0df58aa7ad358b1f2fe123d6.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={}
[deps]
source_file="res://Mods/芜湖/Models/芜湖_Preview_标志与中英文左右组合正常反白稿-蓝色背景).png"
dest_files=["res://.godot/imported/芜湖_Preview_标志与中英文左右组合正常反白稿-蓝色背景).png-c10eb1cc0df58aa7ad358b1f2fe123d6.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
Mods/芜湖/芜湖.7z Normal file

Binary file not shown.

34
Mods/芜湖/芜湖.tscn Normal file
View File

@ -0,0 +1,34 @@
[gd_scene load_steps=5 format=3 uid="uid://d4chakwg6mvoa"]
[ext_resource type="PackedScene" path="res://Mods/芜湖/Models/芜湖_Preview.glb" id="1_tvd1v"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_uovsb"]
[sub_resource type="Sky" id="Sky_3qxhc"]
sky_material = SubResource("PhysicalSkyMaterial_uovsb")
[sub_resource type="Environment" id="Environment_61xed"]
background_mode = 2
sky = SubResource("Sky_3qxhc")
ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
reflected_light_source = 2
ssr_enabled = true
ssao_enabled = true
ssil_enabled = true
sdfgi_enabled = true
glow_enabled = true
[node name="芜湖" type="Node3D"]
[node name="芜湖_Preview" parent="." instance=ExtResource("1_tvd1v")]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_61xed")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.00613622, -0.648081, 0.761547, 0, 0.761561, 0.648093, -0.999981, -0.00397684, 0.0046731, -14.0258, 9.83954, -14.3069)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.911173, 0.339102, 0.234037, -0.250366, -0.906805, 0.339149, 0.327232, 0.250429, 0.911156, -15.1469, 5.56796, 1.77906)
shadow_enabled = true