초기커밋

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,83 @@
// <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 ShopMetaDataMutable
{
[JsonProperty("Id")]
public int Id { get; set; }
[JsonProperty("Name")]
public string Name { get; set; }
[JsonProperty("ResetTime")]
public int ResetTime { get; set; }
[JsonProperty("ShopProduct_Group_Id")]
public int ShopProduct_Group_Id { get; set; }
[JsonProperty("ShopProduct_List")]
public int ShopProduct_List { get; set; }
[JsonProperty("is_Renewal")]
public bool is_Renewal { get; set; }
[JsonProperty("RenewalMaxCount")]
public int RenewalMaxCount { get; set; }
[JsonProperty("RenewalCurrency")]
public int RenewalCurrency { get; set; }
[JsonProperty("RenewalCurrencyValue")]
public int RenewalCurrencyValue { get; set; }
}
public partial class ShopMetaTableMutable
{
[JsonProperty("ShopMetaDataList")]
public IList<ShopMetaDataMutable> ShopMetaDataList { get; set; }
}
//////////////////////////////
// readonly class
//////////////////////////////
public partial class ShopMetaData
{
public readonly int Id;
public readonly string Name;
public readonly int ResetTime;
public readonly int ShopProduct_Group_Id;
public readonly int ShopProduct_List;
public readonly bool is_Renewal;
public readonly int RenewalMaxCount;
public readonly int RenewalCurrency;
public readonly int RenewalCurrencyValue;
public ShopMetaData(ShopMetaDataMutable data)
{
Id = data.Id;
Name = data.Name;
ResetTime = data.ResetTime;
ShopProduct_Group_Id = data.ShopProduct_Group_Id;
ShopProduct_List = data.ShopProduct_List;
is_Renewal = data.is_Renewal;
RenewalMaxCount = data.RenewalMaxCount;
RenewalCurrency = data.RenewalCurrency;
RenewalCurrencyValue = data.RenewalCurrencyValue;
}
}
public partial class ShopMetaTable
{
public readonly IReadOnlyList<ShopMetaData> ShopMetaDataList;
public ShopMetaTable(ShopMetaTableMutable data)
{
if(data.ShopMetaDataList != null)
ShopMetaDataList = data.ShopMetaDataList.Select(x => new ShopMetaData(x)).ToList().AsReadOnly();
}
}
}