mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: dir api
This commit is contained in:
1 parent
9546bf5bb7
commit
0139dd45c9
8 files changed
+115
-43
No files matched your search
@@ -1,9 +1,23 @@
|
||||
using CLI.Models;
|
||||
|
||||
namespace CLI.Functions
|
||||
{
|
||||
public static class Mangler
|
||||
{
|
||||
public static void Mangle() {
|
||||
|
||||
public static void Mangle()
|
||||
{
|
||||
BlitzProvider provider = new();
|
||||
|
||||
foreach (var nation in provider.RootDirectory.GetDirectory("Blitz/Content/Tanks").Directories)
|
||||
{
|
||||
if (nation.Key == "TankStub")
|
||||
continue;
|
||||
|
||||
foreach (var tank in nation.Value.Directories)
|
||||
{
|
||||
Console.WriteLine(tank.Key);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user