Files
back_cantanBuilding/Assets/Scripts/Tables/EventOfferChainsChestRewards.cs
2026-05-26 16:15:54 +08:00

82 lines
2.5 KiB
C#
Raw 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 EventOfferChainsChestRewards : Bright.Config.BeanBase
{
public JSONNode json;
public EventOfferChainsChestRewards(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["Item"].IsNumber) { throw new SerializationException(); } Item = _json["Item"]; }
{ if(!_json["Number"].IsNumber) { throw new SerializationException(); } Number = _json["Number"]; }
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
{ if(!_json["LimitConfig"].IsNumber) { throw new SerializationException(); } LimitConfig = _json["LimitConfig"]; }
json = _json;
PostInit();
}
public EventOfferChainsChestRewards(int ID, int Item, int Number, int Weight, int LimitConfig )
{
this.ID = ID;
this.Item = Item;
this.Number = Number;
this.Weight = Weight;
this.LimitConfig = LimitConfig;
PostInit();
}
public static EventOfferChainsChestRewards DeserializeEventOfferChainsChestRewards(JSONNode _json)
{
return new EventOfferChainsChestRewards(_json);
}
public int ID { get; private set; }
public int Item { get; private set; }
public int Number { get; private set; }
public int Weight { get; private set; }
/// <summary>
/// 抽奖次数X时该行的道具权重强制降低为0
/// </summary>
public int LimitConfig { get; private set; }
public const int __ID__ = 2009097079;
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 + ","
+ "Number:" + Number + ","
+ "Weight:" + Weight + ","
+ "LimitConfig:" + LimitConfig + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}