Method ItemResistancesSurviveAMemoryPackRoundTrip
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
ItemResistancesSurviveAMemoryPackRoundTrip()
ResistanceDictionary is a Dictionary subclass, which MemoryPack has no built-in support for, so it depends on ResistanceDictionaryFormatter having been registered by MemoryPackSetup. Nothing else in the save would notice it missing: the item would round-trip with empty resistances and no error anywhere - which is why this is a test and not a comment.
public static string ItemResistancesSurviveAMemoryPackRoundTrip()