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

89 lines
2.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 EventLuckyCardsPrizePool : Bright.Config.BeanBase
{
public JSONNode json;
public EventLuckyCardsPrizePool(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["Item"].IsNumber) { throw new SerializationException(); } Item = _json["Item"]; }
{ if(!_json["Count"].IsNumber) { throw new SerializationException(); } Count = _json["Count"]; }
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
{ if(!_json["AdjustWeight"].IsNumber) { throw new SerializationException(); } AdjustWeight = _json["AdjustWeight"]; }
{ if(!_json["AdjustWeight2"].IsNumber) { throw new SerializationException(); } AdjustWeight2 = _json["AdjustWeight2"]; }
json = _json;
PostInit();
}
public EventLuckyCardsPrizePool(int ID, int Item, int Count, int Weight, int AdjustWeight, int AdjustWeight2 )
{
this.ID = ID;
this.Item = Item;
this.Count = Count;
this.Weight = Weight;
this.AdjustWeight = AdjustWeight;
this.AdjustWeight2 = AdjustWeight2;
PostInit();
}
public static EventLuckyCardsPrizePool DeserializeEventLuckyCardsPrizePool(JSONNode _json)
{
return new EventLuckyCardsPrizePool(_json);
}
public int ID { get; private set; }
public int Item { get; private set; }
public int Count { get; private set; }
public int Weight { get; private set; }
/// <summary>
/// 抽到后权重下降为
/// </summary>
public int AdjustWeight { get; private set; }
/// <summary>
/// 出现在心愿大奖之后权重变为X且不受权重下降的影响
/// </summary>
public int AdjustWeight2 { get; private set; }
public const int __ID__ = 1490329433;
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 + ","
+ "Item:" + Item + ","
+ "Count:" + Count + ","
+ "Weight:" + Weight + ","
+ "AdjustWeight:" + AdjustWeight + ","
+ "AdjustWeight2:" + AdjustWeight2 + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}