Files
MinFt/Client/Assets/Scripts/Tables/EventCubeMeltCollection.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

103 lines
5.1 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
public sealed partial class EventCubeMeltCollection : Bright.Config.BeanBase
{
public JSONNode json;
public EventCubeMeltCollection(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ var __json0 = _json["CollectingItemRequirement"]; if(!__json0.IsArray) { throw new SerializationException(); } CollectingItemRequirement = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } CollectingItemRequirement.Add(__v0); } }
{ var __json0 = _json["CollectingCountRequirement"]; if(!__json0.IsArray) { throw new SerializationException(); } CollectingCountRequirement = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } CollectingCountRequirement.Add(__v0); } }
{ var __json0 = _json["CollectingItemProb"]; if(!__json0.IsArray) { throw new SerializationException(); } CollectingItemProb = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } CollectingItemProb.Add(__v0); } }
{ if(!_json["CollectingIcon"].IsString) { throw new SerializationException(); } CollectingIcon = _json["CollectingIcon"]; }
{ if(!_json["CollectingPrefab"].IsString) { throw new SerializationException(); } CollectingPrefab = _json["CollectingPrefab"]; }
{ if(!_json["CollectingVideo"].IsString) { throw new SerializationException(); } CollectingVideo = _json["CollectingVideo"]; }
{ if(!_json["CollectingReward"].IsNumber) { throw new SerializationException(); } CollectingReward = _json["CollectingReward"]; }
json = _json;
PostInit();
}
public EventCubeMeltCollection(int ID, System.Collections.Generic.List<int> CollectingItemRequirement, System.Collections.Generic.List<int> CollectingCountRequirement, System.Collections.Generic.List<float> CollectingItemProb, string CollectingIcon, string CollectingPrefab, string CollectingVideo, int CollectingReward )
{
this.ID = ID;
this.CollectingItemRequirement = CollectingItemRequirement;
this.CollectingCountRequirement = CollectingCountRequirement;
this.CollectingItemProb = CollectingItemProb;
this.CollectingIcon = CollectingIcon;
this.CollectingPrefab = CollectingPrefab;
this.CollectingVideo = CollectingVideo;
this.CollectingReward = CollectingReward;
PostInit();
}
public static EventCubeMeltCollection DeserializeEventCubeMeltCollection(JSONNode _json)
{
return new EventCubeMeltCollection(_json);
}
public int ID { get; private set; }
/// <summary>
/// 对应EventCubeMeltItem主键
/// </summary>
public System.Collections.Generic.List<int> CollectingItemRequirement { get; private set; }
/// <summary>
/// 和前边一一对应
/// </summary>
public System.Collections.Generic.List<int> CollectingCountRequirement { get; private set; }
/// <summary>
/// 和前边一一对应
/// </summary>
public System.Collections.Generic.List<float> CollectingItemProb { get; private set; }
public string CollectingIcon { get; private set; }
public string CollectingPrefab { get; private set; }
public string CollectingVideo { get; private set; }
/// <summary>
/// 对应Drop表主键
/// </summary>
public int CollectingReward { get; private set; }
public const int __ID__ = -1638687859;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary<string, object> _tables)
{
PostResolve();
}
public void TranslateText(System.Func<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "CollectingItemRequirement:" + Bright.Common.StringUtil.CollectionToString(CollectingItemRequirement) + ","
+ "CollectingCountRequirement:" + Bright.Common.StringUtil.CollectionToString(CollectingCountRequirement) + ","
+ "CollectingItemProb:" + Bright.Common.StringUtil.CollectionToString(CollectingItemProb) + ","
+ "CollectingIcon:" + CollectingIcon + ","
+ "CollectingPrefab:" + CollectingPrefab + ","
+ "CollectingVideo:" + CollectingVideo + ","
+ "CollectingReward:" + CollectingReward + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}