Table of Contents

Class SaveFormatTests

Namespace
GrindFest
Assembly
GrindFest.dll

The runner-side wrappers for SaveFormatChecks. They are thin on purpose: all the assertions live in the static methods so they can be run without the runner (and without play mode).

public class SaveFormatTests : DevTest
Inheritance
object
SaveFormatTests
Inherited Members

Methods

ComponentPayloadRoundTrip()

A component's own payload slot reads back what it wrote, and refuses everything else.

ItemResistancesSurviveAMemoryPackRoundTrip()

Resistances are the one type MemoryPack does not know by itself; losing them is silent.

RealComponentPayloadsRoundTrip()

The real payload types a component writes have formatters, and survive the slot.

SaveDataSurvivesAMemoryPackRoundTrip()

Everything a party is made of survives a MemoryPack round-trip.

SaveKeysAreUniqueAndNamespaced()

No two components share a payload key, and every key is namespaced.