Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
175 changes: 136 additions & 39 deletions D4DJ.Types/CodeGen/D4DJEnums.cs
Original file line number Diff line number Diff line change
@@ -1,44 +1,17 @@
namespace D4DJ_Tools.Masters
{
public enum EventType
public enum CampaignButtonDisplayLocation
{
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,
Home = 1,
Club = 2,
Story = 4,
}

public enum CampaignCategory
{
Mileage = 1,
RaidUserExp = 2,
RaidUnitExp = 3,
}

public enum CardIllustType
Expand All @@ -55,6 +28,8 @@ public enum PassiveSkillType
FeverSupport = 2,
ScoreUpWithDamage = 3,
AutoScoreUp = 4,
SupportableScoreUp = 11,
SupportableSkillLonger = 12,
}

public enum ClubItemSpotCategory
Expand Down Expand Up @@ -94,17 +69,31 @@ public enum CommonValueType
DJBoothSetlistMaxCount = 307,
DJBoothGuestBookSetlistCount = 308,
DJBoothGuestBookHighScoreListCount = 309,
DJBoothSetlistLivePassMaxCount = 310,
DJBoothSetlistActiveLivePassMaxCount = 311,
NicknameMaxLength = 401,
CommentMaxLength = 402,
CardDeckNameMaxLength = 403,
ClubDeckNameMaxLength = 404,
DJBoothSetlistTitleMaxLength = 405,
MusicFavoriteDeckNameMaxLength = 406,
DJBoothCommentMaxLength = 407,
LiveSEPresetNameMaxLength = 408,
VoltageMaxAllowCount = 501,
FirstTimeMusicId = 601,
ConvertedRewardHelpId = 601,
PrivateRoomCommentMaxLength = 701,
RaidEventHpMode = 801,
RaidEventSpecialBossHpMode = 802,
ClubOrderCharaShadow = 901,
ClubOrderDJChara = 902,
ClubOrderDJBooth = 903,
ClubOrderOtherChara = 904,
ClubOrderFrontChara = 905,
MusicTagMaxCount = 1001,
MusicTagNameMaxLenght = 1002,
MusicTagNeedLevel = 1003,
MusicRecommendCount = 1004,
EventSlotExtendableBonusTimeSeconds = 1100,
}

public enum ConditionCategory
Expand All @@ -130,19 +119,88 @@ public enum EpisodeCategory
Tutorial = 9,
}

public enum BingoCardType
{
Normal = 0,
Special = 1,
}

public enum BingoRewardCategory
{
Bingo = 0,
Hit = 1,
Complete = 2,
}

public enum EffectTargetType
{
None = 0,
Pick = 1,
All = 2,
Random = 3,
}

public enum EffectTypeOperator
{
None = 0,
Rate = 1,
Step = 2,
}

public enum GrowthBlockCategory
{
None = 0,
Red = 1,
Green = 2,
White = 3,
Condition = 4,
Character = 5,
Reward = 6,
VS = 7,
}

public enum GrowthBlockEffectType
{
None = 0,
TrainingExp = 1,
HeartExp = 2,
TechniqueExp = 3,
PhysicalExp = 4,
AllExp = 8,
DoubleEffect = 9,
LevelChange = 10,
TileChange = 11,
CharacterEffect = 12,
SendStock = 13,
LiveBattle = 14,
}

public enum EventAggregationType
{
MainAddPoint = 0,
Highscore = 1,
AddPoint = 2,
EngineSpecific = 2,
DailyAddPoint = 3,
CommonAddPoint = 4,
None = 99,
}

public enum EventEpisodeType
{
Normal = 0,
D4Fes1 = 1,
D4Fes2 = 2,
}

public enum EventType
{
None = 0,
Bingo = 1,
Medley = 2,
Poker = 3,
Raid = 4,
Slot = 5,
Growth = 6,
}

public enum PokerHandCategory
Expand All @@ -159,6 +217,12 @@ public enum PokerHandCategory
HighCard = 9,
}

public enum BossLoopType
{
Loop = 0,
FinalLoop = 1,
}

