MissionData読み込み対応
This commit is contained in:
parent
6c1c139d2c
commit
7be8216c56
|
|
@ -1 +1 @@
|
|||
J8tp0QXH7eVJp3zCLhf8H3JZX7e+KwKjEmgKmVj188qvOM7CJdsx/V/ETv8lPJre
|
||||
9zER4x2VYtqIrv1IDo/9b+5FDruS5oQHusXY2UyCMNEL6IZhn/o8dYZjwgvecI5U
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 052355efbedfa427392db33e8fa0819d
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -31,6 +31,7 @@ public static class Const {
|
|||
public static readonly string PanDataSheet = "PanData";
|
||||
public static readonly string RarityDataSheet = "RarityData";
|
||||
public static readonly string FieldUpgradeDataSheet = "FieldUpgradeData";
|
||||
public static readonly string MissionDataSheet = "MissionData";
|
||||
|
||||
// language
|
||||
public static readonly string LangJapanDataSheet = "LangJapanData";
|
||||
|
|
@ -60,6 +61,7 @@ public static class Const {
|
|||
new SheetData(Const.PanDataSheet),
|
||||
new SheetData(Const.RarityDataSheet),
|
||||
new SheetData(Const.FieldUpgradeDataSheet),
|
||||
new SheetData(Const.MissionDataSheet),
|
||||
};
|
||||
public static readonly SheetData[] LanguageSheetNameList = new SheetData[]{
|
||||
new SheetData(Const.LangJapanDataSheet, "LanguageData"),
|
||||
|
|
|
|||
|
|
@ -34,6 +34,42 @@ public enum CornFieldUpgradeType
|
|||
Machine = 4,
|
||||
}
|
||||
|
||||
public enum MissionCategory
|
||||
{
|
||||
Normal = 1,
|
||||
Daily = 2,
|
||||
}
|
||||
|
||||
public enum MissionCondition
|
||||
{
|
||||
CornCount = 1,
|
||||
CustomerCount = 2,
|
||||
SalesCount = 3,
|
||||
RecipeCount = 4,
|
||||
CoinConsumeCount = 5,
|
||||
SaltSalesCount = 6,
|
||||
}
|
||||
|
||||
public enum MissionRewardType
|
||||
{
|
||||
Coin = 1,
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public sealed class MissionData
|
||||
{
|
||||
public int id;
|
||||
public int category;
|
||||
public int shopLevel;
|
||||
public int condition;
|
||||
public int count;
|
||||
public int rewardType;
|
||||
public int reward;
|
||||
public MissionCategory Category => (MissionCategory) category;
|
||||
public MissionCondition Condition => (MissionCondition) condition;
|
||||
public MissionRewardType RewardType => (MissionRewardType) rewardType;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public sealed class RarityData
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue