Files
TEngine/Assets/GameScripts/DotNet/Logic/Config~/GameConfig/item/ItemExchange.cs
ALEXTANG 95e4dd93a8 Update
Update
2023-07-13 19:05:40 +08:00

61 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 GameConfig.item
{
public sealed partial class ItemExchange : Bright.Config.BeanBase
{
public ItemExchange(ByteBuf _buf)
{
Id = _buf.ReadInt();
Num = _buf.ReadInt();
PostInit();
}
public static ItemExchange DeserializeItemExchange(ByteBuf _buf)
{
return new item.ItemExchange(_buf);
}
/// <summary>
/// 道具id
/// </summary>
public int Id { get; private set; }
/// <summary>
/// 道具数量
/// </summary>
public int Num { get; private set; }
public const int __ID__ = 1814660465;
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 + ","
+ "Num:" + Num + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}