public enum SlotEffectPhase
{
None = 0,
Expand Down Expand Up @@ -201,6 +265,7 @@ public enum GachaType
{
Normal = 0,
StepUp = 1,
Audition = 2,
}

public enum HonorType
Expand All @@ -217,10 +282,11 @@ public enum Live2DUIChatCategory
MenuCommon = 0,
LoginBonus = 1,
Mission = 2,
CharacterIntroduction = 3,
GachaMenu = 4,
BoxGacha = 5,
BoxGacha = 3,
BoxGachaDraw = 4,
BoxGachaJackpot = 5,
Training = 6,
BoxGachaReset = 7,
}

public enum ChartAchieveType
Expand All @@ -245,6 +311,25 @@ public enum MultiRoomType
Master = 4,
}

public enum LiveSECategory
{
None = 0,
Tap1 = 1,
Tap2 = 2,
SliderFlick = 3,
Scratch = 4,
TapEmpty = 5,
ScratchEmpty = 6,
LongLoop = 7,
}

public enum LiveSEPackCategory
{
SoundEffect = 1,
CharacterVoice = 2,
Collabo = 3,
}

public enum LoginBonusType
{
Common = 0,
Expand All @@ -254,6 +339,11 @@ public enum LoginBonusType
VipSilver = 4,
VipGold = 5,
VipPlatinum = 6,
EventBingo = 101,
EventMedley = 102,
EventPoker = 103,
EventRaid = 104,
EventSlot = 105,
}

public enum MapEventType
Expand Down Expand Up @@ -291,6 +381,9 @@ public enum MissionCategory
Tutorial = 1,
Chart = 2,
TimeLimited = 3,
Daily = 4,
Weekly = 5,
Event = 6,
}

public enum ChartDifficulty
Expand Down Expand Up @@ -358,6 +451,10 @@ public enum RewardCategory
Honor = 6,
Episode = 7,
Movie = 8,
DuplicateCard = 9,
EventPoint = 10,
LiveSEPack = 11,
Cloth = 12,
}

public enum StockCategory
Expand All @@ -374,7 +471,7 @@ public enum StockCategory
GachaTicket = 9,
Random = 10,
ParameterLevelUp = 11,
PassiveSkillExp = 12,
CardStack = 12,
Other = 99,
}

