mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
feat: protos
This commit is contained in:
1 parent
0139dd45c9
commit
157fa0c1dd
7 files changed
+20
-3
No files matched your search
@@ -12,5 +12,6 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DotNet.Glob" Version="3.1.3" />
|
||||
<PackageReference Include="Google.Protobuf" Version="3.29.3" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -15,7 +15,10 @@ namespace CLI.Functions
|
||||
|
||||
foreach (var tank in nation.Value.Directories)
|
||||
{
|
||||
Console.WriteLine(tank.Key);
|
||||
if (!tank.Value.HasFile($"DA_{tank.Key}_Attributes.uasset"))
|
||||
{
|
||||
Console.WriteLine($"{nation.Key}/{tank.Key}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,6 +60,10 @@ namespace CLI.Models
|
||||
|
||||
public void AddFile(string name, GameFile file) => Files.TryAdd(name, file);
|
||||
|
||||
public bool HasFile(string name) => Files.ContainsKey(name);
|
||||
|
||||
public GameFile GetFile(string name) => Files[name];
|
||||
|
||||
public bool HasDirectory(string name) => Directories.ContainsKey(name);
|
||||
|
||||
public VfsDirectory GetDirectory(string name)
|
||||
|
||||
Reference in new issue
Block a user