Init enter game

This commit is contained in:
Naruse
2025-06-14 11:15:32 +08:00
commit 6a03b39f07
568 changed files with 92872 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("ActChallengeData.json")]
public class ActChallengeDataExcel : ExcelResource
{
[JsonPropertyName("actId")] public uint ActId { get; set; }
[JsonPropertyName("difficulty")] public uint Difficulty { get; set; }
public override int GetId()
{
return (int)ActId;
}
public override void Loaded()
{
if (!GameData.ActChallengeData.ContainsKey(GetId()))
{
GameData.ActChallengeData[GetId()] = new List<ActChallengeDataExcel>();
}
GameData.ActChallengeData[GetId()].Add(this);
}
}

View File

@@ -0,0 +1,17 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("ActivityTower.json")]
public class ActivityTowerExcel : ExcelResource
{
public uint ActivityID { get; set; }
public override int GetId()
{
return (int)ActivityID;
}
public override void Loaded()
{
GameData.ActivityTowerData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,20 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("AffixList.json")]
public class AffixListExcel : ExcelResource
{
[JsonPropertyName("affixID")] public int AffixID { get; set; }
[JsonPropertyName("level")] public int Level { get; set; }
public override int GetId()
{
return AffixID;
}
public override void Loaded()
{
GameData.AffixListData.Add(AffixID, this);
}
}

View File

@@ -0,0 +1,27 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("AvatarData.json")]
public class AvatarDataExcel : ExcelResource
{
[JsonPropertyName("avatarID")] public int AvatarID { get; set; }
[JsonPropertyName("unlockStar")] public int UnlockStar { get; set; }
[JsonPropertyName("initialWeapon")] public int InitialWeapon { get; set; }
[JsonPropertyName("skillList")] public List<int> SkillList { get; set; } = [];
public int DefaultDressId { get; set; }
public override int GetId()
{
return AvatarID;
}
public override void Loaded()
{
if (AvatarID != 316 && (AvatarID < 9000 || AvatarID > 20000))
{
GameData.AvatarData.Add(AvatarID, this);
}
}
}

View File

@@ -0,0 +1,22 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("AvatarSubSkillData.json")]
public class AvatarSubSkillDataExcel : ExcelResource
{
[JsonPropertyName("skillId")] public int SkillId { get; set; }
[JsonPropertyName("unlockScoin")] public int UnlockScoin { get; set; }
[JsonPropertyName("maxLv")] public int MaxLv { get; set; }
[JsonPropertyName("avatarSubSkillId")] public int AvatarSubSkillId { get; set; }
public override int GetId()
{
return AvatarSubSkillId;
}
public override void Loaded()
{
GameData.AvatarSubSkillData.Add(AvatarSubSkillId, this);
}
}

View File

