초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,129 @@
// <auto-generated>
// generated using ContentTool. DO NOT EDIT!
// </auto-generated>
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Collections.ObjectModel;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
namespace MetaAssets
{
#pragma warning disable
public partial class CurrencyRewardMutable
{
[JsonProperty("Id")]
public int Id { get; set; }
[JsonProperty("Value")]
public double Value { get; set; }
}
public partial class ItemRewardMutable
{
[JsonProperty("Id")]
public int Id { get; set; }
[JsonProperty("Count")]
public int Count { get; set; }
}
public partial class SeasonPassExpRewardMutable
{
[JsonProperty("Id")]
public int Id { get; set; }
[JsonProperty("Value")]
public int Value { get; set; }
}
public partial class RewardMutable
{
[JsonProperty("Currency")]
public CurrencyRewardMutable Currency { get; set; }
[JsonProperty("Item")]
public ItemRewardMutable Item { get; set; }
[JsonProperty("SeasonPassExp")]
public SeasonPassExpRewardMutable SeasonPassExp { get; set; }
}
public partial class EnumCheckerMutable
{
[JsonProperty("TextId")]
public string TextId { get; set; }
}
public partial class CommonSchemaMutable
{
}
//////////////////////////////
// readonly class
//////////////////////////////
public partial class CurrencyReward
{
public readonly int Id;
public readonly double Value;
public CurrencyReward(CurrencyRewardMutable data)
{
Id = data.Id;
Value = data.Value;
}
}
public partial class ItemReward
{
public readonly int Id;
public readonly int Count;
public ItemReward(ItemRewardMutable data)
{
Id = data.Id;
Count = data.Count;
}
}
public partial class SeasonPassExpReward
{
public readonly int Id;
public readonly int Value;
public SeasonPassExpReward(SeasonPassExpRewardMutable data)
{
Id = data.Id;
Value = data.Value;
}
}
public partial class Reward
{
public readonly CurrencyReward Currency;
public readonly ItemReward Item;
public readonly SeasonPassExpReward SeasonPassExp;
public Reward(RewardMutable data)
{
if(data.Currency != null)
Currency = new CurrencyReward(data.Currency);
if(data.Item != null)
Item = new ItemReward(data.Item);
if(data.SeasonPassExp != null)
SeasonPassExp = new SeasonPassExpReward(data.SeasonPassExp);
}
}
public partial class EnumChecker
{
public readonly string TextId;
public EnumChecker(EnumCheckerMutable data)
{
TextId = data.TextId;
}
}
public partial class CommonSchema
{
public CommonSchema(CommonSchemaMutable data)
{
}
}
}