-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdbdef8
commit 158c59c
Showing
9 changed files
with
207 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
namespace WECCL.Updates; | ||
|
||
internal class V158toV159 : VersionDiff | ||
{ | ||
public V158toV159() | ||
{ | ||
this.MaterialCountsDiff = new List<int> | ||
{ | ||
0, | ||
2, | ||
0, | ||
0, | ||
2, | ||
2, | ||
2, | ||
2, | ||
1, | ||
1, | ||
0, | ||
1, | ||
1, | ||
0, | ||
3, | ||
3, | ||
1, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
11, | ||
11, | ||
2, | ||
2, | ||
1, | ||
0, | ||
1, | ||
1, | ||
0, | ||
1, | ||
1, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0 | ||
}; | ||
this.FleshCountsDiff = new List<int> | ||
{ | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0 | ||
}; | ||
this.ShapeCountsDiff = new List<int> | ||
{ | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0 | ||
}; | ||
this.BodyFemaleCountDiff = 0; | ||
this.FaceFemaleCountDiff = 0; | ||
this.SpecialFootwearCountDiff = 0; | ||
this.TransparentHairMaterialCountDiff = 0; | ||
this.TransparentHairHairstyleCountDiff = 1; | ||
this.KneepadCountDiff = 0; | ||
this.MusicCountDiff = 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace WECCL.Updates; | ||
|
||
internal class VersionDiffGroup : VersionDiff | ||
{ | ||
public VersionDiffGroup(params VersionDiff[] diffs) | ||
{ | ||
foreach (VersionDiff diff in diffs) | ||
{ | ||
this.MaterialCountsDiff = this.MaterialCountsDiff.Zip(diff.MaterialCountsDiff, (a, b) => a + b).ToList(); | ||
this.FleshCountsDiff = this.FleshCountsDiff.Zip(diff.FleshCountsDiff, (a, b) => a + b).ToList(); | ||
this.ShapeCountsDiff = this.ShapeCountsDiff.Zip(diff.ShapeCountsDiff, (a, b) => a + b).ToList(); | ||
this.BodyFemaleCountDiff += diff.BodyFemaleCountDiff; | ||
this.FaceFemaleCountDiff += diff.FaceFemaleCountDiff; | ||
this.SpecialFootwearCountDiff += diff.SpecialFootwearCountDiff; | ||
this.TransparentHairMaterialCountDiff += diff.TransparentHairMaterialCountDiff; | ||
this.TransparentHairHairstyleCountDiff += diff.TransparentHairHairstyleCountDiff; | ||
this.KneepadCountDiff += diff.KneepadCountDiff; | ||
this.MusicCountDiff += diff.MusicCountDiff; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters