Skip to content

Commit 67acb07

Browse files
committed
refactor: Refactor code for improved readability and consistency
- Simplified method calls in DfGatewayService and DfListService by reducing line breaks. - Consolidated variable declarations and assignments in ListService and LxnsBestsService for clarity. - Streamlined the execution of HTTP mappings in LxnsGatewayService. - Enhanced formatting and alignment in ConstantMap for better structure. - Improved the logic flow in ScoreFilterHelper and ScoreProcesserHelper for efficiency. - Updated Union class for better readability and reduced redundancy in equality checks. - Ensured consistent use of newlines and formatting across various utility classes.
1 parent 3a248b0 commit 67acb07

File tree

122 files changed

+776
-798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+776
-798
lines changed

src/Prober/Common/ClassRank.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ public enum ClassRank
2828
SSS2,
2929
SSS1,
3030
LEGEND
31-
}
31+
}

src/Prober/Common/ComboFlags.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ public enum ComboFlags
1818

1919
[JsonStringEnumMemberName("app")]
2020
AllPerfectPlus
21-
}
21+
}

src/Prober/Common/CommonChart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ public class CommonChart
1313
public required double LevelValue { get; init; }
1414

1515
public required Notes Notes { get; init; }
16-
}
16+
}

src/Prober/Common/CommonCourseRank.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ public enum CommonCourseRank
2525
Shinjudan,
2626
Shinkaiden,
2727
Urakaiden
28-
}
28+
}

src/Prober/Common/CommonDifficulties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ public enum CommonDifficulties
88
Expert,
99
Master,
1010
ReMaster
11-
}
11+
}

src/Prober/Common/CommonRecord.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ public record CommonRecord
1919
public required int DXRating { get; init; }
2020

2121
public float ExtraInfo { get; internal set; }
22-
}
22+
}

src/Prober/Common/CommonSong.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public class CommonSong
1515
public required string AudioUrl { get; init; }
1616

1717
public required string JacketUrl { get; init; }
18-
}
18+
}

src/Prober/Common/CommonSongTypes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ public enum CommonSongTypes
55
Standard,
66
DX,
77
Utage
8-
}
8+
}

src/Prober/Common/CommonUser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ public record CommonUser
4040
public string PlateUrl => $"https://assets2.lxns.net/maimai/plate/{PlateId}.png";
4141

4242
public string FrameUrl => $"https://assets2.lxns.net/maimai/frame/{FrameId}.png";
43-
}
43+
}

src/Prober/Common/Notes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public record Notes
2121

2222
[JsonPropertyName("break")]
2323
public required int Break { get; init; }
24-
}
24+
}

0 commit comments

Comments
 (0)