mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: hull mesh
This commit is contained in:
1 parent
168a955380
commit
8b268cb647
7 files changed
+312
-73
No files matched your search
@@ -0,0 +1,21 @@
|
||||
using CUE4Parse.UE4.Assets.Exports.Engine;
|
||||
using CUE4Parse.UE4.Assets.Objects;
|
||||
|
||||
namespace BlitzKit.CLI.Models
|
||||
{
|
||||
public class MappedUDataTable : MappedUObject
|
||||
{
|
||||
readonly Dictionary<string, FStructFallback> StructFallbacks = [];
|
||||
|
||||
public MappedUDataTable(UDataTable table)
|
||||
: base(table.Properties)
|
||||
{
|
||||
foreach (var row in table.RowMap)
|
||||
{
|
||||
StructFallbacks.Add(row.Key.Text, row.Value);
|
||||
}
|
||||
}
|
||||
|
||||
public MappedUObject GetRow(string name) => new(StructFallbacks[name].Properties);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user