added some missing structs

This commit is contained in:
Fabian 2020-10-28 21:57:37 +01:00
parent 1b2f6c636f
commit 220ed024cd
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,14 @@
namespace FModel.PakReader.Parsers.Objects
{
public readonly struct FPrimaryAssetId : IUStruct
{
public readonly FPrimaryAssetType PrimaryAssetType;
public readonly FName PrimaryAssetName;
public FPrimaryAssetId(PackageReader reader)
{
PrimaryAssetType = new FPrimaryAssetType(reader);
PrimaryAssetName = reader.ReadFName();
}
}
}

View File

@ -0,0 +1,12 @@
namespace FModel.PakReader.Parsers.Objects
{
public readonly struct FPrimaryAssetType : IUStruct
{
public readonly FName Name;
public FPrimaryAssetType(PackageReader reader)
{
Name = reader.ReadFName();
}
}
}