File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 33using UAssetAPI . PropertyTypes . Structs ;
44using UAssetAPI . UnrealTypes ;
55using UAssetAPI . ExportTypes ;
6+ using System . Reflection . PortableExecutable ;
67
78namespace UAssetAPI . ExportTypes
89{
@@ -125,6 +126,19 @@ public override void Write(AssetBinaryWriter writer)
125126 }
126127 }
127128
129+ if ( decidedStructType . ToString ( ) == "Generic" )
130+ {
131+ // overrides here...
132+ FName exportClassTypeName = this . GetExportClassType ( ) ;
133+ string exportClassType = exportClassTypeName . Value . Value ;
134+ switch ( exportClassType )
135+ {
136+ case "CommonGenericInputActionDataTable" :
137+ decidedStructType = FName . DefineDummy ( writer . Asset , "CommonInputActionDataBase" ) ;
138+ break ;
139+ }
140+ }
141+
128142 writer . Write ( ( int ) 0 ) ;
129143
130144 writer . Write ( Table . Data . Count ) ;
You can’t perform that action at this time.
0 commit comments