diff --git a/.gitignore b/.gitignore
index 4ce6fdd..f0c8437 100644
--- a/.gitignore
+++ b/.gitignore
@@ -337,4 +337,7 @@ ASALocalRun/
.localhistory/
# BeatPulse healthcheck temp database
-healthchecksdb
\ No newline at end of file
+healthchecksdb
+
+# IL2CPP Dumper result
+Scripts/dump.cs
\ No newline at end of file
diff --git a/D4DJ-Tools.csproj b/D4DJ-Tools.csproj
index 7225eb6..b13aa54 100644
--- a/D4DJ-Tools.csproj
+++ b/D4DJ-Tools.csproj
@@ -6,6 +6,14 @@
D4DJ_Tools
+
+
+
+
+
+
+
+
diff --git a/D4DJEnums.cs b/D4DJEnums.cs
deleted file mode 100644
index 2133869..0000000
--- a/D4DJEnums.cs
+++ /dev/null
@@ -1,167 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace D4DJ_Tools.Masters
-{
- public enum EventType
- {
- None,
- Bingo,
- Medley,
- Poker,
- Raid
- }
-
- public enum AchievementNotifyType
- {
- Default,
- PokerHand,
- BingoCard
- }
-
- public enum MusicCategory
- {
- None,
- Original,
- Cover,
- Game,
- Instrumental,
- Collabo
- }
-
- public enum ChartSectionType
- {
- Full,
- Begin,
- Middle,
- End
- }
-
- public enum BingoRewardCategory
- {
- Bingo,
- Hit,
- Complete
- }
-
- public enum RewardCategory
- {
- Stock = 1,
- Card,
- ClubItem,
- Music,
- Stamp,
- Honor,
- Episode,
- Movie
- }
-
- public enum BingoStatusCategory
- {
- Bingo,
- Reach,
- NoReach
- }
-
- public enum CampaignCategory
- {
- Mileage = 1
- }
-
- public enum ChartAchieveType
- {
- Score = 1,
- Combo,
- ClearCount
- }
-
- public enum ChartDifficulty
- {
- None,
- Easy,
- Normal,
- Hard,
- Expert
- }
-
- public enum ClubItemTargetType
- {
- None,
- Unit,
- Attribute,
- Parameter,
- Character,
- All
- }
-
- public enum ClubItemSpotCategory
- {
- Club = 1,
- DJ,
- Stage,
- Ceiling
- }
-
- public enum CommonTextType
- {
- OptionPresetDescription = 101,
- OptionLaneViewRateDescription,
- OptionPreBackColorDescription,
- OptionLatencyDescription,
- OptionTapTimingDescription,
- OptionEvaluationModeDescription,
- OptionMirrorDescription,
- OptionSliderEffectDescription,
- OptionEffectDescription,
- OptionAutoColorDescription,
- RatingDescription = 201,
- SetlistLiveResultScoreLogDefaultComment = 301,
- ShareLiveResult = 401,
- ShareSetlist,
- ShareProfile,
- SharePrivateRoom
- }
-
- public enum CommonValueType
- {
- LiveSECount = 101,
- LiveNoteDesignCount,
- LiveTapEffectCount,
- LiveSliderLineCount,
- LiveSliderArrowCount,
- LiveContinueDiamondAmount,
- LiveBoostMultiplier,
- LikeEachTakeCount = 301,
- DJBoothGuestBookLatestListCount,
- FriendRequestMaxCount,
- PresentReceivedDayCount,
- FavoriteStampMaxCount,
- HonorMaxCount,
- DJBoothSetlistMaxCount,
- DJBoothGuestBookSetlistCount,
- DJBoothGuestBookHighScoreListCount,
- NicknameMaxLength = 401,
- CommentMaxLength,
- CardDeckNameMaxLength,
- ClubDeckNameMaxLength,
- DJBoothSetlistTitleMaxLength,
- MusicFavoriteDeckNameMaxLength,
- DJBoothCommentMaxLength,
- VoltageMaxAllowCount = 501,
- FirstTimeMusicId = 601
- }
-
- public enum ConditionCategory
- {
- None,
- UserLevel,
- UnitLevel,
- ClubItem,
- Story,
- EventPoint
- }
-
-}
diff --git a/DummyAttributes.cs b/DummyAttributes.cs
deleted file mode 100644
index d27bc58..0000000
--- a/DummyAttributes.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace D4DJ_Tools
-{
- public class TokenAttribute : Attribute
- {
- public string Token;
- }
-
- public class AttributeAttribute : Attribute
- {
- public string Name;
-
- public string RVA;
-
- public string Offset;
- }
-}
diff --git a/Generated/D4DJEnums.cs b/Generated/D4DJEnums.cs
new file mode 100644
index 0000000..8ffb7de
--- /dev/null
+++ b/Generated/D4DJEnums.cs
@@ -0,0 +1,359 @@
+namespace D4DJ_Tools.Masters
+{
+ public enum EventType
+ {
+ MouseDown = 0,
+ MouseUp = 1,
+ MouseMove = 2,
+ MouseDrag = 3,
+ KeyDown = 4,
+ KeyUp = 5,
+ ScrollWheel = 6,
+ Repaint = 7,
+ Layout = 8,
+ DragUpdated = 9,
+ DragPerform = 10,
+ DragExited = 15,
+ Ignore = 11,
+ Used = 12,
+ ValidateCommand = 13,
+ ExecuteCommand = 14,
+ ContextClick = 16,
+ MouseEnterWindow = 20,
+ MouseLeaveWindow = 21,
+ mouseDown = 0,
+ mouseUp = 1,
+ mouseMove = 2,
+ mouseDrag = 3,
+ keyDown = 4,
+ keyUp = 5,
+ scrollWheel = 6,
+ repaint = 7,
+ layout = 8,
+ dragUpdated = 9,
+ dragPerform = 10,
+ ignore = 11,
+ used = 12,
+ }
+
+ public enum CampaignCategory
+ {
+ Mileage = 1,
+ }
+
+ public enum CardIllustType
+ {
+ Normal = 0,
+ LimitBreak = 1,
+ MaxLimitBreak = 2,
+ }
+
+ public enum ClubItemSpotCategory
+ {
+ Club = 1,
+ DJ = 2,
+ Stage = 3,
+ Ceiling = 4,
+ }
+
+ public enum ClubItemTargetType
+ {
+ None = 0,
+ Unit = 1,
+ Attribute = 2,
+ Parameter = 3,
+ Character = 4,
+ All = 5,
+ }
+
+ public enum CommonTextType
+ {
+ OptionPresetDescription = 101,
+ OptionLaneViewRateDescription = 102,
+ OptionPreBackColorDescription = 103,
+ OptionLatencyDescription = 104,
+ OptionTapTimingDescription = 105,
+ OptionEvaluationModeDescription = 106,
+ OptionMirrorDescription = 107,
+ OptionSliderEffectDescription = 108,
+ OptionEffectDescription = 109,
+ OptionAutoColorDescription = 110,
+ RatingDescription = 201,
+ SetlistLiveResultScoreLogDefaultComment = 301,
+ ShareLiveResult = 401,
+ ShareSetlist = 402,
+ ShareProfile = 403,
+ SharePrivateRoom = 404,
+ }
+
+ public enum CommonValueType
+ {
+ LiveSECount = 101,
+ LiveNoteDesignCount = 102,
+ LiveTapEffectCount = 103,
+ LiveSliderLineCount = 104,
+ LiveSliderArrowCount = 105,
+ LiveContinueDiamondAmount = 106,
+ LiveBoostMultiplier = 107,
+ LikeEachTakeCount = 301,
+ DJBoothGuestBookLatestListCount = 302,
+ FriendRequestMaxCount = 303,
+ PresentReceivedDayCount = 304,
+ FavoriteStampMaxCount = 305,
+ HonorMaxCount = 306,
+ DJBoothSetlistMaxCount = 307,
+ DJBoothGuestBookSetlistCount = 308,
+ DJBoothGuestBookHighScoreListCount = 309,
+ NicknameMaxLength = 401,
+ CommentMaxLength = 402,
+ CardDeckNameMaxLength = 403,
+ ClubDeckNameMaxLength = 404,
+ DJBoothSetlistTitleMaxLength = 405,
+ MusicFavoriteDeckNameMaxLength = 406,
+ DJBoothCommentMaxLength = 407,
+ VoltageMaxAllowCount = 501,
+ FirstTimeMusicId = 601,
+ }
+
+ public enum ConditionCategory
+ {
+ None = 0,
+ UserLevel = 1,
+ UnitLevel = 2,
+ ClubItem = 3,
+ Story = 4,
+ EventPoint = 5,
+ }
+
+ public enum EpisodeCategory
+ {
+ Unit = 1,
+ Event = 2,
+ Card = 3,
+ LiveResult = 4,
+ Map = 5,
+ Tutorial = 9,
+ }
+
+ public enum BingoRewardCategory
+ {
+ Bingo = 0,
+ Hit = 1,
+ Complete = 2,
+ }
+
+ public enum BingoStatusCategory
+ {
+ Bingo = 0,
+ Reach = 1,
+ NoReach = 2,
+ }
+
+ public enum EventAggregationType
+ {
+ MainAddPoint = 0,
+ Highscore = 1,
+ AddPoint = 2,
+ }
+
+ public enum PokerHandCategory
+ {
+ RoyalStraightFlush = 0,
+ StraightFlush = 1,
+ FourOfAKind = 2,
+ FullHouse = 3,
+ Flush = 4,
+ Straight = 5,
+ ThreeOfAKind = 6,
+ TwoPair = 7,
+ OnePair = 8,
+ HighCard = 9,
+ }
+
+ public enum DateSelectCategory
+ {
+ None = 0,
+ Daily = 1,
+ Weekly = 2,
+ Monthly = 3,
+ }
+
+ public enum GachaType
+ {
+ Normal = 1,
+ Tutorial = 2,
+ Event = 3,
+ Birthday = 4,
+ Special = 5,
+ Revival = 6,
+ }
+
+ public enum HonorType
+ {
+ Common = 0,
+ Mission = 1,
+ Character = 2,
+ Event = 3,
+ D4Pass = 4,
+ }
+
+ public enum Live2DUIChatCategory
+ {
+ MenuCommon = 0,
+ LoginBonus = 1,
+ Mission = 2,
+ CharacterIntroduction = 3,
+ GachaMenu = 4,
+ BoxGacha = 5,
+ Training = 6,
+ }
+
+ public enum ChartAchieveType
+ {
+ Score = 1,
+ Combo = 2,
+ ClearCount = 3,
+ }
+
+ public enum LiveType
+ {
+ Single = 0,
+ Medley = 1,
+ SingleBattle = 2,
+ }
+
+ public enum MultiRoomType
+ {
+ Free = 1,
+ Beginner = 2,
+ Veteran = 3,
+ Master = 4,
+ }
+
+ public enum LoginBonusType
+ {
+ Common = 0,
+ Campaign = 1,
+ Subscription = 2,
+ VipBronze = 3,
+ VipSilver = 4,
+ VipGold = 5,
+ VipPlatinum = 6,
+ }
+
+ public enum MapEventType
+ {
+ Normal = 0,
+ Special = 1,
+ Birthday = 2,
+ }
+
+ public enum MapObjectType
+ {
+ Prefab = 0,
+ Image = 1,
+ Movie = 2,
+ }
+
+ public enum MobMovingPattern
+ {
+ Fixed = 0,
+ OneWay = 1,
+ Loop = 2,
+ }
+
+ public enum AchievementNotifyType
+ {
+ Default = 0,
+ PokerHand = 1,
+ BingoCard = 2,
+ }
+
+ public enum MissionCategory
+ {
+ Achievement = 0,
+ Tutorial = 1,
+ Chart = 2,
+ TimeLimited = 3,
+ }
+
+ public enum ChartDifficulty
+ {
+ None = 0,
+ Easy = 1,
+ Normal = 2,
+ Hard = 3,
+ Expert = 4,
+ }
+
+ public enum ChartSectionType
+ {
+ Full = 0,
+ Begin = 1,
+ Middle = 2,
+ End = 3,
+ }
+
+ public enum MusicCategory
+ {
+ None = 0,
+ Original = 1,
+ Cover = 2,
+ Game = 3,
+ Instrumental = 4,
+ Collabo = 5,
+ }
+
+ public enum MileageRank
+ {
+ Normal = 0,
+ Bronze = 1,
+ Silver = 2,
+ Gold = 3,
+ Platinum = 4,
+ }
+
+ public enum StampCategory
+ {
+ Common = 0,
+ Rare = 1,
+ Collabo = 2,
+ }
+
+ public enum RewardCategory
+ {
+ Stock = 1,
+ Card = 2,
+ ClubItem = 3,
+ Music = 4,
+ Stamp = 5,
+ Honor = 6,
+ Episode = 7,
+ Movie = 8,
+ }
+
+ public enum StockCategory
+ {
+ Diamond = 0,
+ Fragment = 1,
+ Exp = 2,
+ SkillExp = 3,
+ LimitBreak = 4,
+ VoltageRecovery = 5,
+ Boost = 6,
+ MusicShop = 7,
+ Event = 8,
+ GachaTicket = 9,
+ Random = 10,
+ Point = 99,
+ }
+
+ public enum TrumpSuit
+ {
+ Club = 0,
+ Diamond = 1,
+ Heart = 2,
+ Spade = 3,
+ }
+
+}
diff --git a/Generated/MasterTypes.Generated.cs b/Generated/MasterTypes.Generated.cs
new file mode 100644
index 0000000..60c51cb
--- /dev/null
+++ b/Generated/MasterTypes.Generated.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+namespace D4DJ_Tools.Masters
+{
+ public static partial class MasterTypes
+ {
+ private static Dictionary specialTypes = new Dictionary
+ {
+ { "ClubItemDetailMaster", typeof(Dictionary, ClubItemDetailMaster>) },
+ { "EpisodeMaster", typeof(Dictionary, EpisodeMaster>) },
+ { "CampaignMaster", typeof(Dictionary) },
+ { "MapSpotMaster", typeof(Dictionary, MapSpotMaster>) },
+ { "MileageMaster", typeof(Dictionary) },
+ { "MusicMixMaster", typeof(Dictionary, MusicMixMaster>) },
+ { "SkillExpMaster", typeof(Dictionary, SkillExpMaster>) },
+ { "CommonTextMaster", typeof(Dictionary) },
+ { "CommonValueMaster", typeof(Dictionary) },
+ { "PokerCoinMultiplierMaster", typeof(Dictionary) },
+ { "ChartAchieveMaster", typeof(Dictionary, ChartAchieveMaster>) },
+ { "LoginBonusItemMaster", typeof(Dictionary, LoginBonusItemMaster>) },
+ { "ChartLessonMaster", typeof(Dictionary, ChartLessonMaster>) },
+ { "ChartNoteCountMaster", typeof(Dictionary, ChartNoteCountMaster>) },
+ { "TrumpMaster", typeof(Dictionary, TrumpMaster>) },
+ };
+ }
+}
diff --git a/Masters/AchievementMaster.cs b/Generated/Masters/AchievementMaster.cs
similarity index 81%
rename from Masters/AchievementMaster.cs
rename to Generated/Masters/AchievementMaster.cs
index f7760a7..3450858 100644
--- a/Masters/AchievementMaster.cs
+++ b/Generated/Masters/AchievementMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class AchievementMaster
+ public class AchievementMaster
{
[Key(0)]
public int Id { get; set; }
@@ -36,3 +32,4 @@ public class AchievementMaster
public AchievementNotifyType NotifyType { get; set; }
}
}
+
diff --git a/Generated/Masters/AttributeMaster.cs b/Generated/Masters/AttributeMaster.cs
new file mode 100644
index 0000000..98fd8db
--- /dev/null
+++ b/Generated/Masters/AttributeMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class AttributeMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ }
+}
+
diff --git a/Masters/BingoRewardMaster.cs b/Generated/Masters/BingoLotPointMaster.cs
similarity index 53%
rename from Masters/BingoRewardMaster.cs
rename to Generated/Masters/BingoLotPointMaster.cs
index 9c92e0f..387d209 100644
--- a/Masters/BingoRewardMaster.cs
+++ b/Generated/Masters/BingoLotPointMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class BingoLotPointMaster
+ public class BingoLotPointMaster
{
[Key(0)]
public int MinCardNumber { get; set; }
@@ -16,3 +12,4 @@ public class BingoLotPointMaster
public int LotNumberNeedPoint { get; set; }
}
}
+
diff --git a/Masters/BingoLotPointMaster.cs b/Generated/Masters/BingoRewardMaster.cs
similarity index 73%
rename from Masters/BingoLotPointMaster.cs
rename to Generated/Masters/BingoRewardMaster.cs
index 9c94de7..d5eb9ef 100644
--- a/Masters/BingoLotPointMaster.cs
+++ b/Generated/Masters/BingoRewardMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class BingoRewardMaster
+ public class BingoRewardMaster
{
[Key(0)]
public int Id { get; set; }
@@ -26,3 +22,4 @@ public class BingoRewardMaster
public int RewardAmount { get; set; }
}
}
+
diff --git a/Masters/BingoVoiceMaster.cs b/Generated/Masters/BingoVoiceMaster.cs
similarity index 64%
rename from Masters/BingoVoiceMaster.cs
rename to Generated/Masters/BingoVoiceMaster.cs
index 15fa985..11319f9 100644
--- a/Masters/BingoVoiceMaster.cs
+++ b/Generated/Masters/BingoVoiceMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class BingoVoiceMaster
+ public class BingoVoiceMaster
{
[Key(0)]
public int Id { get; set; }
@@ -20,3 +16,4 @@ public class BingoVoiceMaster
public int AchieveNum { get; set; }
}
}
+
diff --git a/Masters/CampaignMaster.cs b/Generated/Masters/CampaignMaster.cs
similarity index 64%
rename from Masters/CampaignMaster.cs
rename to Generated/Masters/CampaignMaster.cs
index 6159d6e..e4134cf 100644
--- a/Masters/CampaignMaster.cs
+++ b/Generated/Masters/CampaignMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CampaignMaster
+ public class CampaignMaster
{
[Key(0)]
public CampaignCategory Category { get; set; }
@@ -20,3 +16,4 @@ public class CampaignMaster
public DateTime EndDate { get; set; }
}
}
+
diff --git a/Masters/CardAffectionRewardMaster.cs b/Generated/Masters/CardAffectionRewardMaster.cs
similarity index 73%
rename from Masters/CardAffectionRewardMaster.cs
rename to Generated/Masters/CardAffectionRewardMaster.cs
index e6a0e78..bcb1c7b 100644
--- a/Masters/CardAffectionRewardMaster.cs
+++ b/Generated/Masters/CardAffectionRewardMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CardAffectionRewardMaster
+ public class CardAffectionRewardMaster
{
[Key(0)]
public int Id { get; set; }
@@ -28,3 +24,4 @@ public class CardAffectionRewardMaster
public int Amount { get; set; }
}
}
+
diff --git a/Masters/CardExpMaster.cs b/Generated/Masters/CardExpMaster.cs
similarity index 51%
rename from Masters/CardExpMaster.cs
rename to Generated/Masters/CardExpMaster.cs
index 869129c..ddfdb07 100644
--- a/Masters/CardExpMaster.cs
+++ b/Generated/Masters/CardExpMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CardExpMaster
+ public class CardExpMaster
{
[Key(0)]
public int Level { get; set; }
@@ -16,3 +12,4 @@ public class CardExpMaster
public int TotalExp { get; set; }
}
}
+
diff --git a/Masters/CardMaster.cs b/Generated/Masters/CardMaster.cs
similarity index 85%
rename from Masters/CardMaster.cs
rename to Generated/Masters/CardMaster.cs
index 5dc13a0..e70dec5 100644
--- a/Masters/CardMaster.cs
+++ b/Generated/Masters/CardMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CardMaster
+ public class CardMaster
{
[Key(0)]
public int Id { get; set; }
@@ -42,3 +38,4 @@ public class CardMaster
public DateTime EndDate { get; set; }
}
}
+
diff --git a/Generated/Masters/CharacterMaster.cs b/Generated/Masters/CharacterMaster.cs
new file mode 100644
index 0000000..f683b8c
--- /dev/null
+++ b/Generated/Masters/CharacterMaster.cs
@@ -0,0 +1,27 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class CharacterMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string FullName { get; set; }
+ [Key(2)]
+ public string FirstName { get; set; }
+ [Key(3)]
+ public string FirstNameEnglish { get; set; }
+ [Key(4)]
+ public int __UnitPrimaryKey__ { get; set; }
+ [Key(5)]
+ public string[] ProfileAnswers { get; set; }
+ [Key(6)]
+ public string FullNameEnglish { get; set; }
+ [Key(7)]
+ public string ColorCode { get; set; }
+ }
+}
+
diff --git a/Masters/ChargeLimitMaster.cs b/Generated/Masters/ChargeLimitMaster.cs
similarity index 51%
rename from Masters/ChargeLimitMaster.cs
rename to Generated/Masters/ChargeLimitMaster.cs
index b22e314..bb411b6 100644
--- a/Masters/ChargeLimitMaster.cs
+++ b/Generated/Masters/ChargeLimitMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ChargeLimitMaster
+ public class ChargeLimitMaster
{
[Key(0)]
public int Age { get; set; }
@@ -16,3 +12,4 @@ public class ChargeLimitMaster
public int ChageLimitYen { get; set; }
}
}
+
diff --git a/Masters/ChartAchieveMaster.cs b/Generated/Masters/ChartAchieveMaster.cs
similarity index 67%
rename from Masters/ChartAchieveMaster.cs
rename to Generated/Masters/ChartAchieveMaster.cs
index 9dba1a8..712571f 100644
--- a/Masters/ChartAchieveMaster.cs
+++ b/Generated/Masters/ChartAchieveMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ChartAchieveMaster
+ public class ChartAchieveMaster
{
[Key(0)]
public int Id { get; set; }
@@ -22,3 +18,4 @@ public class ChartAchieveMaster
public int RewardAmount { get; set; }
}
}
+
diff --git a/Masters/ChartLessonMaster.cs b/Generated/Masters/ChartLessonMaster.cs
similarity index 63%
rename from Masters/ChartLessonMaster.cs
rename to Generated/Masters/ChartLessonMaster.cs
index e2d1e9c..c5b8329 100644
--- a/Masters/ChartLessonMaster.cs
+++ b/Generated/Masters/ChartLessonMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ChartLessonMaster
+ public class ChartLessonMaster
{
[Key(0)]
public int ChartId { get; set; }
@@ -20,3 +16,4 @@ public class ChartLessonMaster
public string[] ImagePaths { get; set; }
}
}
+
diff --git a/Masters/ChartMaster.cs b/Generated/Masters/ChartMaster.cs
similarity index 73%
rename from Masters/ChartMaster.cs
rename to Generated/Masters/ChartMaster.cs
index 12c3eca..c147673 100644
--- a/Masters/ChartMaster.cs
+++ b/Generated/Masters/ChartMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ChartMaster
+ public class ChartMaster
{
[Key(0)]
public int Id { get; set; }
@@ -26,3 +22,4 @@ public class ChartMaster
public string OverrideLevel { get; set; }
}
}
+
diff --git a/Masters/ChartNoteCountMaster.cs b/Generated/Masters/ChartNoteCountMaster.cs
similarity index 58%
rename from Masters/ChartNoteCountMaster.cs
rename to Generated/Masters/ChartNoteCountMaster.cs
index 11aadf0..fb1ea56 100644
--- a/Masters/ChartNoteCountMaster.cs
+++ b/Generated/Masters/ChartNoteCountMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ChartNoteCountMaster
+ public class ChartNoteCountMaster
{
[Key(0)]
public int ChartId { get; set; }
@@ -18,3 +14,4 @@ public class ChartNoteCountMaster
public int Count { get; set; }
}
}
+
diff --git a/Masters/ClubItemDetailMaster.cs b/Generated/Masters/ClubItemDetailMaster.cs
similarity index 85%
rename from Masters/ClubItemDetailMaster.cs
rename to Generated/Masters/ClubItemDetailMaster.cs
index cc31d22..7a92243 100644
--- a/Masters/ClubItemDetailMaster.cs
+++ b/Generated/Masters/ClubItemDetailMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ClubItemDetailMaster
+ public class ClubItemDetailMaster
{
[Key(0)]
public int Id { get; set; }
@@ -44,3 +40,4 @@ public class ClubItemDetailMaster
public int RequiredAmount5 { get; set; }
}
}
+
diff --git a/Masters/ClubItemMaster.cs b/Generated/Masters/ClubItemMaster.cs
similarity index 70%
rename from Masters/ClubItemMaster.cs
rename to Generated/Masters/ClubItemMaster.cs
index 6bf0335..dec23e7 100644
--- a/Masters/ClubItemMaster.cs
+++ b/Generated/Masters/ClubItemMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ClubItemMaster
+ public class ClubItemMaster
{
[Key(0)]
public int Id { get; set; }
@@ -24,3 +20,4 @@ public class ClubItemMaster
public int DetailId { get; set; }
}
}
+
diff --git a/Masters/ClubItemSpotMaster.cs b/Generated/Masters/ClubItemSpotMaster.cs
similarity index 58%
rename from Masters/ClubItemSpotMaster.cs
rename to Generated/Masters/ClubItemSpotMaster.cs
index 738a576..edbbc2f 100644
--- a/Masters/ClubItemSpotMaster.cs
+++ b/Generated/Masters/ClubItemSpotMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ClubItemSpotMaster
+ public class ClubItemSpotMaster
{
[Key(0)]
public int Id { get; set; }
@@ -18,3 +14,4 @@ public class ClubItemSpotMaster
public ClubItemSpotCategory Catgory { get; set; }
}
}
+
diff --git a/Masters/CommandMaster.cs b/Generated/Masters/CommandMaster.cs
similarity index 57%
rename from Masters/CommandMaster.cs
rename to Generated/Masters/CommandMaster.cs
index 2576372..d7d0b95 100644
--- a/Masters/CommandMaster.cs
+++ b/Generated/Masters/CommandMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CommandMaster
+ public class CommandMaster
{
[Key(0)]
public int Id { get; set; }
@@ -18,3 +14,4 @@ public class CommandMaster
public string Command { get; set; }
}
}
+
diff --git a/Masters/CommonTextMaster.cs b/Generated/Masters/CommonTextMaster.cs
similarity index 52%
rename from Masters/CommonTextMaster.cs
rename to Generated/Masters/CommonTextMaster.cs
index e8522f1..be85151 100644
--- a/Masters/CommonTextMaster.cs
+++ b/Generated/Masters/CommonTextMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CommonTextMaster
+ public class CommonTextMaster
{
[Key(0)]
public CommonTextType Id { get; set; }
@@ -16,3 +12,4 @@ public class CommonTextMaster
public string Text { get; set; }
}
}
+
diff --git a/Masters/CommonValueMaster.cs b/Generated/Masters/CommonValueMaster.cs
similarity index 51%
rename from Masters/CommonValueMaster.cs
rename to Generated/Masters/CommonValueMaster.cs
index 707933c..61bffb4 100644
--- a/Masters/CommonValueMaster.cs
+++ b/Generated/Masters/CommonValueMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class CommonValueMaster
+ public class CommonValueMaster
{
[Key(0)]
public CommonValueType Id { get; set; }
@@ -16,3 +12,4 @@ public class CommonValueMaster
public int Value { get; set; }
}
}
+
diff --git a/Masters/ConditionMaster.cs b/Generated/Masters/ConditionMaster.cs
similarity index 58%
rename from Masters/ConditionMaster.cs
rename to Generated/Masters/ConditionMaster.cs
index 3b9c6bd..2ac7425 100644
--- a/Masters/ConditionMaster.cs
+++ b/Generated/Masters/ConditionMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class ConditionMaster
+ public class ConditionMaster
{
[Key(0)]
public int Id { get; set; }
@@ -18,3 +14,4 @@ public class ConditionMaster
public int[] Value { get; set; }
}
}
+
diff --git a/Generated/Masters/EpisodeMaster.cs b/Generated/Masters/EpisodeMaster.cs
new file mode 100644
index 0000000..79bef7f
--- /dev/null
+++ b/Generated/Masters/EpisodeMaster.cs
@@ -0,0 +1,27 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EpisodeMaster
+ {
+ [Key(0)]
+ public EpisodeCategory Category { get; set; }
+ [Key(1)]
+ public int Id { get; set; }
+ [Key(2)]
+ public int[] __ConditionsPrimaryKey__ { get; set; }
+ [Key(3)]
+ public string Title { get; set; }
+ [Key(4)]
+ public string Summary { get; set; }
+ [Key(5)]
+ public int[] __RewardsPrimaryKey__ { get; set; }
+ [Key(6)]
+ public DateTime StartDate { get; set; }
+ [Key(7)]
+ public DateTime EndDate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventAggregationBaseMaster.cs b/Generated/Masters/EventAggregationBaseMaster.cs
new file mode 100644
index 0000000..9978ab8
--- /dev/null
+++ b/Generated/Masters/EventAggregationBaseMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventAggregationBaseMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __EventPrimaryKey__ { get; set; }
+ [Key(2)]
+ public EventAggregationType AggregationType { get; set; }
+ [Key(3)]
+ public string PointTypeName { get; set; }
+ [Key(4)]
+ public string PointTypeIconName { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventEpisodeMaster.cs b/Generated/Masters/EventEpisodeMaster.cs
new file mode 100644
index 0000000..456b1d9
--- /dev/null
+++ b/Generated/Masters/EventEpisodeMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventEpisodeMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int BackgroundId { get; set; }
+ [Key(2)]
+ public int __EventPrimaryKey__ { get; set; }
+ [Key(3)]
+ public int ChapterNumber { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventMaster.cs b/Generated/Masters/EventMaster.cs
new file mode 100644
index 0000000..e37a619
--- /dev/null
+++ b/Generated/Masters/EventMaster.cs
@@ -0,0 +1,41 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public EventType Type { get; set; }
+ [Key(3)]
+ public DateTime StartDate { get; set; }
+ [Key(4)]
+ public DateTime ReceptionCloseDate { get; set; }
+ [Key(5)]
+ public DateTime RankFixStartDate { get; set; }
+ [Key(6)]
+ public DateTime ResultAnnouncementDate { get; set; }
+ [Key(7)]
+ public DateTime EndDate { get; set; }
+ [Key(8)]
+ public int StockId { get; set; }
+ [Key(9)]
+ public int EntryBonusStockAmount { get; set; }
+ [Key(10)]
+ public int StockAmountPerUse { get; set; }
+ [Key(11)]
+ public int[] EpisodeCharacters { get; set; }
+ [Key(12)]
+ public int __DisplayCardPrimaryKey__ { get; set; }
+ [Key(13)]
+ public CardIllustType DisplayCardType { get; set; }
+ [Key(14)]
+ public DateTime StoryUnlockDate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventMedleySetlistMaster.cs b/Generated/Masters/EventMedleySetlistMaster.cs
new file mode 100644
index 0000000..c3b3646
--- /dev/null
+++ b/Generated/Masters/EventMedleySetlistMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventMedleySetlistMaster
+ {
+ [Key(0)]
+ public int __AggregationPrimaryKey__ { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public int[] MusicIds { get; set; }
+ [Key(3)]
+ public int RequiredPoint { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventPointRewardMaster.cs b/Generated/Masters/EventPointRewardMaster.cs
new file mode 100644
index 0000000..1b8c4bd
--- /dev/null
+++ b/Generated/Masters/EventPointRewardMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventPointRewardMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __AggregationPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int RequiredPoint { get; set; }
+ [Key(3)]
+ public RewardCategory Category { get; set; }
+ [Key(4)]
+ public int RewardId { get; set; }
+ [Key(5)]
+ public int Amount { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventRankingRewardMaster.cs b/Generated/Masters/EventRankingRewardMaster.cs
new file mode 100644
index 0000000..c8eebef
--- /dev/null
+++ b/Generated/Masters/EventRankingRewardMaster.cs
@@ -0,0 +1,25 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventRankingRewardMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __AggregationPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int LowestRanking { get; set; }
+ [Key(3)]
+ public int HighestRanking { get; set; }
+ [Key(4)]
+ public RewardCategory Category { get; set; }
+ [Key(5)]
+ public int RewardId { get; set; }
+ [Key(6)]
+ public int Amount { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/EventSpecificBonusMaster.cs b/Generated/Masters/EventSpecificBonusMaster.cs
new file mode 100644
index 0000000..45070ed
--- /dev/null
+++ b/Generated/Masters/EventSpecificBonusMaster.cs
@@ -0,0 +1,35 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class EventSpecificBonusMaster
+ {
+ [Key(0)]
+ public int __EventPrimaryKey__ { get; set; }
+ [Key(1)]
+ public int[] CharacterIds { get; set; }
+ [Key(2)]
+ public int AttributeId { get; set; }
+ [Key(3)]
+ public int CharacterMatchPointBonusValue { get; set; }
+ [Key(4)]
+ public int AttributeMatchPointBonusValue { get; set; }
+ [Key(5)]
+ public int AllMatchPointBonusValue { get; set; }
+ [Key(6)]
+ public int CharacterMatchParameterBonusId { get; set; }
+ [Key(7)]
+ public int CharacterMatchParameterBonusValue { get; set; }
+ [Key(8)]
+ public int AttributeMatchParameterBonusId { get; set; }
+ [Key(9)]
+ public int AttributeMatchParameterBonusValue { get; set; }
+ [Key(10)]
+ public int AllMatchParameterBonusId { get; set; }
+ [Key(11)]
+ public int AllMatchParameterBonusValue { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/ExchangeItemMaster.cs b/Generated/Masters/ExchangeItemMaster.cs
new file mode 100644
index 0000000..3bc7e99
--- /dev/null
+++ b/Generated/Masters/ExchangeItemMaster.cs
@@ -0,0 +1,51 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class ExchangeItemMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __ExchangePrimaryKey__ { get; set; }
+ [Key(2)]
+ public int _unused { get; set; }
+ [Key(3)]
+ public RewardCategory RewardCategory { get; set; }
+ [Key(4)]
+ public int RewardId { get; set; }
+ [Key(5)]
+ public int RewardAmount { get; set; }
+ [Key(6)]
+ public int ExchangeCount { get; set; }
+ [Key(7)]
+ public DateSelectCategory ResetType { get; set; }
+ [Key(8)]
+ public int ResetValue { get; set; }
+ [Key(9)]
+ public bool Recommend { get; set; }
+ [Key(10)]
+ public DateTime StartDate { get; set; }
+ [Key(11)]
+ public DateTime EndDate { get; set; }
+ [Key(12)]
+ public int RequiredStockId1 { get; set; }
+ [Key(13)]
+ public int RequiredAmount1 { get; set; }
+ [Key(14)]
+ public int RequiredStockId2 { get; set; }
+ [Key(15)]
+ public int RequiredAmount2 { get; set; }
+ [Key(16)]
+ public int RequiredStockId3 { get; set; }
+ [Key(17)]
+ public int RequiredAmount3 { get; set; }
+ [Key(18)]
+ public int RequiredStockId4 { get; set; }
+ [Key(19)]
+ public int RequiredAmount4 { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/ExchangeMaster.cs b/Generated/Masters/ExchangeMaster.cs
new file mode 100644
index 0000000..4eaf71c
--- /dev/null
+++ b/Generated/Masters/ExchangeMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class ExchangeMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public int _unused { get; set; }
+ [Key(3)]
+ public DateTime StartDate { get; set; }
+ [Key(4)]
+ public DateTime EndDate { get; set; }
+ [Key(5)]
+ public bool IsTabVisible { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/GachaDrawMaster.cs b/Generated/Masters/GachaDrawMaster.cs
new file mode 100644
index 0000000..73517ca
--- /dev/null
+++ b/Generated/Masters/GachaDrawMaster.cs
@@ -0,0 +1,25 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class GachaDrawMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __GachaPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int[] DrawAmounts { get; set; }
+ [Key(3)]
+ public int __StockPrimaryKey__ { get; set; }
+ [Key(4)]
+ public int StockAmount { get; set; }
+ [Key(5)]
+ public int DrawLimit { get; set; }
+ [Key(6)]
+ public bool IsResetLimitEveryday { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/GachaMaster.cs b/Generated/Masters/GachaMaster.cs
new file mode 100644
index 0000000..ffd7596
--- /dev/null
+++ b/Generated/Masters/GachaMaster.cs
@@ -0,0 +1,53 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class GachaMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public int[] __TableRatesPrimaryKey__ { get; set; }
+ [Key(3)]
+ public int[] TableIds { get; set; }
+ [Key(4)]
+ public int[] __PickUpCardsPrimaryKey__ { get; set; }
+ [Key(5)]
+ public string Summary { get; set; }
+ [Key(6)]
+ public bool HasSpecificBg { get; set; }
+ [Key(7)]
+ public DateTime StartDate { get; set; }
+ [Key(8)]
+ public DateTime EndDate { get; set; }
+ [Key(9)]
+ public string Note { get; set; }
+ [Key(10)]
+ public string Detail { get; set; }
+ [Key(11)]
+ public string[] Live2dBg { get; set; }
+ [Key(12)]
+ public int BonusMaxValue { get; set; }
+ [Key(13)]
+ public int __BonusTableRatePrimaryKey__ { get; set; }
+ [Key(14)]
+ public int[] BonusTableIds { get; set; }
+ [Key(15)]
+ public int LoginTriggerMinutes { get; set; }
+ [Key(16)]
+ public bool ShowHomeAnimation { get; set; }
+ [Key(17)]
+ public bool HasPickUpDuplicateBonus { get; set; }
+ [Key(18)]
+ public bool IsTutorial { get; set; }
+ [Key(19)]
+ public int AscendingSortId { get; set; }
+ [Key(20)]
+ public GachaType Type { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/GachaTableMaster.cs b/Generated/Masters/GachaTableMaster.cs
new file mode 100644
index 0000000..e602a99
--- /dev/null
+++ b/Generated/Masters/GachaTableMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class GachaTableMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int TableId { get; set; }
+ [Key(2)]
+ public int __CardPrimaryKey__ { get; set; }
+ [Key(3)]
+ public int Rate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/GachaTableRateMaster.cs b/Generated/Masters/GachaTableRateMaster.cs
new file mode 100644
index 0000000..dd8eb15
--- /dev/null
+++ b/Generated/Masters/GachaTableRateMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class GachaTableRateMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int[] Rates { get; set; }
+ [Key(2)]
+ public string TabName { get; set; }
+ [Key(3)]
+ public string Description { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/HelpCategoryMaster.cs b/Generated/Masters/HelpCategoryMaster.cs
new file mode 100644
index 0000000..ffd9c42
--- /dev/null
+++ b/Generated/Masters/HelpCategoryMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class HelpCategoryMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/HelpMaster.cs b/Generated/Masters/HelpMaster.cs
new file mode 100644
index 0000000..6d74199
--- /dev/null
+++ b/Generated/Masters/HelpMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class HelpMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __CategoryPrimaryKey__ { get; set; }
+ [Key(2)]
+ public string Title { get; set; }
+ [Key(3)]
+ public string ImageUrl { get; set; }
+ [Key(4)]
+ public string Content { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/HonorMaster.cs b/Generated/Masters/HonorMaster.cs
new file mode 100644
index 0000000..cfdc7fa
--- /dev/null
+++ b/Generated/Masters/HonorMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class HonorMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public HonorType Type { get; set; }
+ [Key(2)]
+ public string Name { get; set; }
+ [Key(3)]
+ public string Description { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/LimitBreakItemMaster.cs b/Generated/Masters/LimitBreakItemMaster.cs
new file mode 100644
index 0000000..c72ecfb
--- /dev/null
+++ b/Generated/Masters/LimitBreakItemMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class LimitBreakItemMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __RarityPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int __AttributePrimaryKey__ { get; set; }
+ [Key(3)]
+ public int LimitBreakCount { get; set; }
+ [Key(4)]
+ public int __StockPrimaryKey__ { get; set; }
+ [Key(5)]
+ public int Amount { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/Live2DUIChatMaster.cs b/Generated/Masters/Live2DUIChatMaster.cs
new file mode 100644
index 0000000..26f1953
--- /dev/null
+++ b/Generated/Masters/Live2DUIChatMaster.cs
@@ -0,0 +1,27 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class Live2DUIChatMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public Live2DUIChatCategory[] Categories { get; set; }
+ [Key(2)]
+ public int __CharacterPrimaryKey__ { get; set; }
+ [Key(3)]
+ public int ClothId { get; set; }
+ [Key(4)]
+ public string Message { get; set; }
+ [Key(5)]
+ public string Motion { get; set; }
+ [Key(6)]
+ public DateTime StartDate { get; set; }
+ [Key(7)]
+ public DateTime EndDate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/LiveCutinMaster.cs b/Generated/Masters/LiveCutinMaster.cs
new file mode 100644
index 0000000..07605a7
--- /dev/null
+++ b/Generated/Masters/LiveCutinMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class LiveCutinMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int CharacterId1 { get; set; }
+ [Key(2)]
+ public int CharacterId2 { get; set; }
+ [Key(3)]
+ public int CharacterId3 { get; set; }
+ [Key(4)]
+ public int[] __ConditionsPrimaryKey__ { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/LiveResultEpisodeMaster.cs b/Generated/Masters/LiveResultEpisodeMaster.cs
new file mode 100644
index 0000000..6eeea04
--- /dev/null
+++ b/Generated/Masters/LiveResultEpisodeMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class LiveResultEpisodeMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int[] __CharactersPrimaryKey__ { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/LoginBonusItemMaster.cs b/Generated/Masters/LoginBonusItemMaster.cs
new file mode 100644
index 0000000..1e3d955
--- /dev/null
+++ b/Generated/Masters/LoginBonusItemMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class LoginBonusItemMaster
+ {
+ [Key(0)]
+ public int __LoginBonusPrimaryKey__ { get; set; }
+ [Key(1)]
+ public int Sequence { get; set; }
+ [Key(2)]
+ public int[] __RewardsPrimaryKey__ { get; set; }
+ [Key(3)]
+ public int[] Positions { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/LoginBonusMaster.cs b/Generated/Masters/LoginBonusMaster.cs
new file mode 100644
index 0000000..ec90b09
--- /dev/null
+++ b/Generated/Masters/LoginBonusMaster.cs
@@ -0,0 +1,33 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class LoginBonusMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public LoginBonusType Type { get; set; }
+ [Key(2)]
+ public string Title { get; set; }
+ [Key(3)]
+ public int Order { get; set; }
+ [Key(4)]
+ public bool Loop { get; set; }
+ [Key(5)]
+ public DateTime StartDate { get; set; }
+ [Key(6)]
+ public DateTime EndDate { get; set; }
+ [Key(7)]
+ public int SubscriptionId { get; set; }
+ [Key(8)]
+ public string BackgroundImage { get; set; }
+ [Key(9)]
+ public string ForegroundImage { get; set; }
+ [Key(10)]
+ public int[] DatePositions { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MapEventMaster.cs b/Generated/Masters/MapEventMaster.cs
new file mode 100644
index 0000000..1070055
--- /dev/null
+++ b/Generated/Masters/MapEventMaster.cs
@@ -0,0 +1,25 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MapEventMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __MapPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int[] __CharactersPrimaryKey__ { get; set; }
+ [Key(3)]
+ public int[] Motions { get; set; }
+ [Key(4)]
+ public int[] Directions { get; set; }
+ [Key(5)]
+ public int[] Skins { get; set; }
+ [Key(6)]
+ public MapEventType EventType { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MapMaster.cs b/Generated/Masters/MapMaster.cs
new file mode 100644
index 0000000..e6b72d1
--- /dev/null
+++ b/Generated/Masters/MapMaster.cs
@@ -0,0 +1,29 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MapMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public int PositionX { get; set; }
+ [Key(3)]
+ public int PositionY { get; set; }
+ [Key(4)]
+ public int[] __ConditionsPrimaryKey__ { get; set; }
+ [Key(5)]
+ public string BGM { get; set; }
+ [Key(6)]
+ public float CharacterScale { get; set; }
+ [Key(7)]
+ public DateTime StartDate { get; set; }
+ [Key(8)]
+ public DateTime EndDate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MapMobMaster.cs b/Generated/Masters/MapMobMaster.cs
new file mode 100644
index 0000000..d74cdfd
--- /dev/null
+++ b/Generated/Masters/MapMobMaster.cs
@@ -0,0 +1,51 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MapMobMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __MapPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int PositionX { get; set; }
+ [Key(3)]
+ public int PositionY { get; set; }
+ [Key(4)]
+ public int Motion { get; set; }
+ [Key(5)]
+ public int Direction { get; set; }
+ [Key(6)]
+ public int Skin { get; set; }
+ [Key(7)]
+ public MobMovingPattern MovingPattern { get; set; }
+ [Key(8)]
+ public float MovingDuration { get; set; }
+ [Key(9)]
+ public float DelaySeconds { get; set; }
+ [Key(10)]
+ public int WayPoint1X { get; set; }
+ [Key(11)]
+ public int WayPoint1Y { get; set; }
+ [Key(12)]
+ public int WayPoint2X { get; set; }
+ [Key(13)]
+ public int WayPoint2Y { get; set; }
+ [Key(14)]
+ public int WayPoint3X { get; set; }
+ [Key(15)]
+ public int WayPoint3Y { get; set; }
+ [Key(16)]
+ public int WayPoint4X { get; set; }
+ [Key(17)]
+ public int WayPoint4Y { get; set; }
+ [Key(18)]
+ public int WayPoint5X { get; set; }
+ [Key(19)]
+ public int WayPoint5Y { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MapObjectMaster.cs b/Generated/Masters/MapObjectMaster.cs
new file mode 100644
index 0000000..58cac79
--- /dev/null
+++ b/Generated/Masters/MapObjectMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MapObjectMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __SpotPrimaryKey__ { get; set; }
+ [Key(2)]
+ public string FileName { get; set; }
+ [Key(3)]
+ public int RandomWeight { get; set; }
+ [Key(4)]
+ public DateTime StartDate { get; set; }
+ [Key(5)]
+ public DateTime EndDate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MapObjectSpotMaster.cs b/Generated/Masters/MapObjectSpotMaster.cs
new file mode 100644
index 0000000..e19012f
--- /dev/null
+++ b/Generated/Masters/MapObjectSpotMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MapObjectSpotMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __MapPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int PositionX { get; set; }
+ [Key(3)]
+ public int PositionY { get; set; }
+ [Key(4)]
+ public MapObjectType ObjectType { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MapSpotMaster.cs b/Generated/Masters/MapSpotMaster.cs
new file mode 100644
index 0000000..fd20d32
--- /dev/null
+++ b/Generated/Masters/MapSpotMaster.cs
@@ -0,0 +1,35 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MapSpotMaster
+ {
+ [Key(0)]
+ public int __MapPrimaryKey__ { get; set; }
+ [Key(1)]
+ public int SpotId { get; set; }
+ [Key(2)]
+ public int Position1X { get; set; }
+ [Key(3)]
+ public int Position1Y { get; set; }
+ [Key(4)]
+ public int Position2X { get; set; }
+ [Key(5)]
+ public int Position2Y { get; set; }
+ [Key(6)]
+ public int Position3X { get; set; }
+ [Key(7)]
+ public int Position3Y { get; set; }
+ [Key(8)]
+ public int Position4X { get; set; }
+ [Key(9)]
+ public int Position4Y { get; set; }
+ [Key(10)]
+ public int Position5X { get; set; }
+ [Key(11)]
+ public int Position5Y { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MileageMaster.cs b/Generated/Masters/MileageMaster.cs
new file mode 100644
index 0000000..5b24854
--- /dev/null
+++ b/Generated/Masters/MileageMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MileageMaster
+ {
+ [Key(0)]
+ public MileageRank Rank { get; set; }
+ [Key(1)]
+ public int NeedMilePoint { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MissionDetailMaster.cs b/Generated/Masters/MissionDetailMaster.cs
new file mode 100644
index 0000000..d0ef9f0
--- /dev/null
+++ b/Generated/Masters/MissionDetailMaster.cs
@@ -0,0 +1,29 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MissionDetailMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __PanelPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int Sequence { get; set; }
+ [Key(3)]
+ public string Title { get; set; }
+ [Key(4)]
+ public string Description { get; set; }
+ [Key(5)]
+ public int ConditionId { get; set; }
+ [Key(6)]
+ public int[] ConditionValues { get; set; }
+ [Key(7)]
+ public int[] __RewardsPrimaryKey__ { get; set; }
+ [Key(8)]
+ public int __CommandMasterPrimaryKey__ { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MissionGroupMaster.cs b/Generated/Masters/MissionGroupMaster.cs
new file mode 100644
index 0000000..e452963
--- /dev/null
+++ b/Generated/Masters/MissionGroupMaster.cs
@@ -0,0 +1,27 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MissionGroupMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public MissionCategory Category { get; set; }
+ [Key(2)]
+ public string Name { get; set; }
+ [Key(3)]
+ public DateTime StartDate { get; set; }
+ [Key(4)]
+ public DateTime EndDate { get; set; }
+ [Key(5)]
+ public DateSelectCategory ResetType { get; set; }
+ [Key(6)]
+ public int ResetValue { get; set; }
+ [Key(7)]
+ public int SubscriptionId { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MissionPanelMaster.cs b/Generated/Masters/MissionPanelMaster.cs
new file mode 100644
index 0000000..fba6b5d
--- /dev/null
+++ b/Generated/Masters/MissionPanelMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MissionPanelMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __GroupPrimaryKey__ { get; set; }
+ [Key(2)]
+ public int BannerGroup { get; set; }
+ [Key(3)]
+ public int Step { get; set; }
+ [Key(4)]
+ public string Name { get; set; }
+ [Key(5)]
+ public int[] __AllCompleteRewardsPrimaryKey__ { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MobBodyVariantMaster.cs b/Generated/Masters/MobBodyVariantMaster.cs
new file mode 100644
index 0000000..9d9d826
--- /dev/null
+++ b/Generated/Masters/MobBodyVariantMaster.cs
@@ -0,0 +1,17 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MobBodyVariantMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int Skin { get; set; }
+ [Key(2)]
+ public int SpineId { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MultiRoomMaster.cs b/Generated/Masters/MultiRoomMaster.cs
new file mode 100644
index 0000000..951def2
--- /dev/null
+++ b/Generated/Masters/MultiRoomMaster.cs
@@ -0,0 +1,29 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MultiRoomMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public MultiRoomType RoomType { get; set; }
+ [Key(2)]
+ public LiveType Type { get; set; }
+ [Key(3)]
+ public string Name { get; set; }
+ [Key(4)]
+ public string Description { get; set; }
+ [Key(5)]
+ public int MinimumDeckPower { get; set; }
+ [Key(6)]
+ public float Multiplier { get; set; }
+ [Key(7)]
+ public bool ForceAssistOff { get; set; }
+ [Key(8)]
+ public bool IsRaidRoom { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MusicMaster.cs b/Generated/Masters/MusicMaster.cs
new file mode 100644
index 0000000..0e09e24
--- /dev/null
+++ b/Generated/Masters/MusicMaster.cs
@@ -0,0 +1,53 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MusicMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public string ReadName { get; set; }
+ [Key(3)]
+ public string Lyrist { get; set; }
+ [Key(4)]
+ public string Composer { get; set; }
+ [Key(5)]
+ public string Arranger { get; set; }
+ [Key(6)]
+ public string SpecialUnitName { get; set; }
+ [Key(7)]
+ public MusicCategory Category { get; set; }
+ [Key(8)]
+ public int __UnitPrimaryKey__ { get; set; }
+ [Key(9)]
+ public int DefaultOrder { get; set; }
+ [Key(10)]
+ public float MusicBpm { get; set; }
+ [Key(11)]
+ public int OpenKey { get; set; }
+ [Key(12)]
+ public ChartSectionType SectionTrend { get; set; }
+ [Key(13)]
+ public bool EnableLongMix { get; set; }
+ [Key(14)]
+ public DateTime StartDate { get; set; }
+ [Key(15)]
+ public DateTime EndDate { get; set; }
+ [Key(16)]
+ public bool HasMovie { get; set; }
+ [Key(17)]
+ public int[] __PurchaseBonusesPrimaryKey__ { get; set; }
+ [Key(18)]
+ public int[] __TriggerMusicsPrimaryKey__ { get; set; }
+ [Key(19)]
+ public bool ExcludeChallenge { get; set; }
+ [Key(20)]
+ public bool IsTutorial { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/MusicMixMaster.cs b/Generated/Masters/MusicMixMaster.cs
new file mode 100644
index 0000000..23e9858
--- /dev/null
+++ b/Generated/Masters/MusicMixMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class MusicMixMaster
+ {
+ [Key(0)]
+ public int __MusicPrimaryKey__ { get; set; }
+ [Key(1)]
+ public ChartSectionType Section { get; set; }
+ [Key(2)]
+ public float StartTime { get; set; }
+ [Key(3)]
+ public float StartTimeBpm { get; set; }
+ [Key(4)]
+ public float EndTime { get; set; }
+ [Key(5)]
+ public float EndTimeBpm { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/OptionPresetMaster.cs b/Generated/Masters/OptionPresetMaster.cs
new file mode 100644
index 0000000..e516795
--- /dev/null
+++ b/Generated/Masters/OptionPresetMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class OptionPresetMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public string Description { get; set; }
+ [Key(3)]
+ public string Data { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/PokerCoinMultiplierMaster.cs b/Generated/Masters/PokerCoinMultiplierMaster.cs
new file mode 100644
index 0000000..e15614c
--- /dev/null
+++ b/Generated/Masters/PokerCoinMultiplierMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class PokerCoinMultiplierMaster
+ {
+ [Key(0)]
+ public PokerHandCategory Hand { get; set; }
+ [Key(1)]
+ public float Multiplier { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/RaidBossHpBonusDetailMaster.cs b/Generated/Masters/RaidBossHpBonusDetailMaster.cs
new file mode 100644
index 0000000..ea46d39
--- /dev/null
+++ b/Generated/Masters/RaidBossHpBonusDetailMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class RaidBossHpBonusDetailMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int BonusId { get; set; }
+ [Key(2)]
+ public int RewardStockId { get; set; }
+ [Key(3)]
+ public int RewardAmount { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/RaidBossHpBonusMaster.cs b/Generated/Masters/RaidBossHpBonusMaster.cs
new file mode 100644
index 0000000..958af0d
--- /dev/null
+++ b/Generated/Masters/RaidBossHpBonusMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class RaidBossHpBonusMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int AggregationId { get; set; }
+ [Key(2)]
+ public long Hp { get; set; }
+ [Key(3)]
+ public string Name { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/RaidBossMaster.cs b/Generated/Masters/RaidBossMaster.cs
new file mode 100644
index 0000000..811f3e3
--- /dev/null
+++ b/Generated/Masters/RaidBossMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class RaidBossMaster
+ {
+ [Key(0)]
+ public int __AggregationPrimaryKey__ { get; set; }
+ [Key(1)]
+ public int RoomId { get; set; }
+ [Key(2)]
+ public int EventId { get; set; }
+ [Key(3)]
+ public string Name { get; set; }
+ [Key(4)]
+ public long Hp { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/RandomStockMaster.cs b/Generated/Masters/RandomStockMaster.cs
new file mode 100644
index 0000000..8e25765
--- /dev/null
+++ b/Generated/Masters/RandomStockMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class RandomStockMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int OriginalStockId { get; set; }
+ [Key(2)]
+ public int StockId { get; set; }
+ [Key(3)]
+ public int Amount { get; set; }
+ [Key(4)]
+ public int Rate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/RarityMaster.cs b/Generated/Masters/RarityMaster.cs
new file mode 100644
index 0000000..e06bec6
--- /dev/null
+++ b/Generated/Masters/RarityMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class RarityMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int[] MaxLevels { get; set; }
+ [Key(2)]
+ public float[] MaxLevelParameterRates { get; set; }
+ [Key(3)]
+ public int[] LimitBreakBonuses { get; set; }
+ [Key(4)]
+ public int SealAmount { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/RewardMaster.cs b/Generated/Masters/RewardMaster.cs
new file mode 100644
index 0000000..abdef5a
--- /dev/null
+++ b/Generated/Masters/RewardMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class RewardMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public RewardCategory Category { get; set; }
+ [Key(2)]
+ public int RewardId { get; set; }
+ [Key(3)]
+ public int Amount { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/SkillExpMaster.cs b/Generated/Masters/SkillExpMaster.cs
new file mode 100644
index 0000000..50224bd
--- /dev/null
+++ b/Generated/Masters/SkillExpMaster.cs
@@ -0,0 +1,17 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class SkillExpMaster
+ {
+ [Key(0)]
+ public int Level { get; set; }
+ [Key(1)]
+ public int RarityId { get; set; }
+ [Key(2)]
+ public int TotalExp { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/SkillMaster.cs b/Generated/Masters/SkillMaster.cs
new file mode 100644
index 0000000..7db1846
--- /dev/null
+++ b/Generated/Masters/SkillMaster.cs
@@ -0,0 +1,25 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class SkillMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int MinRecoveryValue { get; set; }
+ [Key(2)]
+ public int MaxRecoveryValue { get; set; }
+ [Key(3)]
+ public int JudgeExpandValue { get; set; }
+ [Key(4)]
+ public int ScoreUpRate { get; set; }
+ [Key(5)]
+ public float MinSeconds { get; set; }
+ [Key(6)]
+ public float MaxSeconds { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/StampMaster.cs b/Generated/Masters/StampMaster.cs
new file mode 100644
index 0000000..36fc614
--- /dev/null
+++ b/Generated/Masters/StampMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class StampMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public StampCategory Category { get; set; }
+ [Key(2)]
+ public string Name { get; set; }
+ [Key(3)]
+ public string Description { get; set; }
+ [Key(4)]
+ public bool HasVoice { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/StockMaster.cs b/Generated/Masters/StockMaster.cs
new file mode 100644
index 0000000..50b0ac2
--- /dev/null
+++ b/Generated/Masters/StockMaster.cs
@@ -0,0 +1,41 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class StockMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ [Key(2)]
+ public StockCategory Category { get; set; }
+ [Key(3)]
+ public int __ViewCategoryPrimaryKey__ { get; set; }
+ [Key(4)]
+ public string Summary { get; set; }
+ [Key(5)]
+ public int AttributeId { get; set; }
+ [Key(6)]
+ public int Rarity { get; set; }
+ [Key(7)]
+ public int Exp { get; set; }
+ [Key(8)]
+ public int BuffCharacterId { get; set; }
+ [Key(9)]
+ public int RecoveryAmount { get; set; }
+ [Key(10)]
+ public int ConsumeAmount { get; set; }
+ [Key(11)]
+ public int MaxAmount { get; set; }
+ [Key(12)]
+ public DateTime StartDate { get; set; }
+ [Key(13)]
+ public DateTime EndDate { get; set; }
+ [Key(14)]
+ public bool IsAppropriateSales { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/StockViewCategoryMaster.cs b/Generated/Masters/StockViewCategoryMaster.cs
new file mode 100644
index 0000000..8e05350
--- /dev/null
+++ b/Generated/Masters/StockViewCategoryMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class StockViewCategoryMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public string Name { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/TitleDisplayMaster.cs b/Generated/Masters/TitleDisplayMaster.cs
new file mode 100644
index 0000000..38bad4b
--- /dev/null
+++ b/Generated/Masters/TitleDisplayMaster.cs
@@ -0,0 +1,23 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class TitleDisplayMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int __CardPrimaryKey__ { get; set; }
+ [Key(2)]
+ public CardIllustType CardType { get; set; }
+ [Key(3)]
+ public int Rate { get; set; }
+ [Key(4)]
+ public DateTime StartDate { get; set; }
+ [Key(5)]
+ public DateTime EndDate { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/TrumpMaster.cs b/Generated/Masters/TrumpMaster.cs
new file mode 100644
index 0000000..adbd7f0
--- /dev/null
+++ b/Generated/Masters/TrumpMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class TrumpMaster
+ {
+ [Key(0)]
+ public TrumpSuit Suit { get; set; }
+ [Key(1)]
+ public int Id { get; set; }
+ [Key(2)]
+ public int ImageId { get; set; }
+ [Key(3)]
+ public int Pose { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/UnitEpisodeMaster.cs b/Generated/Masters/UnitEpisodeMaster.cs
new file mode 100644
index 0000000..18779f5
--- /dev/null
+++ b/Generated/Masters/UnitEpisodeMaster.cs
@@ -0,0 +1,21 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class UnitEpisodeMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int BackgroundId { get; set; }
+ [Key(2)]
+ public int Season { get; set; }
+ [Key(3)]
+ public int __UnitPrimaryKey__ { get; set; }
+ [Key(4)]
+ public int ChapterNumber { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/UnitExpMaster.cs b/Generated/Masters/UnitExpMaster.cs
new file mode 100644
index 0000000..be70969
--- /dev/null
+++ b/Generated/Masters/UnitExpMaster.cs
@@ -0,0 +1,15 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class UnitExpMaster
+ {
+ [Key(0)]
+ public int Level { get; set; }
+ [Key(1)]
+ public int TotalExp { get; set; }
+ }
+}
+
diff --git a/Masters/UnitMaster.cs b/Generated/Masters/UnitMaster.cs
similarity index 76%
rename from Masters/UnitMaster.cs
rename to Generated/Masters/UnitMaster.cs
index fde2fdc..c727c13 100644
--- a/Masters/UnitMaster.cs
+++ b/Generated/Masters/UnitMaster.cs
@@ -1,14 +1,10 @@
-using MessagePack;
+using MessagePack;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace D4DJ_Tools.Masters
{
[MessagePackObject]
- public class UnitMaster
+ public class UnitMaster
{
[Key(0)]
public int Id { get; set; }
@@ -28,3 +24,4 @@ public class UnitMaster
public int[] InitDeckCharacterIds { get; set; }
}
}
+
diff --git a/Generated/Masters/UserExpMaster.cs b/Generated/Masters/UserExpMaster.cs
new file mode 100644
index 0000000..a297f20
--- /dev/null
+++ b/Generated/Masters/UserExpMaster.cs
@@ -0,0 +1,25 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class UserExpMaster
+ {
+ [Key(0)]
+ public int Level { get; set; }
+ [Key(1)]
+ public int TotalExp { get; set; }
+ [Key(2)]
+ public int RecoveryVoltage { get; set; }
+ [Key(3)]
+ public int MaxFriendCount { get; set; }
+ [Key(4)]
+ public int DeckSupportCardNum { get; set; }
+ [Key(5)]
+ public string AdjustEventToken { get; set; }
+ [Key(6)]
+ public string FirebaseEventName { get; set; }
+ }
+}
+
diff --git a/Generated/Masters/VoltageRecoverMaster.cs b/Generated/Masters/VoltageRecoverMaster.cs
new file mode 100644
index 0000000..e1fd7be
--- /dev/null
+++ b/Generated/Masters/VoltageRecoverMaster.cs
@@ -0,0 +1,19 @@
+using MessagePack;
+using System;
+
+namespace D4DJ_Tools.Masters
+{
+ [MessagePackObject]
+ public class VoltageRecoverMaster
+ {
+ [Key(0)]
+ public int Id { get; set; }
+ [Key(1)]
+ public int MinRecoveredCount { get; set; }
+ [Key(2)]
+ public int DiamondAmount { get; set; }
+ [Key(3)]
+ public int VoltageRecoverAmount { get; set; }
+ }
+}
+
diff --git a/Masters/AttributeMaster.cs b/Masters/AttributeMaster.cs
deleted file mode 100644
index 1aa0ae1..0000000
--- a/Masters/AttributeMaster.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using MessagePack;
-
-namespace D4DJ_Tools.Masters
-{
- [MessagePackObject]
- public class AttributeMaster
- {
- [Key(0)]
- public int Id { get; set; }
- [Key(1)]
- public string Name { get; set; }
- }
-}
diff --git a/Masters/CharacterMaster.cs b/Masters/CharacterMaster.cs
deleted file mode 100644
index ae93c7a..0000000
--- a/Masters/CharacterMaster.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using MessagePack;
-using MessagePack.Formatters;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace D4DJ_Tools.Masters
-{
- [MessagePackObject]
- public class CharacterMaster
- {
- [Key(0)]
- public int Id { get; set; }
- [Key(1)]
- public string FullName { get; set; }
- [Key(2)]
- public string FirstName { get; set; }
- [Key(3)]
- public string FirstNameEnglish { get; set; }
- [Key(4)]
- public int __UnitPrimaryKey__ { get; set; }
- [Key(5)]
- public string[] ProfileAnswers { get; set; }
- [Key(6)]
- public string FullNameEnglish { get; set; }
- [Key(7)]
- public string ColorCode { get; set; }
- }
-}
diff --git a/Masters/MasterTypes.cs b/Masters/MasterTypes.cs
index 0451722..f189020 100644
--- a/Masters/MasterTypes.cs
+++ b/Masters/MasterTypes.cs
@@ -6,19 +6,8 @@
namespace D4DJ_Tools.Masters
{
- public static class MasterTypes
+ public static partial class MasterTypes
{
- private static Dictionary specialTypes = new Dictionary
- {
- { "ChartAchieveMaster", typeof(Dictionary<(int, ChartAchieveType, int), ChartAchieveMaster>) },
- { "ChartLessonMaster", typeof(Dictionary<(int, int), ChartLessonMaster>) },
- { "ChartNoteCountMaster", typeof(Dictionary<(int, ChartSectionType), ChartNoteCountMaster>) },
- { "ClubItemDetailMaster", typeof(Dictionary<(int, int), ClubItemDetailMaster>) },
- { "CommonTextMaster", typeof(Dictionary) },
- { "CommonValueMaster", typeof(Dictionary) },
-
- };
-
public static Type GetDeserializeType(string name)
{
if (specialTypes.ContainsKey(name))
diff --git a/Masters/MusicMaster.cs b/Masters/MusicMaster.cs
deleted file mode 100644
index 3583464..0000000
--- a/Masters/MusicMaster.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using MessagePack;
-using MessagePack.Formatters;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Runtime.InteropServices;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace D4DJ_Tools.Masters
-{
- [MessagePackObject]
- public class MusicMaster
- {
- [Key(0)]
- public int Id { get; set; }
- [Key(1)]
- public string Name { get; set; }
- [Key(2)]
- public string ReadName { get; set; }
- [Key(3)]
- public string Lyrist { get; set; }
- [Key(4)]
- public string Composer { get; set; }
- [Key(5)]
- public string Arranger { get; set; }
- [Key(6)]
- public string SpecialUnitName { get; set; }
- [Key(7)]
- public MusicCategory Category { get; set; }
- [Key(8)]
- public int __UnitPrimaryKey__ { get; set; }
- [Key(9)]
- public int DefaultOrder { get; set; }
- [Key(10)]
- public float MusicBpm { get; set; }
- [Key(11)]
- public int OpenKey { get; set; }
- [Key(12)]
- public ChartSectionType SectionTrend { get; set; }
- [Key(13)]
- public bool EnableLongMix { get; set; }
- [Key(14)]
- public DateTime StartDate { get; set; }
- [Key(15)]
- public DateTime EndDate { get; set; }
- [Key(16)]
- public bool HasMovie { get; set; }
- [Key(17)]
- public int[] __PurchaseBonusesPrimaryKey__ { get; set; }
- [Key(18)]
- public int[] __TriggerMusicsPrimaryKey__ { get; set; }
- [Key(19)]
- public bool ExcludeChallenge { get; set; }
- [Key(20)]
- public bool IsTutorial { get; set; }
- }
-}
diff --git a/Program.cs b/Program.cs
index 2ca8dc4..8945381 100644
--- a/Program.cs
+++ b/Program.cs
@@ -62,13 +62,13 @@ static void ProcessFileSystemEntry(FileSystemInfo fileSystemInfo)
Console.WriteLine($"Success.");
}
// Dump Resource List
- else if(fileInfo.Name.EndsWith("ResourceList.msgpack"))
+ else if (fileInfo.Name.EndsWith("ResourceList.msgpack"))
{
Console.WriteLine($"Dumping {fileInfo.Name} into json...");
var options = MessagePackSerializerOptions.Standard.WithCompression(MessagePackCompression.Lz4Block);
var result = MessagePackSerializer.Deserialize>(
- File.ReadAllBytes(fileInfo.FullName),
+ File.ReadAllBytes(fileInfo.FullName),
options
);
@@ -84,13 +84,13 @@ static void ProcessFileSystemEntry(FileSystemInfo fileSystemInfo)
static void Main(string[] args)
{
- foreach(var arg in args)
+ foreach (var arg in args)
{
- if(Directory.Exists(arg))
+ if (Directory.Exists(arg))
{
ProcessFileSystemEntry(new DirectoryInfo(arg));
}
- else if(File.Exists(arg))
+ else if (File.Exists(arg))
{
ProcessFileSystemEntry(new FileInfo(arg));
}
diff --git a/Scripts/Generate.csx b/Scripts/Generate.csx
new file mode 100644
index 0000000..0d33f5a
--- /dev/null
+++ b/Scripts/Generate.csx
@@ -0,0 +1,194 @@
+using System;
+using System.Linq;
+using System.Collections.Generic;
+using System.IO;
+using System.Text;
+using System.Text.RegularExpressions;
+
+string CleanType(string str)
+{
+ int depth = 0;
+
+ int len = 0;
+
+ foreach (var ch in str)
+ {
+ if (ch == '<')
+ ++depth;
+ else if (ch == '>')
+ --depth;
+
+ if (depth == 0)
+ break;
+
+ ++len;
+ }
+
+ return str.Substring(0, len + 1);
+}
+
+List depEnums = new();
+string enumCode = null;
+
+Dictionary foundedMasters = new();
+Dictionary masterTypes = new();
+
+Regex masterRE = new("public class (.*Master) : MasterBase(<.*, .*>)");
+Regex typeRE = new("public (.*?) .*? \\{ get; set; \\}");
+Regex enumRE = new("public enum (.*) //");
+Regex enumMemberRE = new("public const .*? (.*?);");
+
+using (StreamReader sr = new("dump.cs"))
+{
+ // Search masters
+ while(!sr.EndOfStream)
+ {
+ var line = sr.ReadLine();
+ var m = masterRE.Match(line);
+
+ if(m.Success)
+ {
+ var masterName = m.Groups[1].Value;
+ var masterType = m.Groups[2].Value;
+
+ masterTypes.Add(masterName, masterType);
+
+ StringBuilder codeBuilder = new();
+
+ codeBuilder.AppendLine("using MessagePack;\r\nusing System;\r\n");
+ codeBuilder.AppendLine("namespace D4DJ_Tools.Masters\r\n{");
+
+ codeBuilder.AppendLine("\t[MessagePackObject]");
+ codeBuilder.AppendLine($"\tpublic class {masterName}");
+ codeBuilder.AppendLine("\t{");
+ {
+ int attrIndex = 0;
+
+ for(string attr = sr.ReadLine(); attr != "}"; attr = sr.ReadLine())
+ {
+ if(attr.Contains("[KeyAttribute]"))
+ {
+ codeBuilder.AppendLine($"\t\t[Key({attrIndex++})]");
+ var prop = sr.ReadLine();
+
+ var typeMatch = typeRE.Match(prop);
+ var type = typeMatch.Groups[1].Value;
+
+ switch (type)
+ {
+ case "bool":
+ case "bool[]":
+ case "int":
+ case "int[]":
+ case "long":
+ case "long[]":
+ case "string":
+ case "string[]":
+ case "float":
+ case "float[]":
+ case "DateTime":
+ case "DateTime[]":
+ break;
+ default:
+ depEnums.Add(type.Replace("[]", ""));
+ break;
+ }
+
+ codeBuilder.AppendLine($"\t{prop}");
+ }
+ }
+ }
+
+ codeBuilder.AppendLine("\t}\r\n}\r\n");
+
+ var code = codeBuilder.ToString();
+
+ foundedMasters.Add(masterName, code);
+ Console.WriteLine($"{masterName} - {masterType}");
+ }
+ }
+
+ Console.WriteLine();
+
+ depEnums = depEnums.Distinct().ToList();
+
+ // Search enums
+ if(depEnums.Count != 0)
+ {
+ sr.BaseStream.Position = 0;
+
+ StringBuilder codeBuilder = new();
+
+ codeBuilder.AppendLine("namespace D4DJ_Tools.Masters\r\n{");
+
+ while (!sr.EndOfStream)
+ {
+ var line = sr.ReadLine();
+ var m = enumRE.Match(line);
+
+ if (m.Success)
+ {
+ var typeName = m.Groups[1].Value;
+
+ if (depEnums.Contains(typeName))
+ {
+ depEnums.Remove(typeName);
+
+ codeBuilder.AppendLine($"\tpublic enum {typeName}\r\n\t{{");
+
+ for (string code = sr.ReadLine(); code != "}"; code = sr.ReadLine())
+ {
+ var m1 = enumMemberRE.Match(code);
+
+ if(m1.Success)
+ {
+ codeBuilder.AppendLine($"\t\t{m1.Groups[1].Value},");
+ }
+ }
+
+ codeBuilder.AppendLine("\t}\r\n");
+ }
+ }
+ }
+
+ codeBuilder.AppendLine("}");
+ enumCode = codeBuilder.ToString();
+
+ if(depEnums.Count != 0)
+ {
+ Console.WriteLine("Warning: not all enums are founded.");
+ }
+ }
+}
+
+StringBuilder codeBuilder = new();
+codeBuilder.AppendLine("using System;\r\nusing System.Collections.Generic;\r\nnamespace D4DJ_Tools.Masters\r\n{");
+codeBuilder.AppendLine("\tpublic static partial class MasterTypes\r\n\t{");
+codeBuilder.AppendLine("\t\tprivate static Dictionary specialTypes = new Dictionary\r\n\t\t{");
+
+foreach(var masterType in masterTypes)
+{
+ var cleaned = CleanType(masterType.Value);
+
+ if (cleaned == $"")
+ continue;
+
+ codeBuilder.AppendLine($"\t\t\t{{ \"{masterType.Key}\", typeof(Dictionary{cleaned}) }},");
+}
+
+codeBuilder.AppendLine("\t\t};\r\n\t}\r\n}");
+var typeCode = codeBuilder.ToString();
+
+if (Directory.Exists("../Generated"))
+ Directory.Delete("../Generated", true);
+
+Directory.CreateDirectory("../Generated");
+File.WriteAllText("../Generated/D4DJEnums.cs", enumCode);
+File.WriteAllText("../Generated/MasterTypes.Generated.cs", typeCode);
+
+Directory.CreateDirectory("../Generated/Masters");
+
+foreach(var master in foundedMasters)
+{
+ File.WriteAllText($"../Generated/Masters/{master.Key}.cs", master.Value);
+}