67 lines
1.4 KiB
C#
67 lines
1.4 KiB
C#
|
//------------------------------------------------------------------------------
|
||
|
// <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;
|
||
|
|
||
|
|
||
|
|
||
|
namespace Cfg
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// 数据拆分
|
||
|
/// </summary>
|
||
|
public sealed partial class SplitNum : Bright.Config.BeanBase
|
||
|
{
|
||
|
public SplitNum(ByteBuf _buf)
|
||
|
{
|
||
|
Num1 = _buf.ReadInt();
|
||
|
Num2 = _buf.ReadInt();
|
||
|
PostInit();
|
||
|
}
|
||
|
|
||
|
public static SplitNum DeserializeSplitNum(ByteBuf _buf)
|
||
|
{
|
||
|
return new SplitNum(_buf);
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 数1
|
||
|
/// </summary>
|
||
|
public int Num1 { get; private set; }
|
||
|
/// <summary>
|
||
|
/// 数2
|
||
|
/// </summary>
|
||
|
public int Num2 { get; private set; }
|
||
|
|
||
|
public const int __ID__ = -1861980628;
|
||
|
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 "{ "
|
||
|
+ "Num1:" + Num1 + ","
|
||
|
+ "Num2:" + Num2 + ","
|
||
|
+ "}";
|
||
|
}
|
||
|
|
||
|
partial void PostInit();
|
||
|
partial void PostResolve();
|
||
|
}
|
||
|
|
||
|
}
|