diff --git a/RhythmGameUtilities/Enums/TypeCode.cs b/RhythmGameUtilities/Enums/TypeCode.cs
index de5b8be..1aefc0c 100644
--- a/RhythmGameUtilities/Enums/TypeCode.cs
+++ b/RhythmGameUtilities/Enums/TypeCode.cs
@@ -7,22 +7,22 @@ public static class TypeCode
///
/// BPM Marker
///
- public const string BPM = "B";
+ public const string BPM_Marker = "B";
///
/// Time Signature Marker
///
- public const string TimeSignature = "TS";
+ public const string TimeSignatureMarker = "TS";
///
/// Note Marker
///
- public const string Note = "N";
+ public const string NoteMarker = "N";
///
/// Event Marker
///
- public const string Event = "E";
+ public const string EventMarker = "E";
}
diff --git a/RhythmGameUtilities/Scripts/Parsers.cs b/RhythmGameUtilities/Scripts/Parsers.cs
index c7986e9..a3a47e0 100644
--- a/RhythmGameUtilities/Scripts/Parsers.cs
+++ b/RhythmGameUtilities/Scripts/Parsers.cs
@@ -113,7 +113,7 @@ public static Dictionary ParseTimeSignaturesFromChartSection(
KeyValuePair[] section)
{
return section
- .Where(item => item.Value[0] == TypeCode.TimeSignature)
+ .Where(item => item.Value[0] == TypeCode.TimeSignatureMarker)
.Select(item =>
new KeyValuePair(int.Parse(item.Key), item.Value.Skip(1).Select(int.Parse).ToArray()))
.ToDictionary(item => item.Key, x => x.Value);
@@ -123,7 +123,7 @@ public static Dictionary ParseBpmFromChartSection(
KeyValuePair[] section)
{
return section
- .Where(item => item.Value[0] == TypeCode.BPM)
+ .Where(item => item.Value[0] == TypeCode.BPM_Marker)
.Select(item => new KeyValuePair(int.Parse(item.Key), int.Parse(item.Value.Skip(1).First())))
.OrderBy(item => item.Key)
.ToDictionary(item => item.Key, x => x.Value);
@@ -132,7 +132,7 @@ public static Dictionary ParseBpmFromChartSection(
public static Note[] ParseNotesFromChartSection(KeyValuePair[] section)
{
return section
- .Where(item => item.Value.Length == 3 && item.Value.First() == TypeCode.Note).Select(
+ .Where(item => item.Value.Length == 3 && item.Value.First() == TypeCode.NoteMarker).Select(
item => new Note
{
Position = int.Parse(item.Key),
@@ -145,7 +145,7 @@ public static Dictionary ParseLyricsFromChartSection(
KeyValuePair[] section)
{
return section
- .Where(item => item.Value.First() == TypeCode.Event)
+ .Where(item => item.Value.First() == TypeCode.EventMarker)
.Select(
item => new KeyValuePair(int.Parse(item.Key),
JSON_VALUE_PATTERN.Matches(item.Value.Skip(1).First()).Select(part => part.Value.Trim('"'))
diff --git a/UnityPackage/Enums/TypeCode.cs b/UnityPackage/Enums/TypeCode.cs
index de5b8be..1aefc0c 100644
--- a/UnityPackage/Enums/TypeCode.cs
+++ b/UnityPackage/Enums/TypeCode.cs
@@ -7,22 +7,22 @@ public static class TypeCode
///
/// BPM Marker
///
- public const string BPM = "B";
+ public const string BPM_Marker = "B";
///
/// Time Signature Marker
///
- public const string TimeSignature = "TS";
+ public const string TimeSignatureMarker = "TS";
///
/// Note Marker
///
- public const string Note = "N";
+ public const string NoteMarker = "N";
///
/// Event Marker
///
- public const string Event = "E";
+ public const string EventMarker = "E";
}
diff --git a/UnityPackage/Scripts/Parsers.cs b/UnityPackage/Scripts/Parsers.cs
index c7986e9..a3a47e0 100644
--- a/UnityPackage/Scripts/Parsers.cs
+++ b/UnityPackage/Scripts/Parsers.cs
@@ -113,7 +113,7 @@ public static Dictionary ParseTimeSignaturesFromChartSection(
KeyValuePair[] section)
{
return section
- .Where(item => item.Value[0] == TypeCode.TimeSignature)
+ .Where(item => item.Value[0] == TypeCode.TimeSignatureMarker)
.Select(item =>
new KeyValuePair(int.Parse(item.Key), item.Value.Skip(1).Select(int.Parse).ToArray()))
.ToDictionary(item => item.Key, x => x.Value);
@@ -123,7 +123,7 @@ public static Dictionary ParseBpmFromChartSection(
KeyValuePair[] section)
{
return section
- .Where(item => item.Value[0] == TypeCode.BPM)
+ .Where(item => item.Value[0] == TypeCode.BPM_Marker)
.Select(item => new KeyValuePair(int.Parse(item.Key), int.Parse(item.Value.Skip(1).First())))
.OrderBy(item => item.Key)
.ToDictionary(item => item.Key, x => x.Value);
@@ -132,7 +132,7 @@ public static Dictionary ParseBpmFromChartSection(
public static Note[] ParseNotesFromChartSection(KeyValuePair[] section)
{
return section
- .Where(item => item.Value.Length == 3 && item.Value.First() == TypeCode.Note).Select(
+ .Where(item => item.Value.Length == 3 && item.Value.First() == TypeCode.NoteMarker).Select(
item => new Note
{
Position = int.Parse(item.Key),
@@ -145,7 +145,7 @@ public static Dictionary ParseLyricsFromChartSection(
KeyValuePair[] section)
{
return section
- .Where(item => item.Value.First() == TypeCode.Event)
+ .Where(item => item.Value.First() == TypeCode.EventMarker)
.Select(
item => new KeyValuePair(int.Parse(item.Key),
JSON_VALUE_PATTERN.Matches(item.Value.Skip(1).First()).Select(part => part.Value.Trim('"'))