272 lines
11 KiB
C#
272 lines
11 KiB
C#
// <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 ItemMetaDataMutable
|
|
{
|
|
[JsonProperty("item_id")]
|
|
public int ItemId { get; set; }
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
[JsonProperty("desc")]
|
|
public string Desc { get; set; }
|
|
[JsonProperty("gender")]
|
|
public EGenderType Gender { get; set; }
|
|
[JsonProperty("image_3D_DP")]
|
|
public string Image3DDP { get; set; }
|
|
[JsonProperty("image_3D_DP_opacity")]
|
|
public string Image3DDPOpacity { get; set; }
|
|
[JsonProperty("image_3D")]
|
|
public string Image3D { get; set; }
|
|
[JsonProperty("image_3D_opacity")]
|
|
public string Image3DOpacity { get; set; }
|
|
[JsonProperty("image_2D")]
|
|
public string Image2D { get; set; }
|
|
[JsonProperty("release_date")]
|
|
public DateTimeOffset ReleaseDate { get; set; }
|
|
[JsonProperty("Brand")]
|
|
public int Brand_ { get; set; }
|
|
[JsonProperty("isNFT")]
|
|
public bool IsNFT { get; set; }
|
|
[JsonProperty("type_large")]
|
|
public EItemLargeType TypeLarge { get; set; }
|
|
[JsonProperty("type_small")]
|
|
public EItemSmallType TypeSmall { get; set; }
|
|
[JsonProperty("register_id")]
|
|
public int Register_id { get; set; }
|
|
[JsonProperty("max_count")]
|
|
public int MaxCount { get; set; }
|
|
[JsonProperty("stack_max_count")]
|
|
public int StackMaxCount { get; set; }
|
|
[JsonProperty("expire_type")]
|
|
public EExpireType ExpireType { get; set; }
|
|
[JsonProperty("expire_fixedTerm_start")]
|
|
public DateTimeOffset ExpireFixedTermStart { get; set; }
|
|
[JsonProperty("expire_fixedTerm_end")]
|
|
public DateTimeOffset ExpireFixedTermEnd { get; set; }
|
|
[JsonProperty("expire_time_sec")]
|
|
public int ExpireTimeSec { get; set; }
|
|
[JsonProperty("is_user_tradable")]
|
|
public bool IsUserTradable { get; set; }
|
|
[JsonProperty("is_system_tradable")]
|
|
public bool IsSystemTradable { get; set; }
|
|
[JsonProperty("sell_price_type")]
|
|
public ShopBuyType SellPriceType { get; set; }
|
|
[JsonProperty("sell_id")]
|
|
public int SellId { get; set; }
|
|
[JsonProperty("sell_price")]
|
|
public double SellPrice { get; set; }
|
|
[JsonProperty("order")]
|
|
public int Order { get; set; }
|
|
[JsonProperty("is_throwable")]
|
|
public bool IsThrowable { get; set; }
|
|
[JsonProperty("ActionType")]
|
|
public string ActionType { get; set; }
|
|
[JsonProperty("ActionValue")]
|
|
public int ActionValue { get; set; }
|
|
[JsonProperty("DetailOffset")]
|
|
public int DetailOffset { get; set; }
|
|
[JsonProperty("DetailScale")]
|
|
public double DetailScale { get; set; }
|
|
[JsonProperty("GuidePopup")]
|
|
public int GuidePopup { get; set; }
|
|
[JsonProperty("DetailRoll")]
|
|
public int DetailRoll { get; set; }
|
|
[JsonProperty("DetailPitch")]
|
|
public int DetailPitch { get; set; }
|
|
[JsonProperty("DetailCameraRight")]
|
|
public double DetailCameraRight { get; set; }
|
|
[JsonProperty("DetailCameraHeight")]
|
|
public int DetailCameraHeight { get; set; }
|
|
[JsonProperty("DetailCameraAngle")]
|
|
public int DetailCameraAngle { get; set; }
|
|
[JsonProperty("Rarity")]
|
|
public string Rarity { get; set; }
|
|
[JsonProperty("DefaultAttribute")]
|
|
public string DefaultAttribute { get; set; }
|
|
[JsonProperty("AttributeRandomGroupID")]
|
|
public string AttributeRandomGroupID { get; set; }
|
|
[JsonProperty("ItemSetID")]
|
|
public int ItemSetID { get; set; }
|
|
[JsonProperty("GachaGroupId")]
|
|
public int GachaGroupId { get; set; }
|
|
[JsonProperty("Buy_Price_Type")]
|
|
public ShopBuyType Buy_Price_Type { get; set; }
|
|
[JsonProperty("Buy_id")]
|
|
public int Buy_id { get; set; }
|
|
[JsonProperty("Buy_price")]
|
|
public double BuyPrice { get; set; }
|
|
[JsonProperty("buff_id")]
|
|
public int buff_id { get; set; }
|
|
[JsonProperty("ProductLink")]
|
|
public string ProductLink_ { get; set; }
|
|
[JsonProperty("is_CartNBuy")]
|
|
public bool is_CartNBuy_ { get; set; }
|
|
[JsonProperty("Buy_Discount_Rate")]
|
|
public int Buy_Discount_Rate { get; set; }
|
|
[JsonProperty("PropSmallType")]
|
|
public EPropSmallType PropSmallType { get; set; }
|
|
[JsonProperty("UGQAction")]
|
|
public EUGQAction UGQAction { get; set; }
|
|
[JsonProperty("LinkedLand")]
|
|
public int LinkedLand { get; set; }
|
|
[JsonProperty("IsUiOnly")]
|
|
public bool IsUiOnly { get; set; }
|
|
[JsonProperty("BeaconShopGoldFee")]
|
|
public int BeaconShopGoldFee { get; set; }
|
|
[JsonProperty("is_BeaconShop")]
|
|
public bool is_BeaconShop { get; set; }
|
|
}
|
|
|
|
public partial class ItemMetaTableMutable
|
|
{
|
|
[JsonProperty("ItemMetaDataList")]
|
|
public IList<ItemMetaDataMutable> ItemMetaDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class ItemMetaData
|
|
{
|
|
public readonly int ItemId;
|
|
public readonly string Name;
|
|
public readonly string Desc;
|
|
public readonly EGenderType Gender;
|
|
public readonly string Image3DDP;
|
|
public readonly string Image3DDPOpacity;
|
|
public readonly string Image3D;
|
|
public readonly string Image3DOpacity;
|
|
public readonly string Image2D;
|
|
public readonly DateTimeOffset ReleaseDate;
|
|
public readonly int Brand_;
|
|
public readonly bool IsNFT;
|
|
public readonly EItemLargeType TypeLarge;
|
|
public readonly EItemSmallType TypeSmall;
|
|
public readonly int Register_id;
|
|
public readonly int MaxCount;
|
|
public readonly int StackMaxCount;
|
|
public readonly EExpireType ExpireType;
|
|
public readonly DateTimeOffset ExpireFixedTermStart;
|
|
public readonly DateTimeOffset ExpireFixedTermEnd;
|
|
public readonly int ExpireTimeSec;
|
|
public readonly bool IsUserTradable;
|
|
public readonly bool IsSystemTradable;
|
|
public readonly ShopBuyType SellPriceType;
|
|
public readonly int SellId;
|
|
public readonly double SellPrice;
|
|
public readonly int Order;
|
|
public readonly bool IsThrowable;
|
|
public readonly string ActionType;
|
|
public readonly int ActionValue;
|
|
public readonly int DetailOffset;
|
|
public readonly double DetailScale;
|
|
public readonly int GuidePopup;
|
|
public readonly int DetailRoll;
|
|
public readonly int DetailPitch;
|
|
public readonly double DetailCameraRight;
|
|
public readonly int DetailCameraHeight;
|
|
public readonly int DetailCameraAngle;
|
|
public readonly string Rarity;
|
|
public readonly string DefaultAttribute;
|
|
public readonly string AttributeRandomGroupID;
|
|
public readonly int ItemSetID;
|
|
public readonly int GachaGroupId;
|
|
public readonly ShopBuyType Buy_Price_Type;
|
|
public readonly int Buy_id;
|
|
public readonly double BuyPrice;
|
|
public readonly int buff_id;
|
|
public readonly string ProductLink_;
|
|
public readonly bool is_CartNBuy_;
|
|
public readonly int Buy_Discount_Rate;
|
|
public readonly EPropSmallType PropSmallType;
|
|
public readonly EUGQAction UGQAction;
|
|
public readonly int LinkedLand;
|
|
public readonly bool IsUiOnly;
|
|
public readonly int BeaconShopGoldFee;
|
|
public readonly bool is_BeaconShop;
|
|
public ItemMetaData(ItemMetaDataMutable data)
|
|
{
|
|
ItemId = data.ItemId;
|
|
Name = data.Name;
|
|
Desc = data.Desc;
|
|
Gender = data.Gender;
|
|
Image3DDP = data.Image3DDP;
|
|
Image3DDPOpacity = data.Image3DDPOpacity;
|
|
Image3D = data.Image3D;
|
|
Image3DOpacity = data.Image3DOpacity;
|
|
Image2D = data.Image2D;
|
|
ReleaseDate = data.ReleaseDate;
|
|
Brand_ = data.Brand_;
|
|
IsNFT = data.IsNFT;
|
|
TypeLarge = data.TypeLarge;
|
|
TypeSmall = data.TypeSmall;
|
|
Register_id = data.Register_id;
|
|
MaxCount = data.MaxCount;
|
|
StackMaxCount = data.StackMaxCount;
|
|
ExpireType = data.ExpireType;
|
|
ExpireFixedTermStart = data.ExpireFixedTermStart;
|
|
ExpireFixedTermEnd = data.ExpireFixedTermEnd;
|
|
ExpireTimeSec = data.ExpireTimeSec;
|
|
IsUserTradable = data.IsUserTradable;
|
|
IsSystemTradable = data.IsSystemTradable;
|
|
SellPriceType = data.SellPriceType;
|
|
SellId = data.SellId;
|
|
SellPrice = data.SellPrice;
|
|
Order = data.Order;
|
|
IsThrowable = data.IsThrowable;
|
|
ActionType = data.ActionType;
|
|
ActionValue = data.ActionValue;
|
|
DetailOffset = data.DetailOffset;
|
|
DetailScale = data.DetailScale;
|
|
GuidePopup = data.GuidePopup;
|
|
DetailRoll = data.DetailRoll;
|
|
DetailPitch = data.DetailPitch;
|
|
DetailCameraRight = data.DetailCameraRight;
|
|
DetailCameraHeight = data.DetailCameraHeight;
|
|
DetailCameraAngle = data.DetailCameraAngle;
|
|
Rarity = data.Rarity;
|
|
DefaultAttribute = data.DefaultAttribute;
|
|
AttributeRandomGroupID = data.AttributeRandomGroupID;
|
|
ItemSetID = data.ItemSetID;
|
|
GachaGroupId = data.GachaGroupId;
|
|
Buy_Price_Type = data.Buy_Price_Type;
|
|
Buy_id = data.Buy_id;
|
|
BuyPrice = data.BuyPrice;
|
|
buff_id = data.buff_id;
|
|
ProductLink_ = data.ProductLink_;
|
|
is_CartNBuy_ = data.is_CartNBuy_;
|
|
Buy_Discount_Rate = data.Buy_Discount_Rate;
|
|
PropSmallType = data.PropSmallType;
|
|
UGQAction = data.UGQAction;
|
|
LinkedLand = data.LinkedLand;
|
|
IsUiOnly = data.IsUiOnly;
|
|
BeaconShopGoldFee = data.BeaconShopGoldFee;
|
|
is_BeaconShop = data.is_BeaconShop;
|
|
}
|
|
}
|
|
|
|
public partial class ItemMetaTable
|
|
{
|
|
public readonly IReadOnlyList<ItemMetaData> ItemMetaDataList;
|
|
public ItemMetaTable(ItemMetaTableMutable data)
|
|
{
|
|
if(data.ItemMetaDataList != null)
|
|
ItemMetaDataList = data.ItemMetaDataList.Select(x => new ItemMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|