63 lines
1.6 KiB
C#
Raw Normal View History

2024-10-16 20:41:40 +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;
namespace GameConfig.TB
{
public sealed partial class TbGRoleAttack : Luban.BeanBase
{
public TbGRoleAttack(ByteBuf _buf)
{
Id = _buf.ReadInt();
AttackWay = _buf.ReadString();
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);AttackArgs = new string[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { string __e0;__e0 = _buf.ReadString(); AttackArgs[__index0] = __e0;}}
}
public static TbGRoleAttack DeserializeTbGRoleAttack(ByteBuf _buf)
{
return new TB.TbGRoleAttack(_buf);
}
/// <summary>
/// 角色Id
/// </summary>
public readonly int Id;
/// <summary>
/// 攻击方式
/// </summary>
public readonly string AttackWay;
/// <summary>
/// 攻击参数
/// </summary>
public readonly string[] AttackArgs;
public const int __ID__ = -180357321;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "attackWay:" + AttackWay + ","
+ "attackArgs:" + Luban.StringUtil.CollectionToString(AttackArgs) + ","
+ "}";
}
}
}