private static ObjectImport?Import(FArchive reader, int index) { if (reader.GetTable <ObjectImport>(ImportTable.TableName) is ImportTable Imports) { var i = -index - 1; if (i < Imports.Items.Count) { return(Imports.Items[i]); } } return(null); }
private static ObjectExport?Export(FArchive reader, int index) { if (reader.GetTable <ObjectExport>(ExportTable.TableName) is ExportTable Exports) { var i = index - 1; if (i < Exports.Items.Count) { return(Exports.Items[i]); } } return(null); }