//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
namespace Config.config
{
public sealed partial class SkinCarConfig : Bright.Config.BeanBase
{
public SkinCarConfig(ByteBuf _buf)
{
Id = _buf.ReadString();
Name = _buf.ReadString();
Hp = _buf.ReadInt();
InjuryCoefficient = _buf.ReadFloat();
SizeType = _buf.ReadString();
Pric = _buf.ReadInt();
IsAD = _buf.ReadBool();
ADNumber = _buf.ReadInt();
PostInit();
}
public static SkinCarConfig DeserializeSkinCarConfig(ByteBuf _buf)
{
return new config.SkinCarConfig(_buf);
}
///
/// id
///
public string Id { get; private set; }
///
/// 名字
///
public string Name { get; private set; }
///
/// 血量
///
public int Hp { get; private set; }
///
/// 受伤系数
///
public float InjuryCoefficient { get; private set; }
///
/// 大小类型
///
public string SizeType { get; private set; }
///
/// 价格
///
public int Pric { get; private set; }
///
/// 是否需要看广告
///
public bool IsAD { get; private set; }
///
/// 看广告次数
///
public int ADNumber { get; private set; }
public const int __ID__ = 1665591661;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary _tables)
{
PostResolve();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "Id:" + Id + ","
+ "Name:" + Name + ","
+ "Hp:" + Hp + ","
+ "InjuryCoefficient:" + InjuryCoefficient + ","
+ "SizeType:" + SizeType + ","
+ "Pric:" + Pric + ","
+ "IsAD:" + IsAD + ","
+ "ADNumber:" + ADNumber + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}