//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
using AlicizaX.Config;
namespace Game.Config
{
///
/// 取两个值的范围:
1,3 就相当于[1,3)
///
public sealed partial class RangeTowNumber : Luban.BeanBase
{
public RangeTowNumber(int Range1, int Range2)
{
this.Range1 = Range1;
this.Range2 = Range2;
PostInit();
}
public RangeTowNumber(ByteBuf _buf)
{
Range1 = _buf.ReadInt();
Range2 = _buf.ReadInt();
// Localization Key Begin
// Localization Key End
PostInit();
}
public static RangeTowNumber DeserializeRangeTowNumber(ByteBuf _buf)
{
return new RangeTowNumber(_buf);
}
///
/// 范围1
///
public int Range1 { private set; get; }
///
/// 范围2
///
public int Range2 { private set; get; }
public const int __ID__ = 601676584;
public override int GetTypeId() => __ID__;
public void ResolveRef(TablesComponent tables)
{
PostResolveRef();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "range1:" + Range1 + ","
+ "range2:" + Range2 + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}