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

72 lines
1.8 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
{
public sealed partial class TimerParams : Luban.BeanBase
{
public TimerParams(int Level, float Number)
{
this.Level = Level;
this.Number = Number;
PostInit();
}
public TimerParams(ByteBuf _buf)
{
Level = _buf.ReadInt();
Number = _buf.ReadFloat();
// Localization Key Begin
// Localization Key End
PostInit();
}
public static TimerParams DeserializeTimerParams(ByteBuf _buf)
{
return new TimerParams(_buf);
}
/// <summary>
/// 难度级别
/// </summary>
public int Level { private set; get; }
/// <summary>
/// 天选值
/// </summary>
public float Number { private set; get; }
public const int __ID__ = 1186614539;
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 "{ "
+ "level:" + Level + ","
+ "number:" + Number + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}