-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
873 additions
and
34 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
Source/GrasscutterTools/Game/Data/Excels/AchievementData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("AchievementExcelConfigData.json")] | ||
internal class AchievementData : GameResource | ||
{ | ||
[JsonProperty("isDisuse")] | ||
public bool IsDisuse { get; set; } | ||
|
||
public bool IsUsed => !IsDisuse; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("AvatarExcelConfigData.json")] | ||
internal class AvatarData : GameResource | ||
{ | ||
[JsonProperty("qualityType")] | ||
public string QualityType { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("DungeonExcelConfigData.json")] | ||
internal class DungeonData : GameResource | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("GadgetExcelConfigData.json")] | ||
internal class GadgetData | ||
{ | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
Source/GrasscutterTools/Game/Data/Excels/HomeWorldBgmData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("HomeWorldBgmExcelConfigData.json")] | ||
internal class HomeWorldBgmData : GameResource | ||
{ | ||
[JsonProperty("homeBgmId")] | ||
public override int Id { get; set; } | ||
|
||
[JsonProperty("bgmNameTextMapHash")] | ||
public long BgmNameTextMapHash { get; set; } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Source/GrasscutterTools/Game/Data/Excels/HomeWorldFurnitureData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("HomeWorldFurnitureExcelConfigData.json")] | ||
internal class HomeWorldFurnitureData : GameResource | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("MainQuestExcelConfigData.json")] | ||
internal class MainQuestData : GameResource | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Collections.Generic; | ||
using GrasscutterTools.Game.Inventory; | ||
using GrasscutterTools.Game.Props; | ||
|
||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("MaterialExcelConfigData.json")] | ||
internal class MaterialData : GameResource | ||
{ | ||
[JsonProperty("itemType"), JsonConverter(typeof(StringEnumConverter))] | ||
public ItemType ItemType { get; set; } | ||
|
||
[JsonProperty("materialType"), JsonConverter(typeof(StringEnumConverter))] | ||
public MaterialType MaterialType { get; set; } | ||
|
||
[JsonProperty("itemUse")] | ||
public List<ItemUseData> ItemUse { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using GrasscutterTools.Game.Props; | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("MonsterExcelConfigData.json")] | ||
internal class MonsterData : GameResource | ||
{ | ||
[JsonProperty("monsterName")] | ||
public string MonsterName { get; set; } | ||
|
||
[JsonProperty("type")] | ||
public MonsterType Type { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("QuestExcelConfigData.json")] | ||
internal class QuestData : GameResource | ||
{ | ||
[JsonProperty("subId")] | ||
public override int Id { get; set; } | ||
|
||
[JsonProperty("mainId")] | ||
public int MainId { get; set; } | ||
|
||
[JsonProperty("order")] | ||
public int Order { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("ReliquaryExcelConfigData.json")] | ||
internal class ReliquaryData : GameResource | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using GrasscutterTools.Game.Props; | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("SceneExcelConfigData.json")] | ||
internal class SceneData : GameResource | ||
{ | ||
[JsonProperty("type")] | ||
public SceneType SceneType { get; set; } | ||
|
||
[JsonProperty("scriptData")] | ||
public string ScriptData { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data.Excels | ||
{ | ||
[ResourceType("WeaponExcelConfigData.json")] | ||
internal class WeaponData : GameResource | ||
{ | ||
[JsonProperty("rankLevel")] | ||
public int RankLevel { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace GrasscutterTools.Game.Data | ||
{ | ||
internal abstract class GameResource | ||
{ | ||
[JsonProperty("id")] | ||
public virtual int Id { get; set; } | ||
|
||
[JsonProperty("nameTextMapHash")] | ||
public long NameTextMapHash { get; set; } | ||
|
||
[JsonProperty("titleTextMapHash")] | ||
public string TitleTextMapHash { get; set; } | ||
|
||
[JsonProperty("descTextMapHash")] | ||
public long DescTextMapHash { get; set; } | ||
} | ||
} |
Oops, something went wrong.