@@ -0,0 +1,17 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("AvatarTutorial.json")]
public class AvatarTutorialExcel : ExcelResource
{
public uint ActivityID { get; set; }
public override int GetId()
{
return (int)ActivityID;
}
public override void Loaded()
{
GameData.AvatarTutorialData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,25 @@
using KianaBH.Data.Config;
namespace KianaBH.Data.Excel;
[ResourceEntity("ChapterGroupConfig.json")]
public class ChapterGroupConfigExcel : ExcelResource
{
public uint ID { get; set; }
public uint GroupType { get; set; }
public TimestampConfig? BeginShowTime { get; set; }
public TimestampConfig? BeginTime { get; set; }
public uint BeginShowLevel { get; set; }
public List<uint> SiteList { get; set; } = [];
public uint UnlockLevel { get; set; }
public override int GetId()
{
return (int)ID;
}
public override void Loaded()
{
GameData.ChapterGroupConfigData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,21 @@
using System.Text.Json.Serialization;
using KianaBH.Data.Config;
namespace KianaBH.Data.Excel;
[ResourceEntity("CityEventPhoto.json")]
public class CityEventPhotoExcel : ExcelResource
{
public uint PhotoID { get; set; }
[JsonPropertyName("photoType")] public uint PhotoType { get; set; }
public override int GetId()
{
return (int)PhotoID;
}
public override void Loaded()
{
GameData.CityEventPhotoData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,17 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("Collection.json")]
public class CollectionExcel : ExcelResource
{
public int ID { get; set; }
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.CollectionData.Add(ID, this);
}
}

View File

@@ -0,0 +1,19 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("CustomHeadData.json")]
public class CustomHeadDataExcel : ExcelResource
{
[JsonPropertyName("headID")] public uint HeadID { get; set; }
public override int GetId()
{
return (int)HeadID;
}
public override void Loaded()
{
GameData.CustomHeadData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,20 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("DressData.json")]
public class DressDataExcel : ExcelResource
{
[JsonPropertyName("dressID")] public uint DressID { get; set; }
[JsonPropertyName("avatarIDList")] public List<uint> AvatarIDList { get; set; } = [];
public override int GetId()
{
return (int)DressID;
}
public override void Loaded()
{
GameData.DressData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,30 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("Elf_AstraMate_Data.json")]
public class ElfAstraMateDataExcel : ExcelResource
{
public uint ElfID { get; set; }
public uint MaxLevel { get; set; }
public uint MaxRarity { get; set; }
[JsonIgnore] public List<ElfSkillDataExcel> SkillList = [];
public override int GetId()
{
return (int)ElfID;
}
public override void Loaded()
{
GameData.ElfAstraMateData.Add(GetId(), this);
}
public override void AfterAllDone()
{
GameData.ElfSkillData.TryGetValue(GetId(), out var Skills);
if (Skills == null || !Skills.ElfIds.Contains(ElfID)) return;
SkillList.Add(Skills);
}
}

View File

@@ -0,0 +1,18 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("ElfSkillData.json")]
public class ElfSkillDataExcel : ExcelResource
{
public uint ElfSkillID { get; set; }
public uint MaxLv { get; set; }
public List<uint> ElfIds { get; set; } = [];
public override int GetId()
{
return (int)ElfSkillID;
}
public override void Loaded()
{
GameData.ElfSkillData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,18 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("EntryThemeData.json")]
public class EntryThemeDataExcel : ExcelResource
{
public uint SpaceShipConfigId { get; set; }
public List<uint> ThemeBgmConfigList { get; set; } = [];
public List<uint> ThemeTagList { get; set; } = [];
public override int GetId()
{
return (int)SpaceShipConfigId;
}
public override void Loaded()
{
GameData.EntryThemeData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,16 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("EntryThemeItemData.json")]
public class EntryThemeItemDataExcel : ExcelResource
{
public int ThemeItemID { get; set; }
public override int GetId()
{
return ThemeItemID;
}
public override void Loaded()
{
GameData.EntryThemeItemData.Add(ThemeItemID, this);
}
}

View File

@@ -0,0 +1,19 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("FrameData.json")]
public class FrameDataExcel : ExcelResource
{
[JsonPropertyName("id")] public uint Id { get; set; }
public override int GetId()
{
return (int)Id;
}
public override void Loaded()
{
GameData.FrameData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,18 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("GeneralActivity.json")]
public class GeneralActivityExcel : ExcelResource
{
public uint AcitivityID { get; set; }
public uint Series { get; set; }
public override int GetId()
{
return (int)AcitivityID;
}
public override void Loaded()
{
GameData.GeneralActivityData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,24 @@
using System;
namespace KianaBH.Data.Excel;
[ResourceEntity("GeneralActivityStageGroup.json")]
public class GeneralActivityStageGroupExcel : ExcelResource
{
public uint AcitivityId { get; set; }
public uint StageGroupId { get; set; }
public override int GetId()
{
return (int)AcitivityId;
}
public override void Loaded()
{
if (!GameData.GeneralActivityStageGroupData.ContainsKey(GetId()))
{
GameData.GeneralActivityStageGroupData[GetId()] = new List<GeneralActivityStageGroupExcel>();
}
GameData.GeneralActivityStageGroupData[GetId()].Add(this);
}
}

View File

@@ -0,0 +1,20 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("GodWarEvent.json")]
public class GodWarEventExcel : ExcelResource
{
public uint EventID { get; set; }
public int EventType { get; set; }
public List<uint> ParamsVar { get; set; } = [];
public override int GetId()
{
return (int)EventID;
}
public override void Loaded()
{
GameData.GodWarEventData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,17 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("GodWarMainAvatar.json")]
public class GodWarMainAvatarExcel : ExcelResource
{
public int MainAvatarID { get; set; }
public override int GetId()
{
return MainAvatarID;
}
public override void Loaded()
{
GameData.GodWarMainAvatarData.Add(MainAvatarID, this);
}
}

View File

@@ -0,0 +1,20 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("GodWarRelationData.json")]
public class GodWarRelationDataExcel : ExcelResource
{
public int AvatarID { get; set; }
public int RoleID { get; set; }
public int Level { get; set; }
public int MaxLevel { get; set; }
public override int GetId()
{
return AvatarID;
}
public override void Loaded()
{
GameData.GodWarRelationData.Add(this);
}
}

View File

@@ -0,0 +1,17 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("GodWarSupportAvatar.json")]
public class GodWarSupportAvatarExcel : ExcelResource
{
public int SupportAvatarID { get; set; }
public override int GetId()
{
return SupportAvatarID;
}
public override void Loaded()
{
GameData.GodWarSupportAvatarData.Add(SupportAvatarID, this);
}
}

View File

@@ -0,0 +1,22 @@
using KianaBH.Data.Config;
namespace KianaBH.Data.Excel;
[ResourceEntity("GodWarTaleSchedule.json")]
public class GodWarTaleScheduleExcel : ExcelResource
{
public uint TaleScheduleID { get; set; }
public List<uint> TaleIDList { get; set; } = [];
public TimestampConfig? BeginTime { get; set; }
public TimestampConfig? EndTime { get; set; }
public override int GetId()
{
return (int)TaleScheduleID;
}
public override void Loaded()
{
GameData.GodWarTaleScheduleData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,19 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("GodWarTalentData.json")]
public class GodWarTalentDataExcel : ExcelResource
{
public uint TalentID { get; set; }
public uint MaxLevel { get; set; }
public List<uint> TaleIDList { get; set; } = [];
public override int GetId()
{
return (int)TalentID;
}
public override void Loaded()
{
GameData.GodWarTalentData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,22 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("MaterialData.json")]
public class MaterialDataExcel : ExcelResource
{
[JsonPropertyName("ID")] public int Id { get; set; }
[JsonPropertyName("rarity")] public int Rarity { get; set; }
[JsonPropertyName("maxRarity")] public int MaxRarity { get; set; }
[JsonPropertyName("quantityLimit")] public int QuantityLimit { get; set; }
public override int GetId()
{
return Id;
}
public override void Loaded()
{
GameData.MaterialData.Add(Id, this);
}
}

View File

@@ -0,0 +1,22 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("MissionData.json")]
public class MissionDataExcel : ExcelResource
{
[JsonPropertyName("id")] public uint Id { get; set; }
[JsonPropertyName("totalProgress")] public uint TotalProgress { get; set; }
public uint Priority { get; set; }
public override int GetId()
{
return (int)Id;
}
public override void Loaded()
{
GameData.MissionData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,20 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("PhonePendantData.json")]
public class PhonePendantDataExcel : ExcelResource
{
public uint PendantId { get; set; }
public uint Rarity { get; set; }
public override int GetId()
{
return (int)PendantId;
}
public override void Loaded()
{
GameData.PhonePendantData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,21 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("RandomPlotData.json")]
public class RandomPlotDataExcel : ExcelResource
{
[JsonPropertyName("plotId")] public uint PlotId { get; set; }
[JsonPropertyName("startDialogId")] public uint StartDialogId { get; set; }
[JsonPropertyName("finishDialogIdList")] public List<uint> FinishDialogIdList { get; set; } = [];
public override int GetId()
{
return (int)PlotId;
}
public override void Loaded()
{
GameData.RandomPlotData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,17 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("RecommendPanel.json")]
public class RecommendPanelExcel : ExcelResource
{
public uint PanelId { get; set; }
public override int GetId()
{
return (int)PanelId;
}
public override void Loaded()
{
GameData.RecommendPanelData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,28 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("StageData_Main.json")]
public class StageDataMainExcel : ExcelResource
{
[JsonPropertyName("levelId")] public uint LevelId { get; set; }
[JsonPropertyName("maxProgress")] public uint MaxProgress { get; set; }
[JsonPropertyName("challengeList")] public List<ChallengeData> ChallengeList { get; set; } = [];
public override int GetId()
{
return (int)LevelId;
}
public override void Loaded()
{
GameData.StageDataMain.Add(GetId(), this);
}
}
public class ChallengeData
{
[JsonPropertyName("challengeId")] public uint ChallengeId { get; set; }
[JsonPropertyName("rewardId")] public uint RewardId { get; set; }
}

View File

@@ -0,0 +1,21 @@
namespace KianaBH.Data.Excel;
[ResourceEntity("StepMissionCompensation.json")]
public class StepMissionCompensationExcel : ExcelResource
{
public uint CompensationId { get; set; }
public uint UnlockLevel { get; set; }
public List<uint> MainLineStepIdList { get; set; } = [];
public List<uint> NewChallengeStepIdList { get; set; } = [];
public List<uint> OldChallengeStepIdList { get; set; } = [];
public override int GetId()
{
return (int)CompensationId;
}
public override void Loaded()
{
GameData.StepMissionCompensationData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,26 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("StigmataData.json")]
public class StigmataDataExcel : ExcelResource
{
public int ID { get; set; }
[JsonPropertyName("maxLv")] public int MaxLv { get; set; }
[JsonPropertyName("rarity")] public int Rarity { get; set; }
[JsonPropertyName("maxRarity")] public int MaxRarity { get; set; }
[JsonPropertyName("evoID")] public int EvoID { get; set; }
[JsonPropertyName("quality")] public int Quality { get; set; }
[JsonPropertyName("isSecurityProtect")] public bool IsSecurityProtect { get; set; }
[JsonPropertyName("protect")] public bool Protect { get; set; }
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.StigmataData.Add(ID, this);
}
}

View File

@@ -0,0 +1,21 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("ThemeData_Avatar.json")]
public class ThemeDataAvatarExcel : ExcelResource
{
public uint AvatarData { get; set; }
public List<uint> BuffList { get; set; } = [];
[JsonPropertyName("avatarIDList")] public List<uint> AvatarIDList { get; set; } = [];
public override int GetId()
{
return (int)AvatarData;
}
public override void Loaded()
{
GameData.ThemeDataAvatar.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,20 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("TutorialData.json")]
public class TutorialDataExcel : ExcelResource
{
[JsonPropertyName("id")] public uint Id { get; set; }
[JsonPropertyName("index")] public uint Index { get; set; }
public override int GetId()
{
return (int)Id;
}
public override void Loaded()
{
GameData.TutorialData.Add(GetId(), this);
}
}

View File

@@ -0,0 +1,25 @@
using System.Text.Json.Serialization;
namespace KianaBH.Data.Excel;
[ResourceEntity("WeaponData.json")]
public class WeaponDataExcel : ExcelResource
{
public int ID { get; set; }
[JsonPropertyName("weaponMainID")] public int WeaponMainID { get; set; }
[JsonPropertyName("maxLv")] public int MaxLv { get; set; }
[JsonPropertyName("rarity")] public int Rarity { get; set; }
[JsonPropertyName("maxRarity")] public int MaxRarity { get; set; }
[JsonPropertyName("evoID")] public int EvoID { get; set; }
[JsonPropertyName("protect")] public bool Protect { get; set; }
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.WeaponData.Add(ID, this);
}
}