mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: some syncronouse stuff
This commit is contained in:
1 parent
6c1c088d44
commit
98e7760142
4 files changed
+53
-35
No files matched your search
@@ -33,8 +33,11 @@ public class GameInterface
|
||||
throw new Exception("Unsupported OS");
|
||||
}
|
||||
|
||||
OodleHelper.DownloadOodleDll($"temp/oodle.{libraryExtension}");
|
||||
OodleHelper.Initialize($"temp/oodle.{libraryExtension}");
|
||||
Directory.CreateDirectory("../../temp");
|
||||
Console.WriteLine($"../..temp/oodle.{libraryExtension}");
|
||||
var bool1 = OodleHelper.DownloadOodleDll($"../..temp/oodle.{libraryExtension}");
|
||||
Console.WriteLine(bool1);
|
||||
OodleHelper.Initialize($"../..temp/oodle.{libraryExtension}");
|
||||
|
||||
files = [.. provider.Files.Keys];
|
||||
|
||||
@@ -48,6 +51,12 @@ public class GameInterface
|
||||
.Where(nation => !nation.EndsWith(".uasset") && nation != "TankStub")
|
||||
.Distinct(),
|
||||
];
|
||||
|
||||
var pda = provider.LoadPackageObject(
|
||||
"Blitz/Content/Tanks/USA/A97_M41_Bulldog/PDA_A97_M41_Bulldog.PDA_A97_M41_Bulldog"
|
||||
);
|
||||
|
||||
Console.WriteLine(pda);
|
||||
}
|
||||
|
||||
public string[] Files => files;
|
||||
|
||||
Reference in new issue
Block a user