Expand Down
10 changes: 8 additions & 2 deletions D4DJ.Types/CodeGen/MasterTypes.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,27 @@ public static partial class MasterTypes
{
{ "ClubItemDetailMaster", typeof(Dictionary<ValueTuple<int, int>, ClubItemDetailMaster>) },
{ "EpisodeMaster", typeof(Dictionary<ValueTuple<EpisodeCategory, int>, EpisodeMaster>) },
{ "LoginBonusItemMaster", typeof(Dictionary<ValueTuple<int, int>, LoginBonusItemMaster>) },
{ "MapSpotMaster", typeof(Dictionary<ValueTuple<int, int>, MapSpotMaster>) },
{ "MileageMaster", typeof(Dictionary<MileageRank, MileageMaster>) },
{ "SlotBonusTimeMaster", typeof(Dictionary<ValueTuple<int, int>, SlotBonusTimeMaster>) },
{ "MusicMixMaster", typeof(Dictionary<ValueTuple<int, ChartSectionType>, MusicMixMaster>) },
{ "CampaignMaster", typeof(Dictionary<CampaignCategory, CampaignMaster>) },
{ "PassiveSkillExpMaster", typeof(Dictionary<ValueTuple<int, int>, PassiveSkillExpMaster>) },
{ "PassiveSkillDescriptionMaster", typeof(Dictionary<PassiveSkillType, PassiveSkillDescriptionMaster>) },
{ "SkillExpMaster", typeof(Dictionary<ValueTuple<int, int>, SkillExpMaster>) },
{ "CommonValueMaster", typeof(Dictionary<CommonValueType, CommonValueMaster>) },
{ "DJSimulatorSetlistMusicMaster", typeof(Dictionary<ValueTuple<int, int>, DJSimulatorSetlistMusicMaster>) },
{ "GrowthUnlockMaster", typeof(Dictionary<ValueTuple<int, int>, GrowthUnlockMaster>) },
{ "PokerCoinMultiplierMaster", typeof(Dictionary<PokerHandCategory, PokerCoinMultiplierMaster>) },
{ "GachaBonusMaster", typeof(Dictionary<ValueTuple<int, bool>, GachaBonusMaster>) },
{ "ChartAchieveMaster", typeof(Dictionary<ValueTuple<int, ChartAchieveType, int>, ChartAchieveMaster>) },
{ "LoginBonusItemMaster", typeof(Dictionary<ValueTuple<int, int>, LoginBonusItemMaster>) },
{ "EventLoginBonusItemMaster", typeof(Dictionary<ValueTuple<int, int, int>, EventLoginBonusItemMaster>) },
{ "LoginBonusPositionTemplateMaster", typeof(Dictionary<ValueTuple<int, int>, LoginBonusPositionTemplateMaster>) },
{ "ChartLessonMaster", typeof(Dictionary<ValueTuple<int, int>, ChartLessonMaster>) },
{ "HiddenMusicMixDetailMaster", typeof(Dictionary<ValueTuple<int, int>, HiddenMusicMixDetailMaster>) },
{ "ChartNoteCountMaster", typeof(Dictionary<ValueTuple<int, ChartSectionType>, ChartNoteCountMaster>) },
{ "HiddenMusicMixNoteCountMaster", typeof(Dictionary<ValueTuple<int, int, ChartDifficulty>, HiddenMusicMixNoteCountMaster>) },
{ "TowerStageMaster", typeof(Dictionary<ValueTuple<int, int>, TowerStageMaster>) },
{ "QuestClubDeckMaster", typeof(Dictionary<ValueTuple<int, int>, QuestClubDeckMaster>) },
{ "QuestDeckMaster", typeof(Dictionary<ValueTuple<int, int>, QuestDeckMaster>) },
{ "TrumpMaster", typeof(Dictionary<ValueTuple<TrumpSuit, int>, TrumpMaster>) },
Expand Down
17 changes: 17 additions & 0 deletions D4DJ.Types/CodeGen/Masters/AuditionGachaResetMaster.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using MessagePack;
using System;

namespace D4DJ_Tools.Masters
{
[MessagePackObject]
public class AuditionGachaResetMaster
{
[Key(0)]
public int __GachaDrawPrimaryKey__ { get; set; }
[Key(1)]
public int __StockPrimaryKey__ { get; set; }
[Key(2)]
public int StockAmount { get; set; }
}
}

19 changes: 19 additions & 0 deletions D4DJ.Types/CodeGen/Masters/BeginnersMissionMaster.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using MessagePack;
using System;

namespace D4DJ_Tools.Masters
{
[MessagePackObject]
public class BeginnersMissionMaster
{
[Key(0)]
public int __DetailPrimaryKey__ { get; set; }
[Key(1)]
public string Hint { get; set; }
[Key(2)]
public bool IsRecommend { get; set; }
[Key(3)]
public bool IsTutorialEnd { get; set; }
}
}

12 changes: 8 additions & 4 deletions D4DJ.Types/CodeGen/Masters/BingoCardMaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ namespace D4DJ_Tools.Masters
public class BingoCardMaster
{
[Key(0)]
public int MinCardNumber { get; set; }
public int Id { get; set; }
[Key(1)]
public int LotNumberNeedPoint { get; set; }
public int MinCardNumber { get; set; }
[Key(2)]
public int RewardPhaseId { get; set; }
public int LotNumberNeedPoint { get; set; }
[Key(3)]
public int CardImageIndex { get; set; }
public int RewardPhaseId { get; set; }
[Key(4)]
public int[] CardImageIDs { get; set; }
[Key(5)]
public BingoCardType CardType { get; set; }
}
}

2 changes: 1 addition & 1 deletion D4DJ.Types/CodeGen/Masters/BingoRewardMaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class BingoRewardMaster
[Key(2)]
public BingoRewardCategory Category { get; set; }
[Key(3)]
public int MaxAmount { get; set; }
public int MaxCount { get; set; }
[Key(4)]
public RewardCategory RewardCategory { get; set; }
[Key(5)]
Expand Down
Loading