internal void Load(SaveFileReader reader) { reader.ReadVersion(1); var valuesSpan = Values.AsSpan(); reader.ReadSpan(valuesSpan); for (var i = 0; i < Values.Length; i++) { if (Values[i].Unknown != 0) { throw new InvalidDataException(); } } }
internal void Load(SaveFileReader reader) { reader.ReadVersion(1); var valuesSpan = Values.AsSpan(); reader.ReadSpan(valuesSpan); for (var i = 0; i < Values.Length; i++) { if (Values[i].Unknown != 0) { throw new InvalidDataException(); } } }