文本更新
parent
90137fdb33
commit
1744af8398
|
|
@ -56,6 +56,7 @@ public sealed partial class DataVehicle : Luban.BeanBase
|
|||
{ if(!_buf["Category"].IsNumber) { throw new SerializationException(); } Category = (VihecleCultivateCfg.VehicleCategory)_buf["Category"].AsInt; }
|
||||
{ if(!_buf["MoveType"].IsNumber) { throw new SerializationException(); } MoveType = (VihecleCultivateCfg.VehicleMoveType)_buf["MoveType"].AsInt; }
|
||||
{ if(!_buf["TypeIcon"].IsString) { throw new SerializationException(); } TypeIcon = _buf["TypeIcon"]; }
|
||||
{ if(!_buf["TypeIconInFight"].IsString) { throw new SerializationException(); } TypeIconInFight = _buf["TypeIconInFight"]; }
|
||||
{ var __json0 = _buf["CounterattackType"]; if(!__json0.IsArray) { throw new SerializationException(); } CounterattackType = new System.Collections.Generic.List<LevelCfg.EGameUnitType>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { LevelCfg.EGameUnitType __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = (LevelCfg.EGameUnitType)__e0.AsInt; } CounterattackType.Add(__v0); } }
|
||||
{ if(!_buf["Job"].IsNumber) { throw new SerializationException(); } Job = (CharacterCfg.Ejob)_buf["Job"].AsInt; }
|
||||
{ if(!_buf["InvestigateRange"].IsNumber) { throw new SerializationException(); } InvestigateRange = _buf["InvestigateRange"]; }
|
||||
|
|
@ -69,7 +70,7 @@ public sealed partial class DataVehicle : Luban.BeanBase
|
|||
{ if(!_buf["LegionPveHpParam"].IsNumber) { throw new SerializationException(); } LegionPveHpParam = _buf["LegionPveHpParam"]; }
|
||||
}
|
||||
|
||||
public DataVehicle(int ID, VihecleCultivateCfg.VehicleType VehicleType, int VehicleLevel, string Name, int AIType, long WeaponId, System.Collections.Generic.List<long> SecondaryWeaponId, int DeadBulletToContainer, float HeadToCenterDistance, float DownHeightInWater, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int PowerScore, System.Collections.Generic.List<FightCfg.ELevelTerrainType> MalaAdjustTerrain, System.Collections.Generic.List<FightCfg.ELevelTerrainType> SupperAdjustTerrain, bool OpenTree, bool HideInTree, VihecleCultivateCfg.UnlockType UnlockType, System.Collections.Generic.List<item.ItemCounts> UnlockCost, int CurrencyShopID, string Unlocks, string Front, int[] DefaultPaintID, string Icon, string UIHeadPath, string PrefabPath, string ReadyAudioId, string IdleLoopAudioId, string WalkStopAudioId, string WalkLoopAudioId, string DeadAudioId, int DeadEffectId, float unit_height, int CrossTag, VihecleCultivateCfg.VehicleCategory Category, VihecleCultivateCfg.VehicleMoveType MoveType, string TypeIcon, System.Collections.Generic.List<LevelCfg.EGameUnitType> CounterattackType, CharacterCfg.Ejob Job, int InvestigateRange, string InvestigateStrength, float InvestigateFrequency, int CoverType, int CoverStrength, float LegionPveParam, float LegionPveAttackParam, float LegionPveDefenceParam, float LegionPveHpParam )
|
||||
public DataVehicle(int ID, VihecleCultivateCfg.VehicleType VehicleType, int VehicleLevel, string Name, int AIType, long WeaponId, System.Collections.Generic.List<long> SecondaryWeaponId, int DeadBulletToContainer, float HeadToCenterDistance, float DownHeightInWater, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int PowerScore, System.Collections.Generic.List<FightCfg.ELevelTerrainType> MalaAdjustTerrain, System.Collections.Generic.List<FightCfg.ELevelTerrainType> SupperAdjustTerrain, bool OpenTree, bool HideInTree, VihecleCultivateCfg.UnlockType UnlockType, System.Collections.Generic.List<item.ItemCounts> UnlockCost, int CurrencyShopID, string Unlocks, string Front, int[] DefaultPaintID, string Icon, string UIHeadPath, string PrefabPath, string ReadyAudioId, string IdleLoopAudioId, string WalkStopAudioId, string WalkLoopAudioId, string DeadAudioId, int DeadEffectId, float unit_height, int CrossTag, VihecleCultivateCfg.VehicleCategory Category, VihecleCultivateCfg.VehicleMoveType MoveType, string TypeIcon, string TypeIconInFight, System.Collections.Generic.List<LevelCfg.EGameUnitType> CounterattackType, CharacterCfg.Ejob Job, int InvestigateRange, string InvestigateStrength, float InvestigateFrequency, int CoverType, int CoverStrength, float LegionPveParam, float LegionPveAttackParam, float LegionPveDefenceParam, float LegionPveHpParam )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.VehicleType = VehicleType;
|
||||
|
|
@ -107,6 +108,7 @@ public sealed partial class DataVehicle : Luban.BeanBase
|
|||
this.Category = Category;
|
||||
this.MoveType = MoveType;
|
||||
this.TypeIcon = TypeIcon;
|
||||
this.TypeIconInFight = TypeIconInFight;
|
||||
this.CounterattackType = CounterattackType;
|
||||
this.Job = Job;
|
||||
this.InvestigateRange = InvestigateRange;
|
||||
|
|
@ -271,6 +273,10 @@ public sealed partial class DataVehicle : Luban.BeanBase
|
|||
/// </summary>
|
||||
public string TypeIcon { get; private set; }
|
||||
/// <summary>
|
||||
/// 局内载具类型图标(“Assets/Art_Out/UI/Texture/Icon/Vehicle/Vehiclebattleicon/”)
|
||||
/// </summary>
|
||||
public string TypeIconInFight { get; private set; }
|
||||
/// <summary>
|
||||
/// 反制单位类型
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<LevelCfg.EGameUnitType> CounterattackType { get; private set; }
|
||||
|
|
@ -362,6 +368,7 @@ public sealed partial class DataVehicle : Luban.BeanBase
|
|||
+ "Category:" + Category + ","
|
||||
+ "MoveType:" + MoveType + ","
|
||||
+ "TypeIcon:" + TypeIcon + ","
|
||||
+ "TypeIconInFight:" + TypeIconInFight + ","
|
||||
+ "CounterattackType:" + Luban.StringUtil.CollectionToString(CounterattackType) + ","
|
||||
+ "Job:" + Job + ","
|
||||
+ "InvestigateRange:" + InvestigateRange + ","
|
||||
|
|
|
|||
|
|
@ -57667,6 +57667,32 @@
|
|||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "buff_desc_105010500",
|
||||
"Name": "buff_desc_105010500",
|
||||
"value": "",
|
||||
"Desc": "",
|
||||
"Notes": "",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"InnerCalculate": false,
|
||||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "buff_desc_105010501",
|
||||
"Name": "buff_desc_105010501",
|
||||
"value": "",
|
||||
"Desc": "",
|
||||
"Notes": "",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"InnerCalculate": false,
|
||||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "buff_desc_30001210",
|
||||
"Name": "buff_desc_30001210",
|
||||
|
|
@ -88594,6 +88620,19 @@
|
|||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "Camp_title_TrainingGround",
|
||||
"Name": "Camp_title_TrainingGround",
|
||||
"value": "",
|
||||
"Desc": "训练场",
|
||||
"Notes": "",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"InnerCalculate": false,
|
||||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "Camp_title_LegionHall",
|
||||
"Name": "Camp_title_LegionHall",
|
||||
|
|
|
|||
|
|
@ -57667,6 +57667,32 @@
|
|||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "buff_desc_105010500",
|
||||
"Name": "buff_desc_105010500",
|
||||
"value": "攻击距离减少",
|
||||
"Desc": "",
|
||||
"Notes": "",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"InnerCalculate": false,
|
||||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "buff_desc_105010501",
|
||||
"Name": "buff_desc_105010501",
|
||||
"value": "单发伤害降低",
|
||||
"Desc": "",
|
||||
"Notes": "",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"InnerCalculate": false,
|
||||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "buff_desc_30001210",
|
||||
"Name": "buff_desc_30001210",
|
||||
|
|
@ -88594,6 +88620,19 @@
|
|||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "Camp_title_TrainingGround",
|
||||
"Name": "Camp_title_TrainingGround",
|
||||
"value": "训练场",
|
||||
"Desc": "训练场",
|
||||
"Notes": "",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"InnerCalculate": false,
|
||||
"OutCalculate": [],
|
||||
"CalculateType": 0
|
||||
},
|
||||
{
|
||||
"Key": "Camp_title_LegionHall",
|
||||
"Name": "Camp_title_LegionHall",
|
||||
|
|
|
|||
Loading…
Reference in New Issue