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

97 lines
3.9 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
{
public sealed partial class EventPuzzleJourneyRound : Bright.Config.BeanBase
{
public JSONNode json;
public EventPuzzleJourneyRound(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["GridRows"].IsNumber) { throw new SerializationException(); } GridRows = _json["GridRows"]; }
{ if(!_json["GridCols"].IsNumber) { throw new SerializationException(); } GridCols = _json["GridCols"]; }
{ if(!_json["TotalCells"].IsNumber) { throw new SerializationException(); } TotalCells = _json["TotalCells"]; }
{ var __json0 = _json["PlacementCostList"]; if(!__json0.IsArray) { throw new SerializationException(); } PlacementCostList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PlacementCostList.Add(__v0); } }
{ if(!_json["PictureName"].IsString) { throw new SerializationException(); } PictureName = _json["PictureName"]; }
{ if(!_json["AvailablePieceCount"].IsNumber) { throw new SerializationException(); } AvailablePieceCount = _json["AvailablePieceCount"]; }
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
json = _json;
PostInit();
}
public EventPuzzleJourneyRound(int ID, int GridRows, int GridCols, int TotalCells, System.Collections.Generic.List<int> PlacementCostList, string PictureName, int AvailablePieceCount, int Reward )
{
this.ID = ID;
this.GridRows = GridRows;
this.GridCols = GridCols;
this.TotalCells = TotalCells;
this.PlacementCostList = PlacementCostList;
this.PictureName = PictureName;
this.AvailablePieceCount = AvailablePieceCount;
this.Reward = Reward;
PostInit();
}
public static EventPuzzleJourneyRound DeserializeEventPuzzleJourneyRound(JSONNode _json)
{
return new EventPuzzleJourneyRound(_json);
}
public int ID { get; private set; }
public int GridRows { get; private set; }
public int GridCols { get; private set; }
public int TotalCells { get; private set; }
/// <summary>
/// 第n级第k块消耗 = <br/>n +2&#215;轮次 + (k-1) &#215; n
/// </summary>
public System.Collections.Generic.List<int> PlacementCostList { get; private set; }
public string PictureName { get; private set; }
public int AvailablePieceCount { get; private set; }
/// <summary>
/// 对应Drop表主键
/// </summary>
public int Reward { get; private set; }
public const int __ID__ = 2080372006;
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 + ","
+ "GridRows:" + GridRows + ","
+ "GridCols:" + GridCols + ","
+ "TotalCells:" + TotalCells + ","
+ "PlacementCostList:" + Bright.Common.StringUtil.CollectionToString(PlacementCostList) + ","
+ "PictureName:" + PictureName + ","
+ "AvailablePieceCount:" + AvailablePieceCount + ","
+ "Reward:" + Reward + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}