备份CatanBuilding瘦身独立工程
This commit is contained in:
110
Assets/Scripts/Tables/ETNewItem.cs
Normal file
110
Assets/Scripts/Tables/ETNewItem.cs
Normal file
@@ -0,0 +1,110 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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); } }
|
||||
{ var __json0 = _json["AudioReward"]; if(!__json0.IsArray) { throw new SerializationException(); } AudioReward = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } AudioReward.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, System.Collections.Generic.List<string> AudioReward ) : base()
|
||||
{
|
||||
this.NewItemID = NewItemID;
|
||||
this.ExtraDropList = ExtraDropList;
|
||||
this.PerformanceDelay = PerformanceDelay;
|
||||
this.IsDarkness = IsDarkness;
|
||||
this.FxScene = FxScene;
|
||||
this.AudioScene = AudioScene;
|
||||
this.AudioReward = AudioReward;
|
||||
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; }
|
||||
/// <summary>
|
||||
/// 进入结算界面后播放的音效
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<string> AudioReward { 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) + ","
|
||||
+ "AudioReward:" + Bright.Common.StringUtil.CollectionToString(AudioReward) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user