AlicizaX/Client/Assets/Scripts/Hotfix/GameProto/Config/Generate/RangeTowNumber.cs

75 lines
1.9 KiB
C#
Raw Normal View History

2025-01-23 19:06:48 +08:00
//------------------------------------------------------------------------------
// <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 Luban;
using AlicizaX.Config;
namespace Game.Config
{
/// <summary>
/// 取两个值的范围:<br/>1,3 就相当于[1,3)
/// </summary>
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);
}
/// <summary>
/// 范围1
/// </summary>
public int Range1 { private set; get; }
/// <summary>
/// 范围2
/// </summary>
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<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "range1:" + Range1 + ","
+ "range2:" + Range2 + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}