| | |
| | | public List<int> target; |
| | | |
| | | // 技能范围 |
| | | public int tunnel; |
| | | public List<int> tunnel; |
| | | |
| | | // 技能动作 |
| | | public int action; |
| | | |
| | | // 技能类型 |
| | | public int skill_class; |
| | | |
| | | // 技能效果 |
| | | public List<float> effect; |
| | |
| | | _boss_skill.image = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _boss_skill.cool_down = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _boss_skill.target = GameUtils.GetIntList(item[index++]); |
| | | _boss_skill.tunnel = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _boss_skill.tunnel = GameUtils.GetIntList(item[index++]); |
| | | _boss_skill.action = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _boss_skill.skill_class = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _boss_skill.effect = GameUtils.GetFloatList(item[index++]); |
| | | |
| | | return _boss_skill; |
| | |
| | | public List<int> target_type; |
| | | |
| | | // buff效果 |
| | | public List<int> buff_effect; |
| | | public List<float> buff_effect; |
| | | |
| | | // 生命周期 |
| | | public int scope; |
| | |
| | | // 品质 |
| | | public int rare; |
| | | |
| | | // 是否重复出现 |
| | | public int is_repeated; |
| | | |
| | | |
| | | |
| | | public static endless_buff CreateFromJson(JsonData item) |
| | |
| | | _endless_buff.id = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_buff.name = GameUtils.GetString(item[index++].ToString()); |
| | | _endless_buff.target_type = GameUtils.GetIntList(item[index++]); |
| | | _endless_buff.buff_effect = GameUtils.GetIntList(item[index++]); |
| | | _endless_buff.buff_effect = GameUtils.GetFloatList(item[index++]); |
| | | _endless_buff.scope = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_buff.brief = GameUtils.GetString(item[index++].ToString()); |
| | | _endless_buff.down_level = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_buff.upper_level = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_buff.image = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_buff.rare = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_buff.is_repeated = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | |
| | | return _endless_buff; |
| | | } |
| | |
| | | // 资源id |
| | | public int resource; |
| | | |
| | | // 击杀得分 |
| | | public int point; |
| | | |
| | | |
| | | |
| | | public static endless_enemy CreateFromJson(JsonData item) |
| | |
| | | _endless_enemy.speed_rate = float.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_enemy.coin_rate = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_enemy.resource = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_enemy.point = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | |
| | | return _endless_enemy; |
| | | } |
| | |
| | | // 法阵图片 |
| | | public int tunel_bg; |
| | | |
| | | // 过关得分 |
| | | public int bonus; |
| | | |
| | | |
| | | |
| | | public static endless_port CreateFromJson(JsonData item) |
| | |
| | | _endless_port.drop = GameUtils.GetRewardList(item[index++]); |
| | | _endless_port.drop_rate = GameUtils.GetIntList(item[index++]); |
| | | _endless_port.tunel_bg = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_port.bonus = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | |
| | | return _endless_port; |
| | | } |
| | |
| | | // 限购次数 |
| | | public int purchaselimit; |
| | | |
| | | // 图片资源编号 |
| | | public string img; |
| | | |
| | | |
| | | |
| | | public static scoreshop CreateFromJson(JsonData item) |
| | |
| | | _scoreshop.price = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _scoreshop.rewardlimit = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _scoreshop.purchaselimit = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _scoreshop.img = GameUtils.GetString(item[index++].ToString()); |
| | | |
| | | return _scoreshop; |
| | | } |
| | |
| | | // 限购次数 |
| | | public int purchaselimit; |
| | | |
| | | // 商品描述 |
| | | public string info; |
| | | |
| | | |
| | | |
| | | public static donateshop CreateFromJson(JsonData item) |
| | |
| | | _donateshop.reward = GameUtils.GetRewardList(item[index++]); |
| | | _donateshop.price = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _donateshop.purchaselimit = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _donateshop.info = GameUtils.GetString(item[index++].ToString()); |
| | | |
| | | return _donateshop; |
| | | } |