Skip to content

Commit

Permalink
ListBinaryTranslation merging
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Dec 23, 2023
1 parent 0f4b360 commit 9a50b76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

namespace Mutagen.Bethesda.Translations.Binary;

public sealed class ListBinaryTranslation<TItem> : ListBinaryTranslation<IBinaryWriteStream, IBinaryReadStream, TItem>
{
}

public class ListBinaryTranslation<TWriter, TReader, TItem>
where TWriter : IBinaryWriteStream
where TReader : IBinaryReadStream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1343,4 +1343,14 @@ public override void GenerateCopyInRet(
{
throw new NotImplementedException();
}

public override bool AllowDirectWrite(ObjectGeneration objGen, TypeGeneration typeGen)
{
return false;
}

public override bool AllowDirectParse(ObjectGeneration objGen, TypeGeneration typeGen, bool squashedRepeatedList)
{
return false;
}
}

0 comments on commit 9a50b76

Please sign in to comment.