Files
MinFt/Client/Assets/Scripts/Tables/ETNewItem.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

104 lines
5.4 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//------------------------------------------------------------------------------
// <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
{
/// <summary>
/// 新的物品参与权重
/// </summary>
public sealed partial class ETNewItem : EventTargetExtraDrop
{
public ETNewItem(JSONNode _json) : base(_json)
{
{ var __json0 = _json["NewItemID"]; if(!__json0.IsArray) { throw new SerializationException(); } NewItemID = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } NewItemID.Add(__v0); } }
{ var __json0 = _json["ExtraDropList"]; if(!__json0.IsArray) { throw new SerializationException(); } ExtraDropList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ExtraDropList.Add(__v0); } }
{ var __json0 = _json["PerformanceDelay"]; if(!__json0.IsArray) { throw new SerializationException(); } PerformanceDelay = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PerformanceDelay.Add(__v0); } }
{ var __json0 = _json["IsDarkness"]; if(!__json0.IsArray) { throw new SerializationException(); } IsDarkness = new System.Collections.Generic.List<bool>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { bool __v0; { if(!__e0.IsBoolean) { throw new SerializationException(); } __v0 = __e0; } IsDarkness.Add(__v0); } }
{ var __json0 = _json["FxScene"]; if(!__json0.IsArray) { throw new SerializationException(); } FxScene = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } FxScene.Add(__v0); } }
{ var __json0 = _json["AudioScene"]; if(!__json0.IsArray) { throw new SerializationException(); } AudioScene = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } AudioScene.Add(__v0); } }
PostInit();
}
public ETNewItem(System.Collections.Generic.List<int> NewItemID, System.Collections.Generic.List<int> ExtraDropList, System.Collections.Generic.List<float> PerformanceDelay, System.Collections.Generic.List<bool> IsDarkness, System.Collections.Generic.List<string> FxScene, System.Collections.Generic.List<string> AudioScene ) : base()
{
this.NewItemID = NewItemID;
this.ExtraDropList = ExtraDropList;
this.PerformanceDelay = PerformanceDelay;
this.IsDarkness = IsDarkness;
this.FxScene = FxScene;
this.AudioScene = AudioScene;
PostInit();
}
public static ETNewItem DeserializeETNewItem(JSONNode _json)
{
return new ETNewItem(_json);
}
/// <summary>
/// 新增参与掉落的物品的编号
/// </summary>
public System.Collections.Generic.List<int> NewItemID { get; private set; }
/// <summary>
/// 参与掉落的物品的额外掉落
/// </summary>
public System.Collections.Generic.List<int> ExtraDropList { get; private set; }
/// <summary>
/// 天气压黑,特效,音效出现的延迟时间
/// </summary>
public System.Collections.Generic.List<float> PerformanceDelay { get; private set; }
/// <summary>
/// 是否天气压黑,钓到这鱼的时候就压黑,无论是否吃鱼
/// </summary>
public System.Collections.Generic.List<bool> IsDarkness { get; private set; }
/// <summary>
/// 钓鱼时场景播放的特效进入pulling阶段时消失
/// </summary>
public System.Collections.Generic.List<string> FxScene { get; private set; }
/// <summary>
/// 钓鱼时场景播放的音效
/// </summary>
public System.Collections.Generic.List<string> AudioScene { get; private set; }
public const int __ID__ = -578550492;
public override int GetTypeId() => __ID__;
public override void Resolve(Dictionary<string, object> _tables)
{
base.Resolve(_tables);
PostResolve();
}
public override void TranslateText(System.Func<string, string, string> translator)
{
base.TranslateText(translator);
}
public override string ToString()
{
return "{ "
+ "NewItemID:" + Bright.Common.StringUtil.CollectionToString(NewItemID) + ","
+ "ExtraDropList:" + Bright.Common.StringUtil.CollectionToString(ExtraDropList) + ","
+ "PerformanceDelay:" + Bright.Common.StringUtil.CollectionToString(PerformanceDelay) + ","
+ "IsDarkness:" + Bright.Common.StringUtil.CollectionToString(IsDarkness) + ","
+ "FxScene:" + Bright.Common.StringUtil.CollectionToString(FxScene) + ","
+ "AudioScene:" + Bright.Common.StringUtil.CollectionToString(AudioScene) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}