备份CatanBuilding瘦身独立工程
This commit is contained in:
90
Assets/Scripts/Tables/TbFishMutant.cs
Normal file
90
Assets/Scripts/Tables/TbFishMutant.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class TbFishMutant
|
||||
{
|
||||
|
||||
private readonly FishMutant _data;
|
||||
|
||||
public TbFishMutant(JSONNode _json)
|
||||
{
|
||||
if(!_json.IsArray)
|
||||
{
|
||||
throw new SerializationException();
|
||||
}
|
||||
if (_json.Count != 1) throw new SerializationException("table mode=one, but size != 1");
|
||||
_data = FishMutant.DeserializeFishMutant(_json[0]);
|
||||
PostInit();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 变异的材质
|
||||
/// </summary>
|
||||
public string Material => _data.Material;
|
||||
/// <summary>
|
||||
/// 左眼特效
|
||||
/// </summary>
|
||||
public string FxLeftEye => _data.FxLeftEye;
|
||||
/// <summary>
|
||||
/// 右眼特效
|
||||
/// </summary>
|
||||
public string FxRightEye => _data.FxRightEye;
|
||||
/// <summary>
|
||||
/// 每种品质的鱼变异的概率
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MutantProb => _data.MutantProb;
|
||||
/// <summary>
|
||||
/// 钓起的时候的额外奖励<br/>对应Drop表主键<br/>积分,钞票
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> ExtraReward => _data.ExtraReward;
|
||||
/// <summary>
|
||||
/// 钓鱼、游弋时模型放大倍率<br/>额外乘以这个倍率
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> FishingScale => _data.FishingScale;
|
||||
/// <summary>
|
||||
/// 水族箱模型放大倍率<br/>额外乘以这个倍率
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> AquariumScale => _data.AquariumScale;
|
||||
/// <summary>
|
||||
/// 钓鱼时,鱼眼特效的总倍率
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> FxFishingScale => _data.FxFishingScale;
|
||||
/// <summary>
|
||||
/// 水族箱时,鱼眼特效的总倍率<br/>注意需要乘以鱼的成熟缩放
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> FxAquariumScale => _data.FxAquariumScale;
|
||||
/// <summary>
|
||||
/// 钓鱼时,如下属性会以加法方式提高:<br/>力量,速度,警惕,血量,逃跑速度,技能蓄力速度,逃跑触发血量
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<System.Collections.Generic.List<float>> FishingExtraParam => _data.FishingExtraParam;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
_data.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
_data.TranslateText(translator);
|
||||
}
|
||||
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user