Skip to content

Commit

Permalink
decidedStructType override for CommonGenericInputActionDataTable
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Jun 26, 2024
1 parent 513d38e commit 22a78ac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions UAssetAPI/ExportTypes/DataTableExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ public override void Read(AssetBinaryReader reader, int nextStarting)
}
}

if (decidedStructType.ToString() == "Generic")
{
// overrides here...
FName exportClassTypeName = this.GetExportClassType();
string exportClassType = exportClassTypeName.Value.Value;
switch(exportClassType)
{
case "CommonGenericInputActionDataTable":
decidedStructType = FName.DefineDummy(reader.Asset, "CommonInputActionDataBase");
break;
}
}

reader.ReadInt32();

Table = new UDataTable();
Expand Down

0 comments on commit 22a78ac

Please sign in to